[asterisk-users] IAX inbound failing

Adrian Marsh Adrian.Marsh at ubiquisys.com
Thu Nov 25 11:05:52 CST 2010


Hi,

 

I'm testing an upgrade from 1.4.18 to 1.4.37 in a VM prior to putting it
into production.

Ive done this by installing 1.4.18 onto the VM, putting my config files
in place and then installing 1.4.37 over the top (which is what I'd have
to do on production).

I've found a few issues in the config files, but nothing I couldn't
handle until... I hit inbound IAX issues.

 

My Voip provider has already told me that they don't use tokens, so I've
added requirecalltoken=no into iax.conf

 

However when a call is placed and routed to the VM, nothing appears in
the CLI to show the call coming in.

 

If I turn on IAX debug, I can see an initial message, and if I take that
requirecalltoken line out and remake the call, then I get an error from
Asterisk telling me that I need the line in to process the call - so the
call is getting to Asterisk (not a firewall issue then).

 

The call logic was working fine prior to the upgrade, and as I don't get
one line of output at the CLI I'm wondering what is going on!

 

I can see the INVAL in the debug, but I'm not sure what that's actually
meaning - is it authentication??  The username/secret are all valid.

 

My iax.conf entry looks like:

 

[inboundcontext]

type=user

context=incomming_pstn

username=inboundcontext 

secret=xxxxxx

host=dynamic

trunk=yes

requirecalltoken=no

 

Any ideas ?

 

Thanks,

 

Adrian

 

 

IAX Trace:

 

 

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
NEW

   Timestamp: 00007ms  SCall: 00006  DCall: 00000 [212.11.91.201:4569]

   VERSION         : 2

   CALLED NUMBER   : 2095

   CODEC_PREFS     : ()

   CALLING NUMBER  : 01793xxxxxx

   CALLING PRESNTN : 0

   CALLING TYPEOFN : 0

   CALLING TRANSIT : 0

   CALLING NAME    :

   LANGUAGE        : en

   USERNAME        : inboundcontext

   FORMAT          : 8

   CAPABILITY      : 65407

   ADSICPE         : 2

   DATE TIME       : 2010-11-25  17:01:46

 

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
AUTHREQ

   Timestamp: 00011ms  SCall: 00403  DCall: 00006 [212.11.91.201:4569]

   AUTHMETHODS     : 3

   CHALLENGE       : 167512360

   USERNAME        : inboundcontext

 

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL

   Timestamp: 00000ms  SCall: 00006  DCall: 00403 [212.11.91.201:4569]

Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
NEW

   Timestamp: 00007ms  SCall: 00006  DCall: 00000 [212.11.91.201:4569]

   VERSION         : 2

   CALLED NUMBER   : 2095

   CODEC_PREFS     : ()

   CALLING NUMBER  : 01793xxxxxx

   CALLING PRESNTN : 0

   CALLING TYPEOFN : 0

   CALLING TRANSIT : 0

   CALLING NAME    :

   LANGUAGE        : en

   USERNAME        : inboundcontext

   FORMAT          : 8

   CAPABILITY      : 65407

   ADSICPE         : 2

   DATE TIME       : 2010-11-25  17:01:46

 

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
AUTHREQ

   Timestamp: 00007ms  SCall: 09750  DCall: 00006 [212.11.91.201:4569]

   AUTHMETHODS     : 3

   CHALLENGE       : 151094941

   USERNAME        : inboundcontext

 

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL

   Timestamp: 00000ms  SCall: 00006  DCall: 09750 [212.11.91.201:4569]

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 000 Type: IAX     Subclass:
LAGRQ

   Timestamp: 09835ms  SCall: 00006  DCall: 00000 [212.11.91.201:4569]

Rx-Frame Retry[Yes] -- OSeqno: 001 ISeqno: 000 Type: IAX     Subclass:
LAGRQ

   Timestamp: 09835ms  SCall: 00006  DCall: 00000 [212.11.91.201:4569]

Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
NEW

   Timestamp: 00007ms  SCall: 00006  DCall: 00000 [212.11.91.201:4569]

   VERSION         : 2

   CALLED NUMBER   : 2095

   CODEC_PREFS     : ()

   CALLING NUMBER  : 01793xxxxxx

   CALLING PRESNTN : 0

   CALLING TYPEOFN : 0

   CALLING TRANSIT : 0

   CALLING NAME    :

   LANGUAGE        : en

   USERNAME        : inboundcontext

   FORMAT          : 8

   CAPABILITY      : 65407

   ADSICPE         : 2

   DATE TIME       : 2010-11-25  17:01:46

 

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
AUTHREQ

   Timestamp: 00015ms  SCall: 10434  DCall: 00006 [212.11.91.201:4569]

   AUTHMETHODS     : 3

   CHALLENGE       : 102034710

   USERNAME        : inboundcontext

 

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
POKE

   Timestamp: 00017ms  SCall: 02331  DCall: 00000 [82.71.203.26:4569]

 

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL

   Timestamp: 00000ms  SCall: 00006  DCall: 10434 [212.11.91.201:4569]

Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
POKE

   Timestamp: 00017ms  SCall: 02331  DCall: 00000 [82.71.203.26:4569]

 

Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 000 Type: IAX     Subclass:
LAGRQ

   Timestamp: 19834ms  SCall: 00006  DCall: 00000 [212.11.91.201:4569]

Rx-Frame Retry[ No] -- OSeqno: 003 ISeqno: 000 Type: IAX     Subclass:
HANGUP

   Timestamp: 19945ms  SCall: 00006  DCall: 00000 [212.11.91.201:4569]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101125/4d3e8b0a/attachment.htm 


More information about the asterisk-users mailing list