[asterisk-bugs] [Asterisk 0017741]: [patch] sip_poke_noanswer launch ast_devstate_changed everytime even a peer is still unreachable

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Aug 31 15:13:23 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17741 
====================================================================== 
Reported By:                schmidts
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17741
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.2.13
Asterisk Version:           1.6.2.10 
JIRA:                       SWP-1975 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-07-28 16:36 CDT
Last Modified:              2010-08-31 15:13 CDT
====================================================================== 
Summary:                    [patch] sip_poke_noanswer launch
ast_devstate_changed everytime even a peer is still unreachable
Description: 
same in asterisk 1.8.0
I´ve done some debugging about the new heap scheduler and found a problem
which cause asterisk to send a notify package, update astdb and some more
everytime sip_poke_noanswer callback is launched.

my patch checks if the peer was not allready unreachable before starting
the ast_devstate_changed function.


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017699 user get unreachable after some minutes...
====================================================================== 

---------------------------------------------------------------------- 
 (0126503) svnbot (reporter) - 2010-08-31 15:13
 https://issues.asterisk.org/view.php?id=17741#c126503 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 284393

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r284393 | tilghman | 2010-08-31 15:13:22 -0500 (Tue, 31 Aug 2010) | 7
lines

Don't send a devstate change on poke_noanswer if the state did not change.

(closes issue https://issues.asterisk.org/view.php?id=17741)
 Reported by: schmidts
 Patches: 
       chan_sip.c.patch uploaded by schmidts (license 1077)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=284393 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-31 15:13 svnbot         Checkin                                      
2010-08-31 15:13 svnbot         Note Added: 0126503                          
======================================================================




More information about the asterisk-bugs mailing list