[Asterisk-Users] IAX2: Don't know any of 0xf800 formats

Ryan Courtnage ryan-lists at voxbox.ca
Wed Dec 7 14:18:13 MST 2005


Hi all,

I'm finding with Asterisk 1.2.1 (and 1.2.0) that when connecting over an
unauthenticated IAX2 connection (ie: as [guest] in iax.conf), a codec
will always fail to be negotiated (see trace snippet below).

The problem appears to be specific to only unauthenticated IAX2
connections.  Authenticated connections negotiate the codec just fine.

Here's the trace.  Notice that the IAX2 Rx has a codec pref of gsm.  The
Asterisk 1.2.1 server console says "Don't know any of 0xf800
formats" ... looks like a bug to me.


Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
NEW
   Timestamp: 00014ms  SCall: 00006  DCall: 00000 [192.168.1.102:4569]
   VERSION         : 2
   CALLED NUMBER   : 422
   CODEC_PREFS     : (gsm)
   CALLING NUMBER  : 200
   CALLING PRESNTN : 0
   CALLING TYPEOFN : 0
   CALLING TRANSIT : 0
   CALLING NAME    : Ryan Courtnage
   LANGUAGE        : en
   FORMAT          : 2
   CAPABILITY      : 63490
   ADSICPE         : 2
   DATE TIME       : 2005-12-07  13:58:52

Dec  7 14:03:23 WARNING[9780]: channel.c:505 ast_best_codec: Don't know
any of 0xf800 formats
Dec  7 14:03:23 ERROR[9780]: chan_iax2.c:6875 socket_read: No best
format in 0xf800???
Dec  7 14:03:23 NOTICE[9780]: chan_iax2.c:6878 socket_read: Rejected
connect attempt from 192.168.1.102, requested/capability 0x2/0xf802
incompatible with our capability 0xf810.
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REJECT
   Timestamp: 00003ms  SCall: 00001  DCall: 00006 [192.168.1.102:4569]
   CAUSE           : Unable to negotiate codec
   CAUSE CODE      : 58





More information about the asterisk-users mailing list