[Home]

Summary:ASTERISK-00184: Digit exit to a context fails if client in the Q, entered the Q from a call spool
Reporter:tclark (tclark)Labels:
Date Opened:2003-08-27 16:36:46Date Closed:2011-06-07 14:10:29
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If a call is placed in a queue using the asterisk spooler and the caller waiting in the queue enters a digit, the caller is hung up.
The correct behavior is to run the associated extension logic in the context defined in the queues.conf


****** ADDITIONAL INFORMATION ******

Queues.conf
[someq]
strategy=ringall
context=QExitContext
timeout = 30
retry = 1
maxlen = 0
member => Agent/100

relevent section of the extension.conf
[oe]
exten => s,1,responsetimeout,20
exten => s,2,Dial,Zap/1|20

[QExitContext]
exten => 0,1,MP3Player,song8.mp3
exten => 1,1,MP3Player,sample.mp3
exten => 2,1,MP3Player,sunscreen.mp3
exten => 3,1,Playback,demo-echotest
exten => 3,2,Echo
exten => 3,3,Playback,demo-echodone


sample.call
Create a call like the following
Channel:IAX/oe@192.168.1.6
MaxRetries: 0
WaitTime: 20
Application: Queue
Data: someq|t

Steps to repro
1) Do not log any agents into the q.
2) copy this call to /var/spool/asterisk/outgoing
3) When this spooled call rings the device. The user
must ans the call then while listening to the moh hold
press a digit that corresponds to a an extension in the
[QExitContext]. The user is now hung up.

If the call enters the Q as a standard 'inbound' call
and the user enters a digit then extension logic runs
as expected
Comments:By: Mark Spencer (markster) 2003-08-28 11:31:24

There is no PBX associated with the call.  If you instead give it an extension, priority, and context, does the behavior work as you expect?

By: tclark (tclark) 2003-08-28 13:58:42

OK tested a call like
********
Channel:IAX/dispatch@192.168.1.6
MaxRetries: 0
WaitTime: 20
Context: dispatchq
Extension: s
Priority: 1
***********

and added a context like
[dispatchq]
exten => s,1,Queue(taxidispatchq,t)

The digit exit  behavior is as expected

By: Mark Spencer (markster) 2003-08-28 18:19:01

Yay