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

Joseph syscon780 at gmail.com
Sat Jan 7 10:38:19 CST 2012


On 01/07/12 08:50, Tim Nelson wrote:
>----- Original Message -----
>> I'm trying Asterisk 10.0 (as 8.x is not passing PSTN CallerID) and
>> Asterisk 10.0 is no better.
>>
>> I'm still getting:
>> WARNING[12295]: chan_sip.c:14446 check_auth: username mismatch, have
>> <11>, digest has <pstn-1270>
>> NOTICE[12295]: chan_sip.c:22769 handle_request_invite: Failed to
>> authenticate device "KMIEC Z"
>> <sip:7804715665 at 10.0.0.110>;tag=1c1222950155
>>
>> Anybody know what is the magic solution to get a CallerID to work?
>>
>> In addition iax -codec are not compatible with earlier asterisk (1.4);
>> I have selected ulaw / alaw but Asterisk 1.4 wants GSM:
>>
>> chan_iax2.c:9541 socket_process: Rejected connect attempt from
>> 192.168.141.8, requested/capability 0x2/0x703 incompatible with our
>> capability 0xc.
>>
>
>IAX is a signalling protocol, not a codec. And, interop between the various branches of Asterisk is not a problem. Looking at your logs, the problem appears to be you have a codec mismatch between peers, or your authentication details are wrong. Please also check that you have calltokens set the same on both sides (enabled on both or disabled on both).
>
>--Tim

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.

How about incoming CallerID from PSTN, why isn't asterik 1.8 nor 10.0 working correctly?
I'm not getting any caller ID when I tried both versions 1.8 nor 10.0
All I'm getting is a WARNING:
WARNING[12295]: chan_sip.c:14446 check_auth: username mismatch, have <11>, digest has <pstn-1270>
NOTICE[12295]: chan_sip.c:22769 handle_request_invite: Failed to authenticate device "KMIEC Z" <sip:7804715665 at 10.0.0.110>;tag=1c1222950155

Incoming CallerID from PSTN in Asterisk 1.4.39 is working perfectly. 

-- 
Joseph



More information about the asterisk-users mailing list