[asterisk-bugs] [Asterisk 0013525]: hint change state to Idle when peer reregisters

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 12 10:55:12 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13525 
====================================================================== 
Reported By:                pj
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   13525
Category:                   Channels/chan_sip/Subscriptions
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 143737 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-09-20 05:25 CDT
Last Modified:              2008-12-12 10:55 CST
====================================================================== 
Summary:                    hint change state to Idle when peer reregisters
Description: 
- peer make call and asterisk changes extension state to InUse.
- peers sip registration expires after specified interval in sip.conf
- peer refreshes sip registration using sip register
- asterisk changes extension state for that peer from InUse to Idle.  

Users that have subscribed to this extension then see, that extension is
Idle, but it's wrong, because peer have still call and monitored extension
should stay InUse until hangup.

====================================================================== 

---------------------------------------------------------------------- 
 (0096319) svnbot (reporter) - 2008-12-12 10:55
 http://bugs.digium.com/view.php?id=13525#c96319 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 163579

U   trunk/channels/chan_sip.c
U   trunk/main/channel.c

------------------------------------------------------------------------
r163579 | file | 2008-12-12 10:55:10 -0600 (Fri, 12 Dec 2008) | 4 lines

Since chan_sip is callback devicestate driven do not pass in actual
states, pass in unknown so we get asked. Additionally do not pass in an
actual device state value in ast_setstate since the channel may be callback
driven.
(closes issue http://bugs.digium.com/view.php?id=13525)
Reported by: pj

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-12 10:55 svnbot         Checkin                                      
2008-12-12 10:55 svnbot         Note Added: 0096319                          
======================================================================




More information about the asterisk-bugs mailing list