exten => **XX
--> This is a local extension, a certain phone which is monitored with
BLF-lights. So if I press the button I want the phone call that made
this phone ring, not another phone.
exten => 1234567,n,Set(_PICKUPMARK=${EXTEN:5})
--> If I set the PICKUPMARK-variable the same as the DID that is called,
how can I know which DID that is set in the context [example-pickup] ??
My phone, who tries to do the pickup, creates a new channel, and the
PICKUPMARK-channel variable is of course not inherited to this newly
created channel...
Jonas.
On 06/17/2010 06:44 PM, Philipp von Klitzing wrote:
Do this, for example:
exten => 1234567,1,NoOp()
exten => 1234567,n,Set(_PICKUPMARK=${EXTEN:5})
exten => 1234567,n,Dial(SIP/IPphone-1)
exten => 3456789,1,NoOp()
exten => 3456789,n,Set(_PICKUPMARK=${EXTEN:5})
exten => 3456789,n,Dial(SIP/IPphone-2)
[example-pickup]
exten => **XX,1,NoOp()
exten => **XX,n,Pickup(${EXTEN:2...@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