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(4...@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(4...@pickupmark) exten => **XX2,1,NoOp() exten => **XX2,n,Pickup(4...@pickupmark)
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
