[asterisk-bugs] [Asterisk 0014041]: [patch] IAXy runs ok for a while, then goes bonkers

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 20 11:12:55 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14041 
====================================================================== 
Reported By:                jcovert
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14041
Category:                   Channels/chan_iax2
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.21.2 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2008-12-09 09:18 CST
Last Modified:              2009-01-20 11:12 CST
====================================================================== 
Summary:                    [patch] IAXy runs ok for a while, then goes bonkers
Description: 
After up to a month, or as little as a day or two, both the IAXy I
originally purchased, and a replacement given to me by Stephen Burcham in
October (to try to eliminate a specific piece of hardware) become
unreliable.  In some cases it just stops processing calls, in the more
likely case, documented in the attached log, it goes into a
reachable/unreachable loop like this:

[Dec  9 10:01:45] NOTICE[26712]: chan_iax2.c:8832 __iax2_poke_noanswer:
Peer 'x29' is now UNREACHABLE! Time: 5
[Dec  9 10:01:45] NOTICE[26712]: chan_iax2.c:7912 socket_process: Peer
'x29' is now REACHABLE! Time: 10
[Dec  9 10:02:29] NOTICE[26712]: chan_iax2.c:8832 __iax2_poke_noanswer:
Peer 'x29' is now UNREACHABLE! Time: 10
[Dec  9 10:02:29] NOTICE[26712]: chan_iax2.c:7912 socket_process: Peer
'x29' is now REACHABLE! Time: 13

Since it provides service to the phone next to the main place at which
"she who expects phones to work" generally sits, this causes me a major
headache.
====================================================================== 

---------------------------------------------------------------------- 
 (0098202) jcovert (reporter) - 2009-01-20 11:12
 http://bugs.digium.com/view.php?id=14041#c98202 
---------------------------------------------------------------------- 
Here's a successful reprovision, but unfortunately asterisk sends both
templates, the good "3xxxxx" template followed by the bad "1xxxxx"
template, and the IAXy dutifully accepts both, and end up no better off:

Tx-Frame Retry[003] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
PROVISN
   Timestamp: 00012ms  SCall: 06920  DCall: 00000 [192.168.0.17:4569]
   PROVISIONING    : 
       USERNAME        : x29
       PASSWORD        : .........
       BINDPORT        : 4569
       SERVERIP        : 192.168.0.100
       SERVERPORT      : 4569
       FLAGS           : 1 (register)
       FORMAT          : 4
       PROV VERSION    : 3538259848


Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
ACCEPT 
   Timestamp: 00002ms  SCall: 03484  DCall: 06920 [192.168.0.17:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
   
   Timestamp: 00002ms  SCall: 06920  DCall: 03484 [192.168.0.17:4569]
Tx-Frame Retry[003] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
PROVISN
   Timestamp: 00012ms  SCall: 16169  DCall: 00000 [192.168.0.17:4569]
   PROVISIONING    : 
       USERNAME        : x29
       PASSWORD        : ...........
       LANGUAGE        : 
       BINDPORT        : 4569
       SERVERIP        : 192.168.0.100
       SERVERPORT      : 4569
       ALTSERVERIP     : 0.0.0.0
       FLAGS           : 1 (register)
       FORMAT          : 4
       TYPEOFSERVICE   : 0
       PROV VERSION    : 1624236442


Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
ACCEPT 
   Timestamp: 00002ms  SCall: 07441  DCall: 16169 [192.168.0.17:4569]
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: ACK
   
   Timestamp: 00002ms  SCall: 16169  DCall: 07441 [192.168.0.17:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
REGREQ 
   Timestamp: 00002ms  SCall: 08955  DCall: 00000 [192.168.0.17:4569]
   USERNAME        : x29
   REFRESH         : 60
   DEVICE TYPE     : iaxy2
   SERVICE IDENT   : 000000000cc8
   PROVISIONG VER  : 1624236442

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass:
REGACK 
   Timestamp: 00013ms  SCall: 08445  DCall: 08955 [192.168.0.17:4569]
   USERNAME        : x29
   DATE TIME       : 2009-01-20  11:33:48
   REFRESH         : 60
   APPARENT ADDRES : IPV4 192.168.0.17:4569
   CALLING NUMBER  : 29
   CALLING NAME    : John Covert IAXy

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass:
INVAL  
   Timestamp: 00000ms  SCall: 08955  DCall: 08445 [192.168.0.17:4569] 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-20 11:12 jcovert        Note Added: 0098202                          
======================================================================




More information about the asterisk-bugs mailing list