[asterisk-users] Unable to pickup an extension

Jonas Kellens jonas.kellens at telenet.be
Thu Jun 17 12:39:28 CDT 2010


exten => start,n,Set(_PICKUPMARK=${CALLERID(num)})

In your example this means that the calling number (for example 
3291234567 in Belgium or 49215790657 in Germany) will be set as PICKUPMARK.

If I want to pick up Phone-1 which rings on an incoming call, how can I 
know on which incoming number the call was made ??

exten => **XX1,n,Pickup(4001 at PICKUPMARK)

This needs to be more dynamic as I have multiple lines and multiple users...

Jonas.


On 06/17/2010 06:17 PM, Danny Nicholas wrote:
>
> If you stand on one foot, this might work: (assumes you get 
> CALLERID(num) to be 4001 for IPphone1 and 4002 for IPphone2;  In my 
> shop DAHDI-1 is 4001 and DAHDI-2 is 4002)
>
> [sub-settings]
> exten => start,1,NoOp()
> exten => start,n,Set(_PICKUPMARK=${CALLERID(num)})
> exten => start,n,Return()
>
> [example-pickup]
> exten => **XX1,1,NoOp()
> exten => **XX1,n,Pickup(4001 at PICKUPMARK)
> exten => **XX2,1,NoOp()
> exten => **XX2,n,Pickup(4002 at PICKUPMARK)
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100617/d492dc6d/attachment.htm 


More information about the asterisk-users mailing list