Here is a trace of what we get:
Audio is at 64.34.xxx.xxx port 15802
Adding codec 0x100 (g729) to SDP
Adding codec 0x4 (ulaw) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 77.72.yyy.yyy:5060:
INVITE sip:001416DDDDDDD@sip.voicetrading.com SIP/2.0
Via: SIP/2.0/UDP 64.34.xxx.xxx:5060;branch=z9hG4bK531e632c
From: “416SSSSSSS” sip:416SSSSSSS@64.34.xxx.xxx;tag=as3c371998
To: sip:001416DDDDDDD@sip.voicetrading.com
Contact: sip:416SSSSSSS@64.34.xxx.xxx
Call-ID: 7b96a9452622bb8e7b282c8104ea34a7@64.34.xxx.xxx
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Wed, 16 Feb 2011 03:02:13 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces
Content-Type: application/sdp
Content-Length: 260
v=0
o=root 3015 3015 IN IP4 64.34.xxx.xxx
s=session
c=IN IP4 64.34.xxx.xxx
t=0 0
m=audio 15802 RTP/AVP 18 0 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
-- Called 001416DDDDDDD@voicetrading
<— SIP read from 77.72.yyy.yyy:5060 —>
SIP/2.0 183 Session progress
Via: SIP/2.0/UDP 64.34.xxx.xxx:5060;branch=z9hG4bK531e632c
From: “416SSSSSSS” sip:416SSSSSSS@64.34.xxx.xxx;tag=as3c371998
To: sip:001416DDDDDDD@sip.voicetrading.com;tag=3b0113ac4d540deaa59f8
Contact: sip:001416DDDDDDD@77.72.yyy.yyy:5060
Call-ID: 7b96a9452622bb8e7b282c8104ea34a7@64.34.xxx.xxx
CSeq: 102 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Type: application/sdp
Content-Length: 219
v=0
o=CARRIER 1297825333 1297825333 IN IP4 77.72.aaa.aaa
s=SIP Call
c=IN IP4 77.72.aaa.aaa
t=0 0
m=audio 57900 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=ptime:20
<------------->
— (11 headers 10 lines) —
Found RTP audio format 18
Found RTP audio format 101
Found audio description format G729 for ID 18
Found audio description format telephone-event for ID 101
Capabilities: us - 0x104 (ulaw|g729), peer - audio=0x100 (g729)/video=0x0 (nothing), combined - 0x100 (g729)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 77.72.aaa.aaa:57900
– SIP/voicetrading-00000000 is making progress passing it to IAX2/174.133.195.194:4569-392
… There is some wait here … dial is in progress …
<— SIP read from 77.72.yyy.yyy:5060 —>
SIP/2.0 200 Ok
Via: SIP/2.0/UDP 64.34.xxx.xxx:5060;branch=z9hG4bK531e632c
From: “416SSSSSSS” sip:416SSSSSSS@64.34.xxx.xxx;tag=as3c371998
To: sip:001416DDDDDDD@sip.voicetrading.com;tag=3b0113ac4d540deaa59f8
Contact: sip:001416DDDDDDD@77.72.yyy.yyy:5060
Call-ID: 7b96a9452622bb8e7b282c8104ea34a7@64.34.xxx.xxx
CSeq: 102 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Type: application/sdp
Content-Length: 219
v=0
o=CARRIER 1297825337 1297825337 IN IP4 77.72.aaa.aaa
s=SIP Call
c=IN IP4 77.72.aaa.aaa
t=0 0
m=audio 57900 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=ptime:20
<------------->
— (11 headers 10 lines) —
Found RTP audio format 18
Found RTP audio format 101
Found audio description format G729 for ID 18
Found audio description format telephone-event for ID 101
Capabilities: us - 0x104 (ulaw|g729), peer - audio=0x100 (g729)/video=0x0 (nothing), combined - 0x100 (g729)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x1 (telephone-event), combined - 0x1 (telephone-event)
Peer audio RTP is at port 77.72.aaa.aaa:57900
list_route: hop: sip:001416DDDDDDD@77.72.yyy.yyy:5060
set_destination: Parsing sip:001416DDDDDDD@77.72.yyy.yyy:5060 for address/port to send to
set_destination: set destination to 77.72.yyy.yyy, port 5060
Transmitting (NAT) to 77.72.yyy.yyy:5060:
ACK sip:001416DDDDDDD@77.72.yyy.yyy:5060 SIP/2.0
Via: SIP/2.0/UDP 64.34.xxx.xxx:5060;branch=z9hG4bK0cfa9a40
From: “416SSSSSSS” sip:416SSSSSSS@64.34.xxx.xxx;tag=as3c371998
To: sip:001416DDDDDDD@sip.voicetrading.com;tag=3b0113ac4d540deaa59f8
Contact: sip:416SSSSSSS@64.34.xxx.xxx
Call-ID: 7b96a9452622bb8e7b282c8104ea34a7@64.34.xxx.xxx
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
<— SIP read from 77.72.yyy.yyy:5060 —>
SIP/2.0 183 Session progress
Via: SIP/2.0/UDP 64.34.xxx.xxx:5060;branch=z9hG4bK531e632c
From: “416SSSSSSS” sip:416SSSSSSS@64.34.xxx.xxx;tag=as3c371998
To: sip:001416DDDDDDD@sip.voicetrading.com;tag=3b0113ac4d540deaa59f8
Contact: sip:001416DDDDDDD@77.72.yyy.yyy:5060
Call-ID: 7b96a9452622bb8e7b282c8104ea34a7@64.34.xxx.xxx
CSeq: 102 INVITE
Server: (Very nice Sip Registrar/Proxy Server)
Allow: ACK,BYE,CANCEL,INVITE,REGISTER,OPTIONS,INFO,MESSAGE
Content-Type: application/sdp
Content-Length: 226
v=0
o=CARRIER 1297825337 1297825337 IN IP4 208.167.bbb.bbb
s=SIP Call
c=IN IP4 208.167.bbb.bbb
t=0 0
m=audio 8396 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=ptime:20
<------------->
— (11 headers 10 lines) —
^^^^ at the end, there is no “Found RTP audio format 18” … shows that asterisk has ignored the message.
In the debug outputs, there is a line:
(Provisional) Stopping retransmission (but retaining packet) on '7b96a9452622bb8e7b282c8104ea34a7@64.34.xxx.xxx’ Request 102: Found