Summary:ASTERISK-07887: app_directed-pickup cannot pickup groupcalls
Reporter:Ramon Peek-Fares (ramonpeek)Labels:
Date Opened:2006-10-06 09:49:35Date Closed:2011-06-07 14:11:59
Versions:Frequency of
Description:When I dial multiple extension using Dial(SIP/100&SIP101) I cannot pickup the call using the Pickup(100) command

****** STEPS TO REPRODUCE ******

use the dialplan;

exten = 100,1,Dial(SIP/100)
exten = 200,1,Dial(SIP/100&SIP101)
exten = pickup,1,Pickup(100)

First call 100 using a phone (I used SIP channel only)
On a secondary phone dial extension "pickup", and it works!

Now call 200 instead of 100, and try to pickup the call => no success.


I found a patch in de bugtracker, but that did not apply for this type of bug!
Comments:By: Anthony LaMantia (alamantia) 2006-10-06 10:20:13

which bugid were referencing regarding the patch,
also can you show the portions of your dialplan regarding the use of pickup so we know precisely  what you are doing.

By: Ramon Peek-Fares (ramonpeek) 2006-10-06 10:32:00

The bug I was referencing to was: http://bugs.digium.com/view.php?id=5694

The parts of the dailplan that I was using are listed under steps to reproduced

By: Anthony LaMantia (alamantia) 2006-10-06 10:59:29

Pickup, only accepts extension@context as parameters  you are providing it wih a channel to dial.. for example something like this would work depending on your setup.


By: Ramon Peek-Fares (ramonpeek) 2006-10-06 11:30:18

I've found it!

The pickup extension pickups up the DIALED Extension, not the ringing channel.
So when the dialplan says;


The call cannot be picked up by using Pickup(100) or Pickup(101)
But needs to be picked up using Pickup(200)

This is probably because the app_directed_pickup uses the data from the CDR channel to see which devices are ringing.

And that is really very confusing.?!?!

I looked at the code and also the code listed in res_features for the normal callpickup and wonder why someone bothered to create a whole new app without using the code available in res_features??

Any comments

By: Joshua C. Colp (jcolp) 2006-10-06 11:35:22

It was made so you can target the specific extension number that is ringing. That is all.