[Asterisk-Users] IAXphone -> ip address -> extension number.
Zoltan Szecsei
zoltans at geograph.co.za
Fri Jul 8 13:13:30 MST 2005
Rich Adamson wrote:
>Yes, the above indicates the phones did in fact register "at least
>one time", as indicated by the IP address in the Host colume.
>
>The Status = Unreachable is saying the phones no longer are
>reachable by asterisk. So, either the phone is going to sleep
>on its own, or, for whatever reason asterisk cannot send a
>packet to the phone and get any reasonable response.
>
>Now is the time to do a 'iax2 debug' and reboot the phone. You
>should see the registration occur again, followed by asterisk
>trying to send the phone something (some time later). We need
>to see the copy/paste results of that.
>
>
>
***** I pulled the power out of z2 before starting asterisk (z1
untouched and on)**************
== RTP Allocating from port range 10000 -> 20000
Asterisk Ready.
*CLI> Jul 8 22:08:18 NOTICE[8913]: chan_iax2.c:6198 iax2_poke_noanswer:
Peer 'z2' is now UNREACHABLE!
Jul 8 22:08:18 NOTICE[8913]: chan_iax2.c:6198 iax2_poke_noanswer: Peer
'z1' is now UNREACHABLE!
*CLI> iax2 debug
IAX2 Debugging Enabled
*CLI> Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX
Subclass: POKE
Timestamp: 00003ms SCall: 00003 DCall: 00000 [192.168.0.202:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00001ms SCall: 00004 DCall: 00000 [192.168.0.201:4569]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00003ms SCall: 00003 DCall: 00000 [192.168.0.202:4569]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00001ms SCall: 00004 DCall: 00000 [192.168.0.201:4569]
*********** I put the power back on to z2 *************
*CLI>
*CLI> Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX
Subclass: POKE
Timestamp: 00003ms SCall: 00005 DCall: 00000 [192.168.0.202:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00003ms SCall: 00006 DCall: 00000 [192.168.0.201:4569]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00003ms SCall: 00005 DCall: 00000 [192.168.0.202:4569]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00003ms SCall: 00006 DCall: 00000 [192.168.0.201:4569]
********** z2 finished rebooting *************
*CLI>
*CLI> Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX
Subclass: POKE
Timestamp: 00006ms SCall: 00007 DCall: 00000 [192.168.0.202:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00006ms SCall: 00008 DCall: 00000 [192.168.0.201:4569]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00006ms SCall: 00007 DCall: 00000 [192.168.0.202:4569]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00006ms SCall: 00008 DCall: 00000 [192.168.0.201:4569]
*CLI>
*CLI> iax2 debugTx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type:
IAX Subclass: POKE
Timestamp: 00009ms SCall: 00009 DCall: 00000 [192.168.0.202:4569]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00009ms SCall: 00010 DCall: 00000 [192.168.0.201:4569]
stop nowTx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type:
IAX Subclass: POKE
Timestamp: 00009ms SCall: 00009 DCall: 00000 [192.168.0.202:4569]
Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE
Timestamp: 00009ms SCall: 00010 DCall: 00000 [192.168.0.201:4569]
Beginning asterisk shutdown....
Executing last minute cleanups
== Destroying any remaining musiconhold processes
Asterisk cleanly ending (0).
gl0:/home/zls #
gl0:/home/zls #
********** did a few pings for peace of mind *************
gl0:/home/zls # ping 192.168.0.201
PING 192.168.0.201 (192.168.0.201) 56(84) bytes of data.
64 bytes from 192.168.0.201: icmp_seq=1 ttl=60 time=1.34 ms
64 bytes from 192.168.0.201: icmp_seq=2 ttl=60 time=1.58 ms
--- 192.168.0.201 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.344/1.462/1.580/0.118 ms
gl0:/home/zls # ping 192.168.0.202
PING 192.168.0.202 (192.168.0.202) 56(84) bytes of data.
64 bytes from 192.168.0.202: icmp_seq=1 ttl=60 time=1.26 ms
64 bytes from 192.168.0.202: icmp_seq=2 ttl=60 time=1.42 ms
--- 192.168.0.202 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 1.260/1.342/1.425/0.090 ms
gl0:/home/zls #
More information about the asterisk-users
mailing list