[asterisk-dev] asterisk v1.6 queue() continue after answered call ´problem

Mark Michelson mmichelson at digium.com
Wed Jun 18 10:11:02 CDT 2008


Mark Michelson wrote:
> Martin Schrott - thinking:systems wrote:
>> Hi all!
>>
>> sorry to write to the dev list, but nobody in users did answer and we do not 
>> find the solution. Hope anybody here can help us.
>>
>> we try to get the queue() not hanging up after a member answered the call.
>> c flag in options did not work.
>> asterisk v1.6 beta 9
>>
>>
>> example:
>>
>> * in our  Macro-queue queue() is called
>>
>> * member local/555 of the queue calls a macro
>>    (exten => 555,1,Macro(....) )
>>
>> * the macro is dialing a sip phone  and a second  macro is presented to the 
>> callee when he answers
>>     (until here everything works)
>>
>> * when the member hangs up
>> queue / asterisk hangs up instead of going back to queue or to the next 
>> priority after the queue() statement .
>>
>> - we tried to add the c flag to the queue - did not help
>> - we tried to add the g flag to the dial statement in the macro called by 
>> local/555
>>
>> When we add the g flag to the dial, we get back to the next extension in the 
>> macro wich called the sip phone after the member hangs up.
>>
>>  but when we exit the macro there asterisk hangs up instead of going back to 
>> queue or the dialplan where the queue is called, or the macro wich calles 
>> queue() . (as in asterisk 1.2)
>>
>>
>> Is there any posibillity to get the queue not hanging up after a call and 
>> proceed to the nexxt priority in the dialplan?
>> Why hangs asterisk up when we exit a macro called by a member of the queue 
>> (local/xxx) ???
>>
>>
>> Please help us. We have no more ideas
>>
>> Thank you very much,
>> Martin
>>
>> ---original message to the users list---
>>
>>
>> Hi list,
>>
>> we upgraded to v1.6 and have a problem understanding the queue() behaveour
>> of the v1.6 in queues.
>>
>> we try to set the queue up to not hangup if an agent answeres the call but
>> then hangs up again.
>>
>> we would then like the queue to go on in the dialplan. But the queue does
>> not want to go on and hangs up. :-(
>>
>> we triyed to use the c flag
>> and the timeoutrestart
>> both did not work.
> 
> I just checked the 1.6.0 source and apparently the c flag does not actually do 
> anything when set for a queue. Definitely a bug.
> 
> Mark Michelson
> 

This bug has now been fixed in trunk and the 1.6.0 branch. If you check out the 
latest svn revision of 1.6.0, the 'c' option for queues will behave as expected.

Mark Michelson



More information about the asterisk-dev mailing list