Pavel Jezek
2006-Nov-04 03:29 UTC
[asterisk-users] iax2 qualify - false "peer unreachable"
I would like to ask, if someone observe also problem with peer qualify problems, my asterisk log is full with UNREACHABLE/REACHABLE messages, even when two asterisks are in LAN environment, please take a look into this debug, I can't find any problem with packet loss, all qualify requests are replied and acknowledged, I will submit bug report, if you will also not find any problems here... PJ BILL-GW: bill*CLI> iax2 show peer ipbx-gw Status : OK (4 ms) Qualify : every 20000ms when OK, every 10000ms when UNREACHABLE (sample smoothing On) [Nov 4 11:06:58] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE [Nov 4 11:06:58] Timestamp: 00019ms SCall: 00002 DCall: 00000 [193.179.bbb.bbb:4569] [Nov 4 11:06:58] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG [Nov 4 11:06:58] Timestamp: 00019ms SCall: 00001 DCall: 00002 [193.179.bbb.bbb:4569] [Nov 4 11:06:58] Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK [Nov 4 11:06:58] Timestamp: 00019ms SCall: 00002 DCall: 00001 [193.179.bbb.bbb:4569] [Nov 4 11:07:01] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE [Nov 4 11:07:01] Timestamp: 00018ms SCall: 00019 DCall: 00000 [193.179.bbb.bbb:4569] [Nov 4 11:07:01] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG [Nov 4 11:07:01] Timestamp: 00018ms SCall: 00003 DCall: 00019 [193.179.bbb.bbb:4569] [Nov 4 11:07:01] Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK [Nov 4 11:07:01] Timestamp: 00018ms SCall: 00019 DCall: 00003 [193.179.bbb.bbb:4569] IPBX-GW: ipbx*CLI> iax2 show peer bill-gw Status : OK (3 ms) Qualify : every 12000ms when OK, every 3000ms when UNREACHABLE (sample smoothing Off) [Nov 4 11:06:58] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE [Nov 4 11:06:58] Timestamp: 00019ms SCall: 00002 DCall: 00000 [193.179.iii.iii:13526] [Nov 4 11:06:58] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG [Nov 4 11:06:58] Timestamp: 00019ms SCall: 00001 DCall: 00002 [193.179.iii.iii:13526] [Nov 4 11:06:58] Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK [Nov 4 11:06:58] Timestamp: 00019ms SCall: 00002 DCall: 00001 [193.179.iii.iii:13526] [Nov 4 11:06:59] NOTICE[9502]: chan_iax2.c:7853 __iax2_poke_noanswer: Peer 'bill-gw' is now UNREACHABLE! Time: 3 [Nov 4 11:07:02] Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: POKE [Nov 4 11:07:02] Timestamp: 00018ms SCall: 00019 DCall: 00000 [193.179.iii.iii:13526] [Nov 4 11:07:02] Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: PONG [Nov 4 11:07:02] Timestamp: 00018ms SCall: 00003 DCall: 00019 [193.179.iii.iii:13526] [Nov 4 11:07:02] NOTICE[9504]: chan_iax2.c:7067 socket_process: Peer 'bill-gw' is now REACHABLE! Time: 3 [Nov 4 11:07:02] Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK [Nov 4 11:07:02] Timestamp: 00018ms SCall: 00019 DCall: 00003 [193.179.iii.iii:13526]