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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 11 15:08:55 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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-09-20 05:25 CDT
Last Modified:              2008-12-11 15:08 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.

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

---------------------------------------------------------------------- 
 (0096252) pj (reporter) - 2008-12-11 15:08
 http://bugs.digium.com/view.php?id=13525#c96252 
---------------------------------------------------------------------- 
now, when peer reregisters, asterisk changes line state from InUse to Busy,

imho, this isn't yet correct behaviour
Asterisk SVN-trunk-r163094

[Dec 11 22:04:20]   == Using SIP RTP CoS mark 5
[Dec 11 22:04:20]   == Extension Changed 324[linestates] new state Busy
for Notify User 324p
[Dec 11 22:04:20]   == Extension Changed 324[linestates] new state InUse
for Notify User 324p (queued)
[Dec 11 22:04:20]     -- Executing [959 at testservices:3]
Playback("SIP/324-b7211688", "demo-echotest") in new stack
[Dec 11 22:04:20]   == Extension Changed 324[linestates] new state InUse
for Notify User 324p
[Dec 11 22:04:20]     -- <SIP/324-b7211688> Playing 'demo-echotest.slin'
(language 'cz')
[Dec 11 22:04:40]     -- Executing [959 at testservices:4]
Echo("SIP/324-b7211688", "") in new stack
[Dec 11 22:06:23]   == Extension Changed 324[linestates] new state Busy
for Notify User 324p
[Dec 11 22:06:33]   == Spawn extension (testservices, h, 1) exited
non-zero on 'SIP/324-b7211688'
[Dec 11 22:06:33]   == Extension Changed 324[linestates] new state Idle
for Notify User 324p
 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-11 15:08 pj             Note Added: 0096252                          
======================================================================




More information about the asterisk-bugs mailing list