[asterisk-users] Asterisk 11.2.1 / IAX / Problems with incoming calls

Thorsten Göllner tg at ovm-group.com
Tue Mar 12 05:48:28 CDT 2013


Thank - I will give it another try. Maybe the "other endpoint" is not 
compatible with this changes.

Am 08.03.2013 17:36, schrieb Matthew Fredrickson:
> As I recall, there was an IAX2 protocol addition for newer versions of 
> Asterisk a while ago due to a security issue - which can potentially 
> trigger IAX2 interop issues if your config file for chan_iax2 is not 
> setup properly.  You can read more about it here:
>
> http://downloads.asterisk.org/pub/security/IAX2-security.pdf
>
> With regards to the CTOKEN addition.  Hope that helps.
>
> Matthew Fredrickson
> Digium, Inc.
>
>
> On 3/8/13 8:38 AM, Thorsten Göllner wrote:
>> Hi,
>>
>> I have upgraded vom Atserisk 1.6.1.20 to 11.2.1. Most things went fine.
>> But 1 thing will not work: IAX. I used the same configuration but
>> Asterisk will not answer the incoming IAX-Call.
>>
>> When enabling iax debugging I can see the following:
>>
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c: Rx-Frame Retry[ No] --
>> OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    Timestamp: 00004ms
>> SCall: 05992  DCall: 00000 [77.240.54.23:4572]
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    VERSION : 2
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CALLED NUMBER :
>> 02070992875
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CODEC_PREFS :
>> (alaw|ulaw|gsm|speex16|g729|g723)
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CALLING NUMBER : 0049...
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CALLING PRESNTN : 3
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CALLING TYPEOFN : 0
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CALLING TRANSIT : 1
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CALLING NAME : 0049...
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    LANGUAGE : en
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    USERNAME :
>> 02070992875
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    FORMAT : 8
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CAPABILITY : 65535
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    ADSICPE : 2
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    DATE TIME :
>> 2013-03-07  16:14:38
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c: Tx-Frame Retry[ No] --
>> OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: CTOKEN
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    Timestamp: 00004ms
>> SCall: 00001  DCall: 05992 [77.240.54.23:4572]
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:    CALLTOKEN : 51 bytes
>> [Mar  7 17:14:39] VERBOSE[3219] chan_iax2.c:
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c: Rx-Frame Retry[Yes] --
>> OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    Timestamp: 00004ms
>> SCall: 05992  DCall: 00000 [77.240.54.23:4572]
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    VERSION : 2
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CALLED NUMBER :
>> 02070992875
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CODEC_PREFS :
>> (alaw|ulaw|gsm|speex16|g729|g723)
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CALLING NUMBER : 0049...
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CALLING PRESNTN : 3
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CALLING TYPEOFN : 0
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CALLING TRANSIT : 1
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CALLING NAME : 0049...
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    LANGUAGE : en
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    USERNAME :
>> 02070992875
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    FORMAT : 8
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CAPABILITY : 65535
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    ADSICPE : 2
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    DATE TIME :
>> 2013-03-07  16:14:38
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c: Tx-Frame Retry[ No] --
>> OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: CTOKEN
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    Timestamp: 00004ms
>> SCall: 00001  DCall: 05992 [77.240.54.23:4572]
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:    CALLTOKEN : 51 bytes
>> [Mar  7 17:14:41] VERBOSE[3220] chan_iax2.c:
>> [Mar  7 17:14:43] VERBOSE[3221] chan_iax2.c: Rx-Frame Retry[ No] --
>> OSeqno: 001 ISeqno: 000 Type: IAX     Subclass: HANGUP
>> [Mar  7 17:14:43] VERBOSE[3221] chan_iax2.c:    Timestamp: 04006ms
>> SCall: 05992  DCall: 00000 [77.240.54.23:4572]
>> [Mar  7 17:14:43] VERBOSE[3221] chan_iax2.c:    CAUSE CODE : 0
>> [Mar  7 17:14:43] VERBOSE[3221] chan_iax2.c:
>> [Mar  7 17:14:45] VERBOSE[3222] chan_iax2.c: Rx-Frame Retry[Yes] --
>> OSeqno: 001 ISeqno: 000 Type: IAX     Subclass: HANGUP
>> [Mar  7 17:14:45] VERBOSE[3222] chan_iax2.c:    Timestamp: 04006ms
>> SCall: 05992  DCall: 00000 [77.240.54.23:4572]
>> [Mar  7 17:14:45] VERBOSE[3222] chan_iax2.c:    CAUSE CODE : 0
>> [Mar  7 17:14:45] VERBOSE[3222] chan_iax2.c:
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c: Rx-Frame Retry[Yes] --
>> OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: NEW
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    Timestamp: 00004ms
>> SCall: 05992  DCall: 00000 [77.240.54.23:4572]
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    VERSION : 2
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CALLED NUMBER :
>> 02070992875
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CODEC_PREFS :
>> (alaw|ulaw|gsm|speex16|g729|g723)
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CALLING NUMBER : 0049...
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CALLING PRESNTN : 3
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CALLING TYPEOFN : 0
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CALLING TRANSIT : 1
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CALLING NAME : 0049...
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    LANGUAGE : en
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    USERNAME :
>> 02070992875
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    FORMAT : 8
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CAPABILITY : 65535
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    ADSICPE : 2
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    DATE TIME :
>> 2013-03-07  16:14:38
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c: Tx-Frame Retry[ No] --
>> OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: CTOKEN
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    Timestamp: 00004ms
>> SCall: 00001  DCall: 05992 [77.240.54.23:4572]
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:    CALLTOKEN : 51 bytes
>> [Mar  7 17:14:51] VERBOSE[3223] chan_iax2.c:
>>
>> (I erased CallingName and Calling Number with 3 dots here)
>>
>> I set verbose and debug to 100 but no(!) message was given.
>>
>> Has anybody an idea, what is going wrong here?
>>
>> I reconfigured the IAX-Settings on my old 1.6.1.20er and it works again
>> now. The settings are te same. The CalledNumber exists in my dialplan
>> and the "Username" is configured in my iax.conf correctly (as given by
>> my provider).
>>
>> -Thorsten-
>>
>> -- 



More information about the asterisk-users mailing list