[asterisk-bugs] [Asterisk 0014631]: [patch] Ghost calls with queues and spa942 and 922

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 8 14:26:14 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14631 
====================================================================== 
Reported By:                latinsud
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14631
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 180641 
Request Review:              
====================================================================== 
Date Submitted:             2009-03-09 09:17 CDT
Last Modified:              2009-07-08 14:26 CDT
====================================================================== 
Summary:                    [patch] Ghost calls with queues and spa942 and 922
Description: 
I am testing a simple static queue setup and i often get ghost calls (right
after the caller hangs up before anyone has answered) on my linksys phones
(but not on x-lite).

I also get these errors:
channel.c: ast_prod: Prodding channel ... failed
chan_sip.c: handle_response: Remote host can't match request CANCEL to
call ...

To reproduce it you have to call and be placed in que, noone answers, let
the "periodic-announce" start playing and then hangup.

I see a 2 weird things happen (imho):
- Right after caller hangs, Asterisk sends an INVITE and immediately a
CANCEL. Imho it shouldn't send any of them.
- Phone returns a "481 call does not exist".
====================================================================== 

---------------------------------------------------------------------- 
 (0107491) svnbot (reporter) - 2009-07-08 14:26
 https://issues.asterisk.org/view.php?id=14631#c107491 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 205349

U   branches/1.4/apps/app_queue.c

------------------------------------------------------------------------
r205349 | mmichelson | 2009-07-08 14:26:13 -0500 (Wed, 08 Jul 2009) | 14
lines

Prevent phantom calls to queue members.

If a caller were to hang up while a periodic announcement or position
were being said, the return value for those functions would incorrectly
indicate that the caller was still in the queue. With these changes,
the problem does not occur.

(closes issue https://issues.asterisk.org/view.php?id=14631)
Reported by: latinsud
Patches:
      queue_announce_ghost_call2.diff uploaded by latinsud (license 745)
	  (with small modification from me)


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-08 14:26 svnbot         Checkin                                      
2009-07-08 14:26 svnbot         Note Added: 0107491                          
======================================================================




More information about the asterisk-bugs mailing list