[Home]

Summary:ASTERISK-17481: Unable to negotiate codec
Reporter:B. Davis (just4fun07)Labels:
Date Opened:2011-02-25 20:17:55.000-0600Date Closed:2011-03-01 04:21:25.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:1.8.2 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When attempting to dial 500 'demo' system is unable to make connection to digium server. reports Unable to negotiate codec.

IP Phone is using g722, but same issue with using ulaw

this is a clean install and default build of 1.8.2.4

****** ADDITIONAL INFORMATION ******

http://pastebin.com/J3tt4NMk
Comments:By: B. Davis (just4fun07) 2011-02-26 01:56:57.000-0600

Just confirmed this with a clean build, Asterisk 1.8.2.4,
compiled and accepted defaults through out.
created sip account
[test]
type=friend
host=dynamic
secret=password
nat=no

sip reload

from softphone registered,
dial 500 and hear local audio prompt
connecting to digium server get,

   -- Executing [500@default:2] Dial("SIP/test-00000000", "IAX2/guest@pbx.digium.com/s@default") in new stack
   -- Called guest@pbx.digium.com/s@default
[Feb 25 23:50:13] WARNING[18151]: chan_iax2.c:10655 socket_process: Call rejected by 216.207.245.8: Unable to negotiate codec
   -- Hungup 'IAX2/216.207.245.8:4569-399'
 == Everyone is busy/congested at this time (1:0/0/1)
   -- Executing [500@default:3] Playback("SIP/test-00000000", "demo-nogo") in new stack
   -- <SIP/test-00000000> Playing 'demo-nogo.gsm' (language 'en')

Did the same thing with a svn copy and it works fine. Something with the iax2 driver I think is messed up

By: Leif Madsen (lmadsen) 2011-02-28 13:18:25.000-0600

If this is working fine in the latest SVN checkout from the branch directly, then this is already resolved and will be part of a future. Asterisk 1.8.3 and 1.8.4-rc2 were released today.

By: Alec Davis (alecdavis) 2011-03-01 04:21:25.000-0600

This is a known incompatiblity between any 1.8.x version before 1.8.3 against a 1.8.3 and above server.

refer ASTERISK-17408