[Home]

Summary:ASTERISK-09394: after a while, iax peers becomes unreachable/reachable
Reporter:pj (pj)Labels:
Date Opened:2007-05-07 06:24:41Date Closed:2007-08-21 15:15:09
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) iax-debug.txt
Description:after about a week of operation, status of iax peers starts changing unreachable/reachable
iax debug attached, maybe something wrong with sequence numbers?
asterisk reports this as INVAL packet and considers peers as unreacheble.

restarting asterisk solves this issue, but it appears again after another ~week.

****** ADDITIONAL INFORMATION ******

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: PONG
  Timestamp: 00015ms  SCall: 00008  DCall: 00022 [193.179.36.134:24201]
Rx-Frame Retry[Yes] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: PONG
  Timestamp: 00015ms  SCall: 00008  DCall: 00022 [193.179.36.134:24201]
Tx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: INVAL
  Timestamp: 00000ms  SCall: 00022  DCall: 00008 [193.179.36.134:24201]
[May  7 13:09:53] NOTICE[8085]: chan_iax2.c:8053 __iax2_poke_noanswer: Peer 'bill-gw' is now UNREACHABLE! Time: 4
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: POKE
  Timestamp: 00005ms  SCall: 00015  DCall: 00000 [193.179.36.134:24201]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: PONG
  Timestamp: 00005ms  SCall: 00004  DCall: 00015 [193.179.36.134:24201]
[May  7 13:09:57] NOTICE[8085]: chan_iax2.c:7251 socket_process: Peer 'bill-gw' is now REACHABLE! Time: 5
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
  Timestamp: 00005ms  SCall: 00015  DCall: 00004 [193.179.36.134:24201]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: POKE
  Timestamp: 00003ms  SCall: 00009  DCall: 00000 [193.179.36.134:24201]
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: PONG
  Timestamp: 00003ms  SCall: 00021  DCall: 00009 [193.179.36.134:24201]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
  Timestamp: 00003ms  SCall: 00009  DCall: 00021 [193.179.36.134:24201]
Comments:By: Phoebe Anderson (phoebe) 2007-05-07 07:40:36

This may also be related to symptoms in 9460

By: pj (pj) 2007-05-07 07:48:18

... or better related to issue 0008291, that I reported before, but I request to close it, because I think, that it was transient error,
but now, seems to be persistent real issue.

By: Joshua C. Colp (jcolp) 2007-06-07 13:59:59

With the recent chan_iax2 modifications this may be fixed. Can you please try the latest from subversion and see how it fairs?

By: pj (pj) 2007-06-09 13:22:22

with SVN-trunk-r66882 and uptime about 5day, issue persist,
I will try latest trunk revision and will report,
please let me time about a week. thanks

By: pj (pj) 2007-06-15 13:16:56

sad to say, even in current SVN-trunk-r69223M (System uptime: 1 day, 6 hours) issue persist, iax debug attached.
very strange is, that I see too many LAGGED and INVAL packets, even if peers are connected over high speed WAN (prec-gw), or even over LAN (bill-gw).
asterisk (from where is this debug and where are peers registered) restart, will solve issue for some time (hours/days).



By: Michel Belleau (malaiwah) 2007-07-13 09:16:43

This may be related to bug ASTERISK-8783, as sometime my peers become "unreachable" even if they are on a gigabit lan and other services between the two servers are still able to communicate.

By: pj (pj) 2007-08-21 12:58:43

in last weeks, with latest trunk, I'm not observing this issue longer. So if anyone, that monitors this, please report. Otherwise, I vote to close this bugreport.
I'm currently testing SVN-trunk-r79999M.

By: Michel Belleau (malaiwah) 2007-08-21 15:06:39

I'm on 1.2.21.1 and the issue is affecting my servers every once in a while.
I will try going to trunk, or at least 1.4.x to see how it goes.

By: Russell Bryant (russell) 2007-08-21 15:15:08

This should be fixed in the latest versions.