[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:47:29 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-07-28 16:36 CDT
Last Modified:              2010-08-31 15:47 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0126509) svnbot (reporter) - 2010-08-31 15:47
 https://issues.asterisk.org/view.php?id=17741#c126509 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 284440

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r284440 | tilghman | 2010-08-31 15:47:28 -0500 (Tue, 31 Aug 2010) | 28
lines

Merged revisions 284415 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r284415 | tilghman | 2010-08-31 15:22:10 -0500 (Tue, 31 Aug 2010) | 21
lines
  
  Merged revisions 284399 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ................
    r284399 | tilghman | 2010-08-31 15:18:32 -0500 (Tue, 31 Aug 2010) | 14
lines
    
    Merged revisions 284393 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.4
    
    ........
      r284393 | tilghman | 2010-08-31 15:13:21 -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=284440 

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




More information about the asterisk-bugs mailing list