[asterisk-bugs] [Asterisk 0013130]: rtcachefriends=no causing endless loop resulting in unusable asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 22 10:59:07 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13130 
====================================================================== 
Reported By:                brainy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13130
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 132571 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-22-2008 09:13 CDT
Last Modified:              07-22-2008 10:59 CDT
====================================================================== 
Summary:                    rtcachefriends=no causing endless loop resulting in
unusable asterisk
Description: 
I have a problem when using rtcachefriends=no (in sip.conf) with realtime
SIP. After starting Asterisk (latest SVN!) it starts to loop showing me
that a user is reachable. This repeates many many times per second
resulting in a endless-loop.

If i turn on rtcachefriends everything is fine but i dont want asterisk to
cache things since the data is changing sometimes in the database.
====================================================================== 

---------------------------------------------------------------------- 
 brainy - 07-22-08 10:59  
---------------------------------------------------------------------- 
The phone is also flooded with OPTIONS requests .. it seems that the
asterisk is not able to save/keep the results from the last qualify request
when rtcachefriends=no ... so it is sending a qualify over and over again
->

[Jul 22 18:03:44] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (159ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (160ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (161ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (215ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (201ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (203ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (204ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (151ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (162ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (161ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (161ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (161ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (163ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (162ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (162ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (163ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (162ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (162ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (161ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (160ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (161ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (163ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (164ms / 2000ms)
[Jul 22 18:03:45] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (163ms / 2000ms)
[Jul 22 18:03:46] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (190ms / 2000ms)
[Jul 22 18:03:46] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (165ms / 2000ms)
[Jul 22 18:03:46] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (167ms / 2000ms)
[Jul 22 18:03:46] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (169ms / 2000ms)
[Jul 22 18:03:46] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (190ms / 2000ms)
[Jul 22 18:03:46] NOTICE[2669]: chan_sip.c:12701 handle_response_peerpoke:
Peer '12' is now Reachable. (212ms / 2000ms) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-22-08 10:59  brainy         Note Added: 0090563                          
======================================================================




More information about the asterisk-bugs mailing list