[Asterisk-bugs] [Asterisk 0010008]: Queue member gets called when user hangs up during periodic announcement

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Jul 18 14:36:21 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10008 
====================================================================== 
Reported By:                dimas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10008
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 69845 
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             06-19-2007 07:30 CDT
Last Modified:              07-18-2007 14:36 CDT
====================================================================== 
Summary:                    Queue member gets called when user hangs up during
periodic announcement
Description: 
When user hangs up while listening to queue's periodic announcement,
Asterisk starts ringing the member's phone for a short period of time right
after hangup.

To reproduce create a queue with single member and 
periodic-announce-frequency=10

1. Put user on a queue, user hears MOH
2. member's softphone (X-Lite 3.0) starts ringing
3. Wait about 8 seconds
4. Member clicks "hangup" on the softphone reporting UNAVAIL to asterisk.
Asterisk does not start calling member immediately (I beliebe this is
because default retry = 5)
5. user still hears MOH
6. Asterisk starts playing announce to the user. While user hears
announce, member's phone does not ring
7. User hangs up durng the announcement
8. Members softphone immediately start ringing for very short time (about
half a second)

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

---------------------------------------------------------------------- 
 dimas - 07-18-07 14:36  
---------------------------------------------------------------------- 
Good catch!
I reproduced the problem you are describing. Unfortunately, although
replacing background_file with play_file seems to fix the problem it
actually just hides it. The real source of the problem is the fact that
valid_exit should NOT be called twice. And I completely overlooked this
fact. So code need more serious fixes. I will upload patch later today. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-18-07 14:36  dimas          Note Added: 0067539                          
======================================================================




More information about the asterisk-bugs mailing list