Media Bypass directrtpsetup Asterisk 11

the Media bypass don’t work correctly

The Asterisk(11.8 rc2) IP is Public > 5.145.6.102
Phone 1(Caller) Internal-IP 192.168.200.50 > External-IP 188.63.157.192
Phone 2(Callee) Internal-IP 192.168.200.5 > External-IP 188.63.157.192
The Firewall make a Static Port NAT
Phone 1 Registered Source 192.168.200.50:5080 > 188.63.157.192:5080 Destination(Asterisk) 5.145.6.102:5060
Phone 2 Registered Source 192.168.200.5:5070 > 188.63.157.192:5080 Destination(Asterisk) 5.145.6.102:5060

The Problem is the SDP from Asterisk to the Caller
Phone 1 send SDP with IP 188.63.157.192 Port 10050 to Asterisk
Asterisk Relay the SDP to Phone 2 without modification of the IP
Phone 2 Receive the SDP from Asterisk and Send the ACK and the IP in the SDP is 188.63.157.192 Port 20060
Now all is correctly
Asterisk Relay Received from Phone 2 to Phone 1 but the SDP is now changed by Asterisk and the IP in the SDP is now 5.145.6.102 with port 10008

The RTP Stream works only in one Direction - From Phone 2(188.63.157.192:20061) >to> Phone 1(188.63.157.192:10050)
Phone 1 Send the RTP Stream to 5.145.6.102:10008

The question was is Wrong?
it’s possible to relay the SDP from Phone 2 to Phone 1 with the Original IP and Port?

It is not possible to relay without changing the IP. If you could, firewalls would probably treat it as a spoofing attack.

In principle it is possible to have media bypass Asterisk. However,trying to do direct media between two devices outside your local network is likely to be difficult, and, in any case many other choices can inhibit its use.

You will need to provide the complete SIP exchange, the general section and relevant specific sections from sip.conf, and at least the Dial line from the dialplan, as it is not clear from your description what is actually happening. You also need to indicate the strategies being used by the router to handle SIP and RTP.

Why Spoofing?

the Source IP on the IP Header are the External IP 188… i speak only from the IP in the C Header of the SIP SDP(the Offer for the media Stream)

Bellow is the Call Flow - Now are the STUN Disabled on Phone 1 and 2 - The Phones send now the Private IP in the SDP - The Audio works only from Calle to Caller(Only the Caller hear something) because Asterisk relay the SDP without any modifications to Phone 2.

<— SIP read from UDP:188.63.157.192:5080 —>
ACK sip:1010@voip.volante.ch:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.200.50:5080;branch=z9hG4bKrdTsvF7oaK5SsOmd;rport
Max-Forwards: 70
Call-ID: 4B226652FECF9246794B0573AEF4BC3B31ECC67F
From: “Jose Roig - Mobile” sip:1001@voip.volante.ch:5060;tag=4D4F178A111FF69411053A1B4EDC8BE6
To: sip:1010@voip.volante.ch:5060;tag=as60efaa8a
CSeq: 1 ACK
Content-Length: 0

<------------->
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c: — (8 headers 0 lines) —
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [1010@from-internal:1] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [1010@from-internal:2] [color=#0080FF]Macro/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:1] [color=#0080FF]Macro/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:1] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:2] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:3] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:4] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:5] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:6] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:7] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:8] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:9] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:10] [color=#0080FF]Set[/color]("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]CALLERID(all)=“Jose Roig - Mobile” <1001>[/color]”) in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:11] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:12] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:13] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-ccss:1] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-ccss:2] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-ccss:3] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [monitor_config@sub-ccss:1] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [monitor_config@sub-ccss:2] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (sub-ccss,monitor_config,5)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [monitor_config@sub-ccss:5] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [monitor_config@sub-ccss:6] [color=#0080FF]Return/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-ccss:4] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:1] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:2] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:3] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:4] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:5] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] WARNING[8697][C-00000002] ccss.c: Usage of cc_callback_macro is deprecated. Please use cc_callback_sub instead.
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:6] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:7] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:8] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:9] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] WARNING[8697][C-00000002] ccss.c: Usage of cc_callback_macro is deprecated. Please use cc_callback_sub instead.
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [agent_config@sub-ccss:10] [color=#0080FF]Return[/color]("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]”[/color]") in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-ccss:5] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-ccss:6] [color=#0080FF]Return[/color]("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]”[/color]") in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:14] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:15] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:16] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (macro-user-callerid,s,27)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:27] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:28] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:29] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:30] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-user-callerid:31] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:2] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:3] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:4] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:5] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:6] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:7] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:8] Gosub("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]sub-record-check,s,1(exten,1010,)[/color]”) in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:1] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:2] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (sub-record-check,s,7)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:7] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:8] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (sub-record-check,s,11)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:11] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:12] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:13] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:14] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:15] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:16] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:17] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:18] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:19] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:20] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:21] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@sub-record-check:22] Goto("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]exten,1[/color]”) in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (sub-record-check,exten,1)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [exten@sub-record-check:1] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [exten@sub-record-check:2] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [exten@sub-record-check:3] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (sub-record-check,exten,10)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [exten@sub-record-check:10] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [exten@sub-record-check:11] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [exten@sub-record-check:12] [color=#0080FF]Return[/color]("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]”[/color]") in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:9] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (macro-exten-vm,s,15)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:15] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-exten-vm:16] Macro("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]dial-one,Ttr,1010[/color]”) in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:1] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:2] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:3] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:4] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:5] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (macro-dial-one,s,8)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:8] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:9] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:10] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:11] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (macro-dial-one,s,23)
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:23] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Goto (macro-dial-one,s,24)
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c: Retransmitting #5 (NAT) to 188.63.157.192:5080:
NOTIFY sip:1001@192.168.200.50:5080;rinstance=D0B23A12 SIP/2.0
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK19e77e99;rport
Max-Forwards: 70
Route: sip:1001@192.168.200.50:5080;rinstance=D0B23A12
From: “Unknown” sip:Unknown@5.145.6.102;tag=as773deaa9
To: sip:1001@192.168.200.50:5080;rinstance=D0B23A12;tag=B3B83F47BDE040B5911E7FF98ED4AAA7
Contact: sip:Unknown@5.145.6.102:5060
Call-ID: 2DEF6738FCF92D43A4C467FD764E584C61BB7009
CSeq: 110 NOTIFY
User-Agent: FPBX-2.11.0(11.8.0)
Event: message-summary
Content-Type: application/simple-message-summary
Subscription-State: active
Content-Length: 86

Messages-Waiting: no
Message-Account: sip:*97@5.145.6.102
Voice-Message: 0/0 (0/0)


[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:24] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:25] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:26] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:1] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:2] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:3] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:4] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:5] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:6] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:7] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:8] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:1] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:2] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:3] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:4] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:5] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:6] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:7] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:8] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:9] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:10] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [zap2dahdi@macro-dial-one:11] [color=#0080FF]Return[/color]("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]”[/color]") in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:9] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:10] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:11] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:12] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [dstring@macro-dial-one:13] [color=#0080FF]Return[/color]("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]”[/color]") in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:27] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:28] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:29] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [ctset@macro-dial-one:1] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [ctset@macro-dial-one:2] [color=#0080FF]Return[/color]("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]”[/color]") in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:30] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:31] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:32] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:33] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:34] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:35] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:36] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:37] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:38] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:39] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:40] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:41] [color=#0080FF]Set/color in new stack
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-dial-one:42] Dial("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]SIP/1010,TtrI[/color]”) in new stack
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5080 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK19e77e99;rport=5060;received=5.145.6.102
Contact: sip:1001@192.168.200.50:5080;rinstance=D0B23A12
From: “Unknown” sip:Unknown@5.145.6.102;tag=as773deaa9
Call-ID: 2DEF6738FCF92D43A4C467FD764E584C61BB7009
CSeq: 107 NOTIFY
To: sip:1001@192.168.200.50:5080;rinstance=D0B23A12;tag=B3B83F47BDE040B5911E7FF98ED4AAA7
Allow: OPTIONS, INVITE, ACK, REFER, CANCEL, BYE, NOTIFY
Supported: replaces, path
Content-Length: 0

<------------->
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c: — (10 headers 0 lines) —
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5080 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK19e77e99;rport=5060;received=5.145.6.102
Contact: sip:1001@192.168.200.50:5080;rinstance=D0B23A12
From: “Unknown” sip:Unknown@5.145.6.102;tag=as773deaa9
Call-ID: 2DEF6738FCF92D43A4C467FD764E584C61BB7009
CSeq: 107 NOTIFY
To: sip:1001@192.168.200.50:5080;rinstance=D0B23A12;tag=B3B83F47BDE040B5911E7FF98ED4AAA7
Allow: OPTIONS, INVITE, ACK, REFER, CANCEL, BYE, NOTIFY
Supported: replaces, path
Content-Length: 0

<------------->
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c: — (10 headers 0 lines) —
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] netsock2.c: == Using SIP RTP TOS bits 184
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] netsock2.c: == Using SIP RTP CoS mark 5
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] chan_sip.c: Audio is at 12620
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] chan_sip.c: Adding codec 100004 (alaw) to SDP
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] chan_sip.c: Reliably Transmitting (NAT) to 188.63.157.192:5070:
INVITE sip:1010@192.168.200.5:5070 SIP/2.0
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK704ba635;rport
Max-Forwards: 70
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070
Contact: sip:1001@5.145.6.102:5060
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 102 INVITE
User-Agent: FPBX-2.11.0(11.8.0)
Date: Sun, 02 Mar 2014 14:19:12 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 243

v=0
[color=#FF0000]o=root 1520426534 1520426534 IN IP4 192.168.200.50[/color]
s=Asterisk PBX 11.8.0-rc2
c=IN IP4 192.168.200.50
t=0 0
m=audio 20002 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv


[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] app_dial.c: – Called SIP/1010
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] chan_sip.c:
<— Transmitting (NAT) to 188.63.157.192:5080 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.200.50:5080;branch=z9hG4bKdNStUokbQ7JXACRf;received=188.63.157.192;rport=5080
From: “Jose Roig - Mobile” sip:1001@voip.volante.ch:5060;tag=4D4F178A111FF69411053A1B4EDC8BE6
To: sip:1010@voip.volante.ch:5060;tag=as41be2a28
Call-ID: 4B226652FECF9246794B0573AEF4BC3B31ECC67F
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.8.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:1010@5.145.6.102:5060
Content-Length: 0

<------------>
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] app_dial.c: – Connected line update to SIP/1001-00000002 prevented.
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK704ba635;rport=5060
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070;tag=1114365782
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 102 INVITE
Contact: sip:1010@192.168.200.5:5070
User-Agent: C610A IP/42.075.00.000.000
Content-Length: 0

<------------->
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c: — (9 headers 0 lines) —
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>

<------------->
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK704ba635;rport=5060
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070;tag=1114365782
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 102 INVITE
Contact: sip:1010@192.168.200.5:5070
Allow-Events: message-summary, refer, ua-profile
User-Agent: C610A IP/42.075.00.000.000
Content-Length: 0

<------------->
[2014-03-02 15:19:12] VERBOSE[8634] chan_sip.c: — (10 headers 0 lines) —
[2014-03-02 15:19:12] VERBOSE[8634][C-00000002] chan_sip.c: list_route: hop: sip:1010@192.168.200.5:5070
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] app_dial.c: – SIP/1010-00000003 is ringing
[2014-03-02 15:19:12] VERBOSE[8697][C-00000002] chan_sip.c:
<— Transmitting (NAT) to 188.63.157.192:5080 —>
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.200.50:5080;branch=z9hG4bKdNStUokbQ7JXACRf;received=188.63.157.192;rport=5080
From: “Jose Roig - Mobile” sip:1001@voip.volante.ch:5060;tag=4D4F178A111FF69411053A1B4EDC8BE6
To: sip:1010@voip.volante.ch:5060;tag=as41be2a28
Call-ID: 4B226652FECF9246794B0573AEF4BC3B31ECC67F
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.8.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:1010@5.145.6.102:5060
Content-Length: 0

<------------>
[2014-03-02 15:19:14] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>

<------------->
[2014-03-02 15:19:14] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK704ba635;rport=5060
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070;tag=1114365782
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 102 INVITE
Contact: sip:1010@192.168.200.5:5070
Supported: replaces
Allow-Events: message-summary, refer, ua-profile
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Type: application/sdp
Content-Length: 212

v=0
[color=#FF0000]o=1010 10004 45 IN IP4 192.168.200.5[/color]
s=Mapping
c=IN IP4 192.168.200.5
t=0 0
m=audio 10004 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
a=ptime:20
<------------->
[2014-03-02 15:19:14] VERBOSE[8634] chan_sip.c: — (12 headers 11 lines) —
[2014-03-02 15:19:14] VERBOSE[8634][C-00000002] chan_sip.c: Found RTP audio format 8
[2014-03-02 15:19:14] VERBOSE[8634][C-00000002] chan_sip.c: Found RTP audio format 101
[2014-03-02 15:19:14] VERBOSE[8634][C-00000002] chan_sip.c: Found audio description format PCMA for ID 8
[2014-03-02 15:19:14] VERBOSE[8634][C-00000002] chan_sip.c: Found audio description format telephone-event for ID 101
[2014-03-02 15:19:14] VERBOSE[8634][C-00000002] chan_sip.c: Capabilities: us - (gsm|alaw|g729|g722), peer - audio=(alaw)/video=(nothing)/text=(nothing), combined - (alaw)
[2014-03-02 15:19:14] VERBOSE[8634][C-00000002] chan_sip.c: Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x1 (telephone-event|), combined - 0x1 (telephone-event|)
[2014-03-02 15:19:14] VERBOSE[8634][C-00000002] chan_sip.c: Peer audio RTP is at port 192.168.200.5:10004
[2014-03-02 15:19:15] VERBOSE[8634][C-00000002] chan_sip.c: list_route: hop: sip:1010@192.168.200.5:5070
[2014-03-02 15:19:15] VERBOSE[8634][C-00000002] chan_sip.c: set_destination: Parsing sip:1010@192.168.200.5:5070 for address/port to send to
[2014-03-02 15:19:15] VERBOSE[8634][C-00000002] chan_sip.c: set_destination: set destination to 192.168.200.5:5070
[2014-03-02 15:19:15] VERBOSE[8634][C-00000002] chan_sip.c: Transmitting (NAT) to 188.63.157.192:5070:
ACK sip:1010@192.168.200.5:5070 SIP/2.0
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK22430f5f;rport
Max-Forwards: 70
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070;tag=1114365782
Contact: sip:1001@5.145.6.102:5060
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 102 ACK
User-Agent: FPBX-2.11.0(11.8.0)
Content-Length: 0


[2014-03-02 15:19:15] VERBOSE[8697][C-00000002] app_dial.c: – Connected line update to SIP/1001-00000002 prevented.
[2014-03-02 15:19:15] VERBOSE[8697][C-00000002] app_dial.c: – SIP/1010-00000003 answered SIP/1001-00000002
[2014-03-02 15:19:15] VERBOSE[8697][C-00000002] chan_sip.c: Audio is at 19206
[2014-03-02 15:19:15] VERBOSE[8697][C-00000002] chan_sip.c: Adding codec 100004 (alaw) to SDP
[2014-03-02 15:19:15] VERBOSE[8697][C-00000002] chan_sip.c: Adding non-codec 0x1 (telephone-event) to SDP
[2014-03-02 15:19:15] VERBOSE[8697][C-00000002] chan_sip.c:
<— Reliably Transmitting (NAT) to 188.63.157.192:5080 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.200.50:5080;branch=z9hG4bKdNStUokbQ7JXACRf;received=188.63.157.192;rport=5080
From: “Jose Roig - Mobile” sip:1001@voip.volante.ch:5060;tag=4D4F178A111FF69411053A1B4EDC8BE6
To: sip:1010@voip.volante.ch:5060;tag=as41be2a28
Call-ID: 4B226652FECF9246794B0573AEF4BC3B31ECC67F
CSeq: 2 INVITE
Server: FPBX-2.11.0(11.8.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: sip:1010@5.145.6.102:5060
Content-Type: application/sdp
Content-Length: 729

v=0
[color=#FF0000]o=root 389197478 389197478 IN IP4 5.145.6.102[/color]
s=Asterisk PBX 11.8.0-rc2
[color=#FF0000]c=IN IP4 5.145.6.102[/color]
t=0 0
m=audio 19206 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=ice-ufrag:738f6df90fcb66033addd9cf52a81900
a=ice-pwd:40e444b2302300ba0619d99d77cb26b7
a=candidate:H5910666 1 UDP 2130706431 5.145.6.102 19206 typ host
a=candidate:Hc0a86f07 1 UDP 2130706431 192.168.111.7 19206 typ host
a=candidate:S5910666 1 UDP 1694498815 5.145.6.102 19206 typ srflx
a=candidate:H5910666 2 UDP 2130706430 5.145.6.102 19207 typ host
a=candidate:Hc0a86f07 2 UDP 2130706430 192.168.111.7 19207 typ host
a=candidate:S5910666 2 UDP 1694498814 5.145.6.102 19208 typ srflx
a=sendrecv

<------------>
[2014-03-02 15:19:15] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5080 —>
ACK sip:1010@5.145.6.102:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.200.50:5080;branch=z9hG4bKdRULzfsMgEd132g2;rport
Max-Forwards: 70
To: sip:1010@voip.volante.ch:5060;tag=as41be2a28
From: “Jose Roig - Mobile” sip:1001@voip.volante.ch:5060;tag=4D4F178A111FF69411053A1B4EDC8BE6
Call-ID: 4B226652FECF9246794B0573AEF4BC3B31ECC67F
CSeq: 2 ACK
Content-Length: 0

<------------->
[2014-03-02 15:19:15] VERBOSE[8634] chan_sip.c: — (8 headers 0 lines) —
[2014-03-02 15:19:16] VERBOSE[8634] chan_sip.c: Retransmitting #6 (NAT) to 188.63.157.192:5080:
NOTIFY sip:1001@192.168.200.50:5080;rinstance=D0B23A12 SIP/2.0
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK19e77e99;rport
Max-Forwards: 70
Route: sip:1001@192.168.200.50:5080;rinstance=D0B23A12
From: “Unknown” sip:Unknown@5.145.6.102;tag=as773deaa9
To: sip:1001@192.168.200.50:5080;rinstance=D0B23A12;tag=B3B83F47BDE040B5911E7FF98ED4AAA7
Contact: sip:Unknown@5.145.6.102:5060
Call-ID: 2DEF6738FCF92D43A4C467FD764E584C61BB7009
CSeq: 110 NOTIFY
User-Agent: FPBX-2.11.0(11.8.0)
Event: message-summary
Content-Type: application/simple-message-summary
Subscription-State: active
Content-Length: 86

Messages-Waiting: no
Message-Account: sip:*97@5.145.6.102
Voice-Message: 0/0 (0/0)


[2014-03-02 15:19:16] WARNING[8634] chan_sip.c: Retransmission timeout reached on transmission 2DEF6738FCF92D43A4C467FD764E584C61BB7009 for seqno 110 (Non-critical Request) – See wiki.asterisk.org/wiki/display/ … nsmissions
Packet timed out after 8257ms with no response
[2014-03-02 15:19:17] WARNING[8634] chan_sip.c: peer ‘1011’ HAS NOT USED (OR SWITCHED TO) TLS in favor of ‘UDP’ (but this was allowed in sip.conf)!
[2014-03-02 15:19:17] NOTICE[8634] chan_sip.c: Peer ‘1011’ is now Reachable. (216ms / 2000ms)
[2014-03-02 15:19:19] VERBOSE[8686] tcptls.c: == Problem setting up ssl connection: error:00000000:lib(0):func(0):reason(0)
[2014-03-02 15:19:19] WARNING[8686] tcptls.c: FILE * open failed!
[2014-03-02 15:19:19] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5080 —>
BYE sip:1010@5.145.6.102:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.200.50:5080;branch=z9hG4bKyxKfwhAc74dHNQzV;rport
Contact: sip:1001@192.168.200.50:5080;rinstance=D0B23A12
Max-Forwards: 70
From: “Jose Roig - Mobile” sip:1001@voip.volante.ch:5060;tag=4D4F178A111FF69411053A1B4EDC8BE6
Allow: OPTIONS, INVITE, ACK, REFER, CANCEL, BYE, NOTIFY
Supported: replaces, path
User-Agent: Acrobits Softphone Business/2.5.5
To: sip:1010@voip.volante.ch:5060;tag=as41be2a28
Call-ID: 4B226652FECF9246794B0573AEF4BC3B31ECC67F
CSeq: 3 BYE
Content-Length: 0

<------------->
[2014-03-02 15:19:19] VERBOSE[8634] chan_sip.c: — (12 headers 0 lines) —
[2014-03-02 15:19:19] VERBOSE[8634][C-00000002] chan_sip.c: Sending to 188.63.157.192:5080 (NAT)
[2014-03-02 15:19:19] VERBOSE[8634][C-00000002] chan_sip.c: Scheduling destruction of SIP dialog ‘4B226652FECF9246794B0573AEF4BC3B31ECC67F’ in 12544 ms (Method: BYE)
[2014-03-02 15:19:19] VERBOSE[8634][C-00000002] chan_sip.c:
<— Transmitting (NAT) to 188.63.157.192:5080 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.200.50:5080;branch=z9hG4bKyxKfwhAc74dHNQzV;received=188.63.157.192;rport=5080
From: “Jose Roig - Mobile” sip:1001@voip.volante.ch:5060;tag=4D4F178A111FF69411053A1B4EDC8BE6
To: sip:1010@voip.volante.ch:5060;tag=as41be2a28
Call-ID: 4B226652FECF9246794B0573AEF4BC3B31ECC67F
CSeq: 3 BYE
Server: FPBX-2.11.0(11.8.0)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0

<------------>
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] pbx.c: – Executing [h@macro-dial-one:1] Macro("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]hangupcall,[/color]”) in new stack
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-hangupcall:1] [color=#0080FF]GotoIf/color in new stack
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] pbx.c: – Goto (macro-hangupcall,s,3)
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-hangupcall:3] [color=#0080FF]ExecIf/color in new stack
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] pbx.c: – Executing [s@macro-hangupcall:4] Hangup("[color=#FF80FF]SIP/1001-00000002[/color]", “[color=#FF80FF]”[/color]") in new stack
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/1001-00000002’ in macro ‘hangupcall’
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] pbx.c: == Spawn extension (macro-dial-one, h, 1) exited non-zero on ‘SIP/1001-00000002’
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] chan_sip.c: Scheduling destruction of SIP dialog ‘28674b71014a5699214f21504359f318@5.145.6.102:5060’ in 6400 ms (Method: INVITE)
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] chan_sip.c: set_destination: Parsing sip:1010@192.168.200.5:5070 for address/port to send to
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] chan_sip.c: set_destination: set destination to 192.168.200.5:5070
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] chan_sip.c: Reliably Transmitting (NAT) to 188.63.157.192:5070:
BYE sip:1010@192.168.200.5:5070 SIP/2.0
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK273e8db8;rport
Max-Forwards: 70
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070;tag=1114365782
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 103 BYE
User-Agent: FPBX-2.11.0(11.8.0)
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] app_macro.c: == Spawn extension (macro-dial-one, s, 42) exited non-zero on ‘SIP/1001-00000002’ in macro ‘dial-one’
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] app_macro.c: == Spawn extension (macro-exten-vm, s, 16) exited non-zero on ‘SIP/1001-00000002’ in macro ‘exten-vm’
[2014-03-02 15:19:19] VERBOSE[8697][C-00000002] pbx.c: == Spawn extension (from-internal, 1010, 2) exited non-zero on ‘SIP/1001-00000002’
[2014-03-02 15:19:20] VERBOSE[8634] chan_sip.c: Retransmitting #1 (NAT) to 188.63.157.192:5070:
BYE sip:1010@192.168.200.5:5070 SIP/2.0
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK273e8db8;rport
Max-Forwards: 70
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070;tag=1114365782
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 103 BYE
User-Agent: FPBX-2.11.0(11.8.0)
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16
Content-Length: 0


[2014-03-02 15:19:20] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK273e8db8;rport=5060
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070;tag=1114365782
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 103 BYE
Contact: sip:1010@192.168.200.5:5070
Supported: replaces
User-Agent: C610A IP/42.075.00.000.000
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0

<------------->
[2014-03-02 15:19:20] VERBOSE[8634] chan_sip.c: — (11 headers 0 lines) —
[2014-03-02 15:19:20] VERBOSE[8634] chan_sip.c: Really destroying SIP dialog ‘28674b71014a5699214f21504359f318@5.145.6.102:5060’ Method: INVITE
[2014-03-02 15:19:20] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>
SIP/2.0 200 OK
Via: SIP/2.0/UDP 5.145.6.102:5060;branch=z9hG4bK273e8db8;rport=5060
From: “Jose Roig - Mobile” sip:1001@5.145.6.102;tag=as545e84df
To: sip:1010@192.168.200.5:5070;tag=1114365782
Call-ID: 28674b71014a5699214f21504359f318@5.145.6.102:5060
CSeq: 103 BYE
Contact: sip:1010@192.168.200.5:5070
Supported: replaces
User-Agent: C610A IP/42.075.00.000.000
User-Agent: C610A IP/42.075.00.000.000
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, REFER, SUBSCRIBE, NOTIFY
Content-Length: 0

<------------->
[2014-03-02 15:19:20] VERBOSE[8634] chan_sip.c: — (12 headers 0 lines) —
[2014-03-02 15:19:29] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>

<------------->
[2014-03-02 15:19:30] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5080 —>

<------------->
[2014-03-02 15:19:32] VERBOSE[8634] chan_sip.c: Really destroying SIP dialog ‘4B226652FECF9246794B0573AEF4BC3B31ECC67F’ Method: BYE
[2014-03-02 15:19:33] VERBOSE[8634] chan_sip.c: Really destroying SIP dialog ‘71A898E59FB9E5839320FF6EA22A614EAE4699CC’ Method: REGISTER
[2014-03-02 15:19:38] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5070 —>

<------------->
[2014-03-02 15:19:42] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5080 —>

<------------->
[2014-03-02 15:19:45] VERBOSE[8634] chan_sip.c:
<— SIP read from UDP:188.63.157.192:5080 —>
SUBSCRIBE sip:1001@5.145.6.102:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.200.50:5080;branch=z9hG4bK19bDMoV709YZnuEQ;rport
Contact: sip:1001@192.168.200.50:5080;rinstance=D0B23A12
Max-Forwards: 70
From: “Jose Roig - Mobile” sip:1001@voip.volante.ch:5060;tag=B3B83F47BDE040B5911E7FF98ED4AAA7
Allow: OPTIONS, INVITE, ACK, REFER, CANCEL, BYE, NOTIFY
Supported: replaces, path
User-Agent: Acrobits Softphone Business/2.5.5
To: “Jose Roig - Mobile” sip:1001@voip.volante.ch;tag=as773deaa9
Accept: application/simple-message-summary
Event: message-summary
Expires: 60
Call-ID: 2DEF6738FCF92D43A4C467FD764E584C61BB7009
CSeq: 7 SUBSCRIBE
Content-Length: 0

<------------->


T and t are incompatible with direct media (they require monitoring the media stream for DTMF).  I'm not sure about r and l.

This is a very complex dialplan.   You need to contact the person who wrote it.  If it is the FreePBX dialplan, their support is at [freepbx.org/forums/](http://www.freepbx.org/forums/).

I said spoofing because you seemed to want to relay the actual RTP.

Note that the SDP is regenerated, rather than relayed, even in direct media cases.

T and t are incompatible with direct media (they require monitoring the media stream for DTMF). I’m not sure about r and l.

This is a very complex dialplan. You need to contact the person who wrote it. If it is the FreePBX dialplan, their support is at freepbx.org/forums/.

I said spoofing because you seemed to want to relay the actual RTP.

Note that the SDP is regenerated, rather than relayed, even in direct media cases.

Thanks :smiley:

i ignore that the Options t and T don’t support Media Bypass, the both Options are by Default enabled in FreePBX 2.11
After disabling the both Options, the Media Bypass work perfectly out and inside the Local network.

It’s logical that the “t” options are incompatible with media Bypass if it need to monitore the DTMF Tones to make posible the Transfer with #

[color=#FF0000]Thank you very much again[/color]