Koozali.org: home of the SME Server

What conditions define the Trunklines "STATE" icon for IAX2 trunks

Offline PWDasterisk

  • ***
  • 56
  • +0/-0
Version: asterisk-1.4.21.1
Version: sail-2.2.1-673

What conditions define the Trunklines STATE to display either the connected.png or no.png icon for IAX2 Trunklines???

I have an IAX2 trunk which registers and works correctly (used for outgoing calls only) but shows the Red X (no.png) icon under STATE. I have other SIP trunks (used for outgoing calls only) and another IAX2 trunk (tied to an AsteriskNOW box) which do display the connected.png icon.

Trunklines Page:
DID Num  Privil  Cluster     Carrier           Host    Latency   Port   Path   Pre  Open     Closed    STATE
--------  ----   ------   -------------   -----  --------   ----   ----   ---   ----      -----     (icon)
bmc2iax   NO    default   BMC-Telecom             N/A                 IAX2  73    Default  Default    Red X

Trunklines State (click on Red X):
  * Name       : peerbmc2iax
  Secret       : <Set>
  Context      :
  Mailbox      :
  Dynamic      : No
  Callerid     : "" <>
  Expire       : -1
  ACL          : No
  Addr->IP     : 74.63.41.218 Port 4569
  Defaddr->IP  : 0.0.0.0 Port 0
  Username     : 101865_DAn
  Codecs       : 0xe106 (gsm|ulaw|g729)
  Codec Order  : (gsm|g729|ulaw)
  Status       : OK (44 ms)
  Qualify      : every 60000ms when OK, every 10000ms when UNREACHABLE (sample smoothing Off)

iax2 show peers:
peerbmc2iax/101    74.63.41.218    (S)   255.255.255.255  4569       OK (51 ms)

iax2 show registry:
74.63.41.218:4569     N     101865_DAn    70.22.212.16:12126         60  Registered

iax2 set debug:
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: REGAUTH
   Timestamp: 00004ms  SCall: 05297  DCall: 15943 [74.63.41.218:4569]
   AUTHMETHODS     : 3
   CHALLENGE       : 867266223
   USERNAME        : 101865_DAn

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: REGREQ
   Timestamp: 00077ms  SCall: 15943  DCall: 05297 [74.63.41.218:4569]
   USERNAME        : 101865_DAn
   REFRESH         : 60
   MD5 RESULT      : 7b9b9d4c18ce0c8e43377fe3d29c581d

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: REGACK
   Timestamp: 00061ms  SCall: 05297  DCall: 15943 [74.63.41.218:4569]
   USERNAME        : 101865_DAn
   DATE TIME       : 2008-12-07  21:24:10
   REFRESH         : 60
   APPARENT ADDRES : IPV4 70.22.212.16:12559
asterisk*CLI>
    -- Registered IAX2 to '74.63.41.218', who sees us as 70.22.212.16:12559 with no messages waiting


Everything looks and functions correctly but the STATE icon show a Red X which implies that the trunk is not registered ???
if at first you don't succeed then keep on reading until you do succeed...