[asterisk-users] Pickup(), PickupChan()... PickupQueue()? (Niccol? Belli)

Niccolò Belli darkbasic at linuxsystems.it
Mon Nov 14 10:40:29 CST 2016


If there is no phone ringing (because all operators are busy and the call 
is still waiting in the queue) then I cannot pickup the call with 
Pickup(Queuename at PICKUPMARK):
app_directed_pickup.c:302 pickup_exec: No target channel found for 
magazzino at PICKUPMARK.

Any idea?

Niccolo'

On lunedì 31 ottobre 2016 20:16:30 CET, Freddi Hansen wrote:
>> Hi,
>> I'm currently using Pickup() to pickup calls from queues, but 
>> this is VERY annoying because often users from different queues 
>> dialed the very same extension (for example they pressed '1' to 
>> reach something but in different submenus). Other times they 
>> didn't dial anything but they end up in the very same queue, so 
>> the extension to pickup is the number they called.
>> So every time I want to send users to a queue I have to put a 
>> Goto() before the Queue() app because I need to uniquely 
>> identify the extension (for example Goto(QueueName,1)).
>> This is annoying. Really annoying. It also makes the dialplan 
>> hard to read.
>> Since we also have PickupChan() is to would be nice to have 
>> PickupQueue() too. That way we shouldn't care about the 
>> extension, we should simply write PickupQueue(QueueName). 
>> Simple and clear, the dialplan thanks.
> Hi,
> you could use the PICKUPMARK with the Pickup().
>
> before you call the Queue app you set PICKUPMARK=Queuename.
> When you want to pickup the call you do 
> Pickup(Queuename at PICKUPMARK) to only get calls in the Queue with 
> Queuename.
>
> b.r.
> Freddi
>




More information about the asterisk-users mailing list