[asterisk-users] [SOLVED] Asterisk 10.0 & 1.4 - iax codec are not compatible
Eric Wieling
EWieling at nyigc.com
Sat Jan 7 12:27:33 CST 2012
This means you are allowing guest calls. A VERY bad thing.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joseph
Sent: Saturday, January 07, 2012 1:27 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] [SOLVED] Asterisk 10.0 & 1.4 - iax codec are not compatible
On 01/07/12 17:13, Tony Mountifield wrote:
>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
Thanks Tony, that was it and it solved BOTH problem codec and callerID Changing in Asterisk 1.8.7 [general] section allow=all
Thank again Tony!
My [general] section I had by default:
;allow=all ; same as bandwidth=high
;disallow=g723.1 ; Hm... Proprietary, don't use it...
disallow=lpc10 ; Icky sound quality... Mr. Roboto.
;allow=gsm ; Always allow GSM, it's cool :)
--
Joseph
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list