Summary: | ASTERISK-00570: Codec negotiation problem | ||
Reporter: | Thorsten Lockert (tholo) | Labels: | |
Date Opened: | 2003-11-25 15:21:25.000-0600 | Date Closed: | 2011-06-07 14:05:31 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When trying to call from my Cisco 7960 through Asterisk to an 800-number via FWD, codec negotiation is somehow messed up -- see output below. ****** ADDITIONAL INFORMATION ****** Sip read: INVITE sip:918005558355@172.22.15.28;user=phone SIP/2.0 Via: SIP/2.0/UDP 172.22.15.153:5060 From: "Thorsten Lockert" <sip:8003@172.22.15.28>;tag=003094c4326500103c7d9920-38cc37c3 To: <sip:918005558355@172.22.15.28;user=phone> Call-ID: 003094c4-32650c81-1df2c188-3ba08962@172.22.15.153 Date: Tue, 25 Nov 2003 20:44:47 GMT CSeq: 101 INVITE User-Agent: CSCO/4 Contact: <sip:8003@172.22.15.153:5060> Expires: 180 Content-Type: application/sdp Content-Length: 248 Accept: application/sdp v=0 o=Cisco-SIPUA 27087 6960 IN IP4 172.22.15.153 s=SIP Call c=IN IP4 172.22.15.153 t=0 0 m=audio 19972 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 13 headers, 11 lines Using latest request as basis request Sending to 172.22.15.153 : 5060 (non-NAT) Found audio format UNKN Found audio format ALAW Found audio format UNKN Found audio format UNKN Found description format PCMU Found description format PCMA Found description format G729 Found description format telephone-event Capabilities: us - 1550, them - 268/0, combined - 12 Non-codec capabilities: us - 1, them - 1, combined - 1 Reliably Transmitting (no NAT): SIP/2.0 407 Proxy Authentication Required Via: SIP/2.0/UDP 172.22.15.153:5060 From: "Thorsten Lockert" <sip:8003@172.22.15.28>;tag=003094c4326500103c7d9920-38cc37c3 To: <sip:918005558355@172.22.15.28;user=phone>;tag=as5eff3864 Call-ID: 003094c4-32650c81-1df2c188-3ba08962@172.22.15.153 CSeq: 101 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: Proxy-Authenticate: Digest realm="asterisk", nonce="59317bc3" Content-Length: 0 to 172.22.15.153:5060 Sip read: ACK sip:918005558355@172.22.15.28;user=phone SIP/2.0 Via: SIP/2.0/UDP 172.22.15.153:5060 From: "Thorsten Lockert" <sip:8003@172.22.15.28>;tag=003094c4326500103c7d9920-38cc37c3 To: <sip:918005558355@172.22.15.28;user=phone>;tag=as5eff3864 Call-ID: 003094c4-32650c81-1df2c188-3ba08962@172.22.15.153 Date: Tue, 25 Nov 2003 20:44:47 GMT CSeq: 101 ACK Content-Length: 0 8 headers, 0 lines Sip read: INVITE sip:918005558355@172.22.15.28;user=phone SIP/2.0 Via: SIP/2.0/UDP 172.22.15.153:5060 From: "Thorsten Lockert" <sip:8003@172.22.15.28>;tag=003094c4326500103c7d9920-38cc37c3 To: <sip:918005558355@172.22.15.28;user=phone> Call-ID: 003094c4-32650c81-1df2c188-3ba08962@172.22.15.153 Date: Tue, 25 Nov 2003 20:44:47 GMT CSeq: 102 INVITE User-Agent: CSCO/4 Contact: <sip:8003@172.22.15.153:5060> Proxy-Authorization: Digest username="8003",realm="asterisk",uri="sip:172.22.15.28",response="32dbc607ed3aecf59448560101640401",nonce="59317bc3",algorithm=md5 Expires: 180 Content-Type: application/sdp Content-Length: 248 v=0 o=Cisco-SIPUA 27087 6960 IN IP4 172.22.15.153 s=SIP Call c=IN IP4 172.22.15.153 t=0 0 m=audio 19972 RTP/AVP 0 8 18 101 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:18 G729/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 13 headers, 11 lines Using latest request as basis request Sending to 172.22.15.153 : 5060 (non-NAT) Found audio format UNKN Found audio format ALAW Found audio format UNKN Found audio format UNKN Found description format PCMU Found description format PCMA Found description format G729 Found description format telephone-event Capabilities: us - 1550, them - 268/0, combined - 12 Non-codec capabilities: us - 1, them - 1, combined - 1 Looking for 918005558355 in international list_route: hop: <sip:8003@172.22.15.153:5060> Transmitting (no NAT): SIP/2.0 100 Trying Via: SIP/2.0/UDP 172.22.15.153:5060 From: "Thorsten Lockert" <sip:8003@172.22.15.28>;tag=003094c4326500103c7d9920-38cc37c3 To: <sip:918005558355@172.22.15.28;user=phone>;tag=as212b3928 Call-ID: 003094c4-32650c81-1df2c188-3ba08962@172.22.15.153 CSeq: 102 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:918005558355@24.172.18.166> Content-Length: 0 to 172.22.15.153:5060 -- Executing Dial("SIP/8003-8444", "SIP/*18005558355@fwd") in new stack We're at 24.172.18.166 port 17558 Answering with preferred capability 2 Answering with preferred capability 1024 Answering with preferred capability 512 Answering with preferred capability 4 Answering with preferred capability 8 Answering with non-codec capability 1 11 headers, 13 lines Reliably Transmitting: INVITE sip:*18005558355@fwd.pulver.com SIP/2.0 Via: SIP/2.0/UDP 24.172.18.166:5060;branch=z9hG4bK382e5686 From: "Lockert, Thorsten" <sip:8003@24.172.18.166>;tag=as45f633a3 To: <sip:*18005558355@fwd.pulver.com> Contact: <sip:8003@24.172.18.166> Call-ID: 7e14910f422681ab42c9b681354b21e6@24.172.18.166 CSeq: 102 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Content-Type: application/sdp Content-Length: 293 v=0 o=root 18508 18508 IN IP4 24.172.18.166 s=session c=IN IP4 24.172.18.166 t=0 0 m=audio 17558 RTP/AVP 3 97 110 0 8 101 a=rtpmap:3 GSM/8000 a=rtpmap:97 iLBC/8000 a=rtpmap:110 SPEEX/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 (no NAT) to 192.246.69.223:5060 -- Called *18005558355@fwd Retransmitting #1 (no NAT): INVITE sip:*18005558355@fwd.pulver.com SIP/2.0 Via: SIP/2.0/UDP 24.172.18.166:5060;branch=z9hG4bK382e5686 From: "Lockert, Thorsten" <sip:8003@24.172.18.166>;tag=as45f633a3 To: <sip:*18005558355@fwd.pulver.com> Contact: <sip:8003@24.172.18.166> Call-ID: 7e14910f422681ab42c9b681354b21e6@24.172.18.166 CSeq: 102 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Content-Type: application/sdp Content-Length: 293 v=0 o=root 18508 18508 IN IP4 24.172.18.166 s=session c=IN IP4 24.172.18.166 t=0 0 m=audio 17558 RTP/AVP 3 97 110 0 8 101 a=rtpmap:3 GSM/8000 a=rtpmap:97 iLBC/8000 a=rtpmap:110 SPEEX/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 _w�ªÅáy to 192.246.69.223:5060 Sip read: SIP/2.0 100 trying -- your call is important to us Via: SIP/2.0/UDP 24.172.18.166:5060;branch=z9hG4bK382e5686 From: "Lockert, Thorsten" <sip:8003@24.172.18.166>;tag=as45f633a3 To: <sip:*18005558355@fwd.pulver.com> Call-ID: 7e14910f422681ab42c9b681354b21e6@24.172.18.166 CSeq: 102 INVITE Server: Free World Dialup (0.8.11rc3 (i386/linux)) Content-Length: 0 8 headers, 0 lines NOTICE[27151280]: File channel.c, Line 1478 (ast_set_read_format): Unable to find a path from G729A to GSM NOTICE[27151280]: File channel.c, Line 1448 (ast_set_write_format): Unable to find a path from GSM to G729A WARNING[27151280]: File chan_sip.c, Line 1161 (sip_write): Asked to transmit frame type 256, while native formats is 2 (read/write = 2/2) WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame Sip read: SIP/2.0 183 Session Progress Via: SIP/2.0/UDP 24.172.18.166:5060;branch=z9hG4bK382e5686 From: "Lockert, Thorsten" <sip:8003@24.172.18.166>;tag=as45f633a3 To: <sip:*18005558355@fwd.pulver.com>;tag=as291fe2af Call-ID: 7e14910f422681ab42c9b681354b21e6@24.172.18.166 CSeq: 102 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:18005558355@216.234.116.184> Content-Type: application/sdp Content-Length: 268 v=0 o=root 12596 12596 IN IP4 216.234.116.184 s=session c=IN IP4 216.234.116.184 t=0 0 m=audio 10982 RTP/AVP 18 3 0 8 101 a=rtpmap:18 G729/8000 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 11 headers, 12 lines -- SIP/fwd-98e7 is making progress passing it to SIP/8003-8444 WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame WARNING[27151280]: File app_dial.c, Line 282 (wait_for_answer): Unable to forward frame Sip read: SIP/2.0 200 OK Via: SIP/2.0/UDP 24.172.18.166:5060;branch=z9hG4bK382e5686 Record-Route: <sip:*18005558355@192.246.69.223;ftag=as45f633a3;lr=on> From: "Lockert, Thorsten" <sip:8003@24.172.18.166>;tag=as45f633a3 To: <sip:*18005558355@fwd.pulver.com>;tag=as291fe2af Call-ID: 7e14910f422681ab42c9b681354b21e6@24.172.18.166 CSeq: 102 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:18005558355@216.234.116.184> Content-Type: application/sdp Content-Length: 268 v=0 o=root 12596 12596 IN IP4 216.234.116.184 s=session c=IN IP4 216.234.116.184 t=0 0 m=audio 10982 RTP/AVP 18 3 0 8 101 a=rtpmap:18 G729/8000 a=rtpmap:3 GSM/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-16 12 headers, 12 lines Found audio format UNKN Found audio format UNKN Found audio format UNKN Found audio format ALAW Found audio format UNKN Found description format G729 Found description format GSM Found description format PCMU Found description format PCMA Found description format telephone-event Capabilities: us - 1550, them - 270/0, combined - 14 Non-codec capabilities: us - 1, them - 1, combined - 1 list_route: hop: <sip:*18005558355@192.246.69.223;ftag=as45f633a3;lr=on> list_route: hop: <sip:18005558355@216.234.116.184> -- SIP/fwd-98e7 answered SIP/8003-8444 set_destination: Parsing <sip:*18005558355@192.246.69.223;ftag=as45f633a3;lr=on> for address/port to send to set_destination: set destination to 192.246.69.223, port 5060 Transmitting: ACK sip:18005558355@216.234.116.184 SIP/2.0 Via: SIP/2.0/UDP 24.172.18.166:5060;branch=z9hG4bK382e5686 Route: <sip:18005558355@216.234.116.184> From: "Lockert, Thorsten" <sip:8003@24.172.18.166>;tag=as45f633a3 To: <sip:*18005558355@fwd.pulver.com>;tag=as291fe2af Contact: <sip:8003@24.172.18.166> Call-ID: 7e14910f422681ab42c9b681354b21e6@24.172.18.166 CSeq: 102 ACK User-Agent: Asterisk PBX Content-Length: 0 (no NAT) to 192.246.69.223:5060 set_destination: Parsing <sip:*18005558355@192.246.69.223;ftag=as45f633a3;lr=on> for address/port to send to set_destination: set destination to 192.246.69.223, port 5060 Reliably Transmitting: BYE sip:18005558355@216.234.116.184 SIP/2.0 Via: SIP/2.0/UDP 24.172.18.166:5060;branch=z9hG4bK382e5686 Route: <sip:18005558355@216.234.116.184> From: "Lockert, Thorsten" <sip:8003@24.172.18.166>;tag=as45f633a3 To: <sip:*18005558355@fwd.pulver.com>;tag=as291fe2af Contact: <sip:8003@24.172.18.166> Call-ID: 7e14910f422681ab42c9b681354b21e6@24.172.18.166 CSeq: 103 BYE User-Agent: Asterisk PBX Content-Length: 0 (no NAT) to 192.246.69.223:5060 == Spawn extension (international, 918005558355, 1) exited non-zero on 'SIP/8003-8444' Reliably Transmitting (no NAT): SIP/2.0 403 Forbidden Via: SIP/2.0/UDP 172.22.15.153:5060 From: "Thorsten Lockert" <sip:8003@172.22.15.28>;tag=003094c4326500103c7d9920-38cc37c3 To: <sip:918005558355@172.22.15.28;user=phone>;tag=as212b3928 Call-ID: 003094c4-32650c81-1df2c188-3ba08962@172.22.15.153 CSeq: 102 INVITE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:918005558355@24.172.18.166> Content-Length: 0 to 172.22.15.153:5060 Sip read: ACK sip:918005558355@172.22.15.28;user=phone SIP/2.0 Via: SIP/2.0/UDP 172.22.15.153:5060 From: "Thorsten Lockert" <sip:8003@172.22.15.28>;tag=003094c4326500103c7d9920-38cc37c3 To: <sip:918005558355@172.22.15.28;user=phone>;tag=as212b3928 Call-ID: 003094c4-32650c81-1df2c188-3ba08962@172.22.15.153 Date: Tue, 25 Nov 2003 20:44:50 GMT CSeq: 102 ACK Content-Length: 0 8 headers, 0 lines Sip read: SIP/2.0 200 OK Via: SIP/2.0/UDP 24.172.18.166:5060;branch=z9hG4bK382e5686 Record-Route: <sip:18005558355@192.246.69.223;ftag=as45f633a3;lr=on> From: "Lockert, Thorsten" <sip:8003@24.172.18.166>;tag=as45f633a3 To: <sip:*18005558355@fwd.pulver.com>;tag=as291fe2af Call-ID: 7e14910f422681ab42c9b681354b21e6@24.172.18.166 CSeq: 103 BYE User-Agent: Asterisk PBX Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER Contact: <sip:18005558355@216.234.116.184> Content-Length: 0 11 headers, 0 lines sip no debug SIP Debugging Disabled | ||
Comments: | By: Brian West (bkw918) 2003-11-25 17:05:53.000-0600 include your sip.conf entry for both fwd and your phone. By: tan (tan) 2003-11-27 02:29:33.000-0600 We have seen codec negotiation problems as well: endpoint: set to only negotiate g729 as in sip debug extract below: c=IN IP4 81.86.185.223 t=0 0 m=audio 35034 RTP/AVP 18 a=rtpmap:18 G729/8000 a=ptime:20 Asterisk offers it's list: a=rtpmap:8 PCMA/8000 a=rtpmap:0 PCMU/8000 a=rtpmap:18 G729/8000 a=rtpmap:97 iLBC/8000 a=rtpmap:3 GSM/8000 What gets negotiated is alaw, although endpoint hasn't even advertised it. A show channels shows: NativeFormat: 8 WriteFormat: 2 ReadFormat: 8 sip.conf shows: disallow=all allow=alaw allow=ulaw allow=g729 If allow=g729 is placed after disallow=all then g729 is negotiated. There seems to be a problem here. By: Brian West (bkw918) 2003-11-28 10:31:39.000-0600 Its FWD thats doing this. I have the same issue with their 411 number. Its like it wants to speak g729 if its offered no matter the priority. By: Thorsten Lockert (tholo) 2003-11-28 10:38:35.000-0600 But I don't offer G.729A on my system -- I do not have the codec installed, and in my sip.conf I have: [general] tos=lowdelay disallow = all allow = gsm allow = ilbc allow = speex allow = ulaw allow = alaw register => 25685:XXXXX@fwd.pulver.com [fwd] host=fwd.pulver.com secret=XXXXX type=peer By: Olle Johansson (oej) 2003-11-28 13:18:56.000-0600 Free World Dailup is more or less standardized on G.711 according to Jeff Pulver. By: oliver (oliver) 2003-12-01 10:15:06.000-0600 I'm seeing the exact same problem with FWD and have been in contact with one of their techies about it. They're using a Cisco-gateway for their US toll-free access and it's configured to prefer G.729, but according to them, it should allow GSM and G.711 as well. I suggested that they might want to try setting G.711 as the preferred CODEC, but am still waiting for an answer. Here's the relevant part of my config: [fwd.pulver.com] type=friend callerid="Free World Dialup" <> canreinvite=no fromdomain=fwd.pulver.com host=fwd.pulver.com disallow=all disallow=g729 allow=ulaw As you can see, I've even explicitly disabled G.729, although I doubt that would make any difference. I've also tried allowing all but G.729, but it didn't change anything. I'm running the latest CVS-version of Asterisk (CVS-12/01/03-16:53:18) Grtz, Oliver By: Brian West (bkw918) 2003-12-14 11:41:33.000-0600 Can anyone confirm this has or hasn't been fixed? By: oliver (oliver) 2003-12-14 14:33:37.000-0600 I can confirm the problem is still present in current CVS. By: Brian West (bkw918) 2004-01-07 00:07:50.000-0600 Is this a problem with just FWD or does it happen else where because I can't get this to happen. By: jrollyson (jrollyson) 2004-01-14 03:40:57.000-0600 I believe this related to FWD forcing g729 for a short period of time, and is no longer an issue, and never was a bug. By: Thorsten Lockert (tholo) 2004-01-14 12:54:52.000-0600 Sorry -- this is still happening with my 7960 phones and Asterisk. I do see some odd behaviour demending on how I try to limit codec selections in sip.conf, too... If I only allow ulaw & alaw to FWD, I get an "unable to transcode G729A to ULAW" message (it appears that G729A gets negotiated on the 7960 end of things!!), if I also allow GSM or ILBC on the FWD end (!) it works, but with some warnings about frame types. I do get audio working, however(!) Here is debug output when only uLaw & aLaw is enabled for FWD: -- Executing Dial("SIP/8000-e1c9", "SIP/*18005558355@fwd") in new stack -- Called *18005558355@fwd NOTICE[213006]: File channel.c, Line 1478 (ast_set_read_format): Unable to find a path from G729A to ULAW NOTICE[213006]: File channel.c, Line 1448 (ast_set_write_format): Unable to find a path from ULAW to G729A WARNING[213006]: File chan_sip.c, Line 1182 (sip_write): Asked to transmit frame type 256, while native formats is 4 (read/write = 4/4) WARNING[213006]: File app_dial.c, Line 279 (wait_for_answer): Unable to forward frame WARNING[213006]: File app_dial.c, Line 279 (wait_for_answer): Unable to forward frame -- SIP/fwd-1ba3 is making progress passing it to SIP/8000-e1c9 WARNING[213006]: File app_dial.c, Line 279 (wait_for_answer): Unable to forward frame WARNING[213006]: File app_dial.c, Line 279 (wait_for_answer): Unable to forward frame WARNING[213006]: File app_dial.c, Line 279 (wait_for_answer): Unable to forward frame When I enable iLBC and GSM, the output looks like: -- Executing Dial("SIP/8000-e0ba", "SIP/*18005558355@fwd") in new stack -- Called *18005558355@fwd NOTICE[213006]: File channel.c, Line 1478 (ast_set_read_format): Unable to find a path from G729A to ULAW NOTICE[213006]: File channel.c, Line 1448 (ast_set_write_format): Unable to find a path from ILBC to G729A WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? -- SIP/fwd-b834 is making progress passing it to SIP/8000-e0ba WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File chan_sip.c, Line 1182 (sip_write): Asked to transmit frame type 1024, while native formats is 256 (read/write = 4/1024) WARNING[213006]: File app_dial.c, Line 317 (wait_for_answer): Unable to forward voice == No one is available to answer at this time -- Executing Dial("SIP/8000-e0ba", "SIP/18005558355@sipphone") in new stack -- Called 18005558355@sipphone NOTICE[213006]: File channel.c, Line 1478 (ast_set_read_format): Unable to find a path from G729A to ULAW NOTICE[213006]: File channel.c, Line 1448 (ast_set_write_format): Unable to find a path from ILBC to G729A WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File codec_ilbc.c, Line 141 (ilbctolin_framein): Huh? An ilbc frame that isn't a multiple of 50 bytes long from RTP (20)? WARNING[213006]: File chan_sip.c, Line 1182 (sip_write): Asked to transmit frame type 1024, while native formats is 256 (read/write = 4/1024) WARNING[213006]: File app_dial.c, Line 317 (wait_for_answer): Unable to forward voice == No one is available to answer at this time -- Executing Dial("SIP/8000-e0ba", "IAX2/tholo:softmac@iaxtel.com/18005558355@iaxtel") in new stack -- Called tholo:softmac@iaxtel.com/18005558355@iaxtel -- Call accepted by 69.73.19.178 (format GSM) -- Format for call is GSM -- IAX2[69.73.19.178:4569]/3 stopped sounds -- IAX2[69.73.19.178:4569]/3 stopped sounds -- IAX2[69.73.19.178:4569]/3 answered SIP/8000-e0ba -- Hungup 'IAX2[69.73.19.178:4569]/3' The configuration for the 7960 has, in all instances, this: [8000] canreinvite=no host=dynamic secret=none-of-your-business type=user disallow=all allow=ulaw allow=alaw FWD has this: [fwd] type=peer host=fwd.pulver.com secret=none-of-your-business username=my-fwd-number disallow=all allow=ulaw allow=alaw allow=gsm ; Commented out for the first log above allow=ilbc ; Commented out for the first log above By: Brian West (bkw918) 2004-01-15 16:26:28.000-0600 set the preferred code on the 7960 to ulaw or alaw and it will stop doing this. What firware are you running on the 7960. By: skornn (skornn) 2004-01-19 08:49:04.000-0600 I also have the same issue, using x-pro software. Using allow=g729 before other codecs in sip.conf allows it to work, but when checking voicemail or echo test * doesn't work. * warns it is unable to forward frame and cannot find path to codecs. By: zoa (zoa) 2004-02-25 06:28:22.000-0600 is this still a problem ? By: Mark Spencer (markster) 2004-03-19 03:47:27.000-0600 No activity |