[Asterisk-Users] IAX trunk monitoring

Steve Dolloff sdolloff at noc.dls.net
Thu Nov 13 10:09:21 MST 2003


I have an issue where * tries to route a call over IAX to another server
even if the server is down.  I have included the relevant entries from
my iax.conf, extensions.conf, and some debug output.  If someone could
tell me what I have configured incorrectly, I would appreciate it.  

Thanks,

Stephen

-----------iax.conf on voip2----------
[voip1]
type=friend
username=voip1
host=x.x.x.x (ip address of voip1)
port=5036
mask=255.255.255.255
qualify=yes     ; Make sure this peer is alive
trunk=no
context=IAX

----------iax.conf on voip1-----------
[voip2]
type=friend
username=voip2
host=x.x.x.x (ip address of voip2)
port=5036
mask=255.255.255.255
qualify=yes     ; Make sure this peer is alive
trunk=no
context=IAX

---------extensions.conf on voip1--------
exten => 8475551212,3,Dial(IAX/voip2 at voip1.me.net/${EXTEN},,r)

---------extensions.conf on voip2--------
exten => 8475551212,3,Dial(IAX/voip1 at voip2.me.net/${EXTEN},,r)

voip1*CLI> iax show users
Username         Secret           Authen           Def.Context      A/C
voip2                             md5,plaintext    IAX              No

voip1*CLI> iax show peers
Name/Username    Host                 Mask             Port      Status
voip2/voip2      x.x.x.x   (S)  255.255.255.255  5036      UNREACHABLE

voip2*CLI> iax show users
Username         Secret           Authen           Def.Context      A/C
voip1                             md5,plaintext    IAX              No

voip2*CLI> iax show peers
Name/Username    Host                 Mask             Port      Status
voip1/voip1      x.x.x.x  (S)  255.255.255.255  5036      UNREACHABLE

voip1*CLI> iax debug
Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[-01] -- Seqno: 00  Type: IAX     Subclass: ACK
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: PONG
Rx-Frame Retry[N/A] -- Seqno: 01  Type: IAX     Subclass: ACK
Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: PONG
Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: POKE
voip1*CLI>


voip2*CLI> iax debug
IAX Debugging Enabled
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: POKE
Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[-01] -- Seqno: 00  Type: IAX     Subclass: ACK
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: PONG
Rx-Frame Retry[N/A] -- Seqno: 01  Type: IAX     Subclass: ACK
Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: PONG
Rx-Frame Retry[N/A] -- Seqno: 00  Type: IAX     Subclass: INVAL
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[000] -- Seqno: 00  Type: IAX     Subclass: POKE
Tx-Frame Retry[001] -- Seqno: 00  Type: IAX     Subclass: POKE
voip2*CLI>






More information about the asterisk-users mailing list