[asterisk-bugs] [Asterisk 0011990]: Callers on Hold in SLA that hang up do not change status in SLA

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Feb 14 20:08:56 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11990 
====================================================================== 
Reported By:                anakaoka
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   11990
Category:                   Applications/SLA
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.17 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-14-2008 00:16 CST
Last Modified:              02-14-2008 20:08 CST
====================================================================== 
Summary:                    Callers on Hold in SLA that hang up do not change
status in SLA
Description: 
If a caller hangs up while on hold in the SLA - the status does not change
, thus the phones think the call is still on hold. The only way to get rid
of it, is for another call to come in or for a phone to check the SLA and
hangup.

 Extension Changed station1_line1[sla_stations] new state Hold for Notify
User 1000
 Extension Changed station2_line1[sla_stations] new state Hold for Notify
User 1001
 Extension Changed station3_line1[sla_stations] new state Hold for Notify
User 1002 

Caller hangs up...

 Extension Changed station1_line1[sla_stations] new state Hold for Notify
User 1000
 Extension Changed station2_line1[sla_stations] new state Hold for Notify
User 1001
 Extension Changed station3_line1[sla_stations] new state Hold for Notify
User 1002 
====================================================================== 

---------------------------------------------------------------------- 
 anakaoka - 02-14-08 20:08  
---------------------------------------------------------------------- 
demo*CLI> sip show subscriptions 
Peer             User        Call ID      Extension        Last state    
Type            Mailbox   
10.5.0.174       1001        11f304e6-a5  station2_line4@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        79fb42a7-30  station2_line3@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        154bb010-f2  station2_line2@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        d9db7b61-8f  station2_line1@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        fa193245-2d  station3_line4@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        18260c30-72  station3_line3@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        77da48e7-b2  station3_line2@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        355ac1a-1d5  station3_line1@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        8337358d-9f  station1_line4@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        3b1f2ba0-51  station1_line3@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        617c81ab-b7  station1_line2@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        ad4e3e6e-a1  station1_line1@  Idle          
xpidf+xml       <none>    
12 active SIP subscriptions
    -- Executing [3562908 at line1:1] SLATrunk("SIP/9999-08668ee0", "line1")
in new stack
    -- Created MeetMe conference 1023 for conference 'SLA_line1'
    -- Called 1000
    -- Called 1001
    -- Called 1002
 Extension Changed station1_line1[sla_stations] new state Ringing for
Notify User 1000 
 Extension Changed station2_line1[sla_stations] new state Ringing for
Notify User 1001 
 Extension Changed station2_line1[sla_stations] new state Ringing for
Notify User 1001 
 Extension Changed station3_line1[sla_stations] new state Ringing for
Notify User 1002 
 Extension Changed station3_line1[sla_stations] new state Ringing for
Notify User 1002 
    -- SIP/1000-08654e10 is ringing
    -- SIP/1002-0865cd00 is ringing
    -- SIP/1001-08658d88 is ringing
    -- SIP/1002-0865cd00 answered
 Extension Changed station1_line1[sla_stations] new state InUse for Notify
User 1000 
 Extension Changed station2_line1[sla_stations] new state InUse for Notify
User 1001 
 Extension Changed station2_line1[sla_stations] new state InUse for Notify
User 1001 
 Extension Changed station3_line1[sla_stations] new state InUse for Notify
User 1002 
 Extension Changed station3_line1[sla_stations] new state InUse for Notify
User 1002 
demo*CLI> sip show subscriptions
Peer             User        Call ID      Extension        Last state    
Type            Mailbox   
10.5.0.174       1001        11f304e6-a5  station2_line4@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        79fb42a7-30  station2_line3@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        154bb010-f2  station2_line2@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        d9db7b61-8f  station2_line1@  InUse         
xpidf+xml       <none>    
10.5.0.172       1002        fa193245-2d  station3_line4@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        18260c30-72  station3_line3@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        77da48e7-b2  station3_line2@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        355ac1a-1d5  station3_line1@  InUse         
xpidf+xml       <none>    
10.5.0.153       1000        8337358d-9f  station1_line4@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        3b1f2ba0-51  station1_line3@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        617c81ab-b7  station1_line2@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        ad4e3e6e-a1  station1_line1@  InUse         
xpidf+xml       <none>    
12 active SIP subscriptions
    -- Started music on hold, class 'default', on SIP/9999-08668ee0
 Extension Changed station3_line1[sla_stations] new state Hold for Notify
User 1002 
 Extension Changed station3_line1[sla_stations] new state Hold for Notify
User 1002 
 Extension Changed station1_line1[sla_stations] new state Hold for Notify
User 1000 
 Extension Changed station2_line1[sla_stations] new state Hold for Notify
User 1001 
 Extension Changed station2_line1[sla_stations] new state Hold for Notify
User 1001 
demo*CLI> sip show subscriptions
Peer             User        Call ID      Extension        Last state    
Type            Mailbox   
10.5.0.174       1001        11f304e6-a5  station2_line4@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        79fb42a7-30  station2_line3@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        154bb010-f2  station2_line2@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        d9db7b61-8f  station2_line1@  Hold          
xpidf+xml       <none>    
10.5.0.172       1002        fa193245-2d  station3_line4@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        18260c30-72  station3_line3@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        77da48e7-b2  station3_line2@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        355ac1a-1d5  station3_line1@  Hold          
xpidf+xml       <none>    
10.5.0.153       1000        8337358d-9f  station1_line4@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        3b1f2ba0-51  station1_line3@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        617c81ab-b7  station1_line2@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        ad4e3e6e-a1  station1_line1@  Hold          
xpidf+xml       <none>    
12 active SIP subscriptions
    -- Executing [h at line1:1] Hangup("SIP/9999-08668ee0", "") in new stack
  == Spawn extension (line1, h, 1) exited non-zero on 'SIP/9999-08668ee0'
    -- Stopped music on hold on SIP/9999-08668ee0
demo*CLI> sip show subscriptions
Peer             User        Call ID      Extension        Last state    
Type            Mailbox   
10.5.0.174       1001        11f304e6-a5  station2_line4@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        79fb42a7-30  station2_line3@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        154bb010-f2  station2_line2@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        d9db7b61-8f  station2_line1@  Hold          
xpidf+xml       <none>    
10.5.0.172       1002        fa193245-2d  station3_line4@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        18260c30-72  station3_line3@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        77da48e7-b2  station3_line2@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        355ac1a-1d5  station3_line1@  Hold          
xpidf+xml       <none>    
10.5.0.153       1000        8337358d-9f  station1_line4@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        3b1f2ba0-51  station1_line3@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        617c81ab-b7  station1_line2@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        ad4e3e6e-a1  station1_line1@  Hold          
xpidf+xml       <none>    
12 active SIP subscriptions
demo*CLI> 


CAN maunally be cleared by pressing a line button and hanging up
 -- Executing [station3_line1 at default:1] SLAStation("SIP/1002-08668ee0",
"station3_line1") in new stack
    -- Called disa at line1_outbound
    -- Executing [disa at line1_outbound:1]
DISA("Local/disa at line1_outbound-eeaf,2", "no-password|line1_outbound") in
new stack
    -- Local/disa at line1_outbound-eeaf,1 answered
    -- Created MeetMe conference 1023 for conference 'SLA_line1'
 Extension Changed station1_line1[sla_stations] new state InUse for Notify
User 1000 
 Extension Changed station2_line1[sla_stations] new state InUse for Notify
User 1001 
 Extension Changed station2_line1[sla_stations] new state InUse for Notify
User 1001 
 Extension Changed station3_line1[sla_stations] new state InUse for Notify
User 1002 
 Extension Changed station3_line1[sla_stations] new state InUse for Notify
User 1002 
 Extension Changed station1_line1[sla_stations] new state Idle for Notify
User 1000 
 Extension Changed station2_line1[sla_stations] new state Idle for Notify
User 1001 
 Extension Changed station2_line1[sla_stations] new state Idle for Notify
User 1001 
 Extension Changed station3_line1[sla_stations] new state Idle for Notify
User 1002 
 Extension Changed station3_line1[sla_stations] new state Idle for Notify
User 1002 
  == Spawn extension (line1_outbound, disa, 1) exited non-zero on
'Local/disa at line1_outbound-eeaf,2'
    -- Executing [h at line1_outbound:1]
Hangup("Local/disa at line1_outbound-eeaf,2", "") in new stack
  == Spawn extension (line1_outbound, h, 1) exited non-zero on
'Local/disa at line1_outbound-eeaf,2'
demo*CLI> sip show subscriptions
Peer             User        Call ID      Extension        Last state    
Type            Mailbox   
10.5.0.174       1001        11f304e6-a5  station2_line4@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        79fb42a7-30  station2_line3@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        154bb010-f2  station2_line2@  Idle          
xpidf+xml       <none>    
10.5.0.174       1001        d9db7b61-8f  station2_line1@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        fa193245-2d  station3_line4@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        18260c30-72  station3_line3@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        77da48e7-b2  station3_line2@  Idle          
xpidf+xml       <none>    
10.5.0.172       1002        355ac1a-1d5  station3_line1@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        8337358d-9f  station1_line4@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        3b1f2ba0-51  station1_line3@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        617c81ab-b7  station1_line2@  Idle          
xpidf+xml       <none>    
10.5.0.153       1000        ad4e3e6e-a1  station1_line1@  Idle          
xpidf+xml       <none>    
12 active SIP subscriptions
demo*CLI> 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-14-08 20:08  anakaoka       Note Added: 0082294                          
======================================================================




More information about the asterisk-bugs mailing list