<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<pre wrap="">exten => **XX</pre>
<big>--> 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.</big><br>
<br>
<pre wrap="">exten => 1234567,n,Set(_PICKUPMARK=${EXTEN:5})</pre>
<big>--> 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...<br>
<br>
<br>
Jonas.</big><br>
<br>
<br>
On 06/17/2010 06:44 PM, Philipp von Klitzing wrote:
<blockquote
cite="mid:4C1A6CF6.29815.186A29F@klitzing.pool.informatik.rwth-aachen.de"
type="cite">
<pre wrap="">Do this, for example:
</pre>
<blockquote type="cite">
<pre wrap="">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)
</pre>
</blockquote>
</blockquote>
</body>
</html>