[asterisk-users] Asterisk 10.0 & 1.4 - iax codec are not compatible

Tony Mountifield tony at softins.co.uk
Sat Jan 7 11:13:53 CST 2012


In article <20120107163819.GC3452 at syscon7.inet>,
Joseph <syscon780 at gmail.com> wrote:
> 
> I'm not sure this is the case: 
> 
> Asterisk-1.4.39
> [home_server]
> type=friend    
> host=dynamic
> secret=123456
> context=extensions
> disallow=all
> allow=ulaw
> allow=alaw
> requirecalltoken=no
> 
> Asterisk-1.8.7
> [clinic_server]
> type=friend
> host=dynamic
> context=internal
> disallow=all
> allow=ulaw
> allow=alaw
> requirecalltoken=no
> 
> Error message on asterisk-1.8.7
> chan_iax2.c:10666 socket_process: Call rejected by 192.168.141.1: Unable to negotiate codec
> 
> Error message on asterisk-1.4.39
> chan_iax2.c:9541 socket_process: Rejected connect attempt from 192.168.141.8,
> requested/capability 0x2/0x703 incompatible with our capability 0xc.
> 

Check also the allow= and disallow= directives in the [general] section
of your iax.conf. It may be that the call is not matching the friend
section you think it is.

Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list