Joseph
2012-Jan-07 06:15 UTC
[asterisk-users] Asterisk 10.0 & 1.4 - iax codec are not compatible
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. -- Joseph
Tim Nelson
2012-Jan-07 14:50 UTC
[asterisk-users] Asterisk 10.0 & 1.4 - iax codec are not compatible
----- 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
Eric Wieling
2012-Jan-07 18:20 UTC
[asterisk-users] Asterisk 10.0 & 1.4 - iax codec are not compatible
Chances are the incoming call is not matching anything in iax.conf. turn on iax debug, try a call, post the results. Maybe someone familiar with IAX can help you. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Andres Sent: Saturday, January 07, 2012 12:20 PM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] Asterisk 10.0 & 1.4 - iax codec are not compatible> > 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. > >According to this log, server 192.168.141.8 has codecs defined as 0xc (ulaw and alaw), which matches your config, but the other end has codecs 0x703 (g723, gsm, g729, speex, ilbc) which does not match your config. You should debug and make sure the call setup is choosing the peers you are expecting in your config. -- Technical Support http://www.telesip.net -- _____________________________________________________________________ -- 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