<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Philipp,<br>
<br>
thank you for your willingness to help me.<br>
<br>
In a previous mail I gave a part of my dialplan: an incoming call rings
a group of extensions/SIPaccounts :<br>
<br>
</font>[sub-routing]<br>
<snip><br>
exten => s,n(group),NoOp()<br>
exten => s,n,Macro(GetGroupDetails,${ganaarID})<br>
exten => s,n,GoToIf($["${sequencenr}"=="1"]?callit)<br>
exten => s,n,Answer()<br>
exten => s,n(callit),Dial(${SIPaccounts},${timeout})
<-------------------------------- !!!!<br>
exten => s,n,GoToIf($["${DIALSTATUS}"!="ANSWER"]?nextstep:hangup)<br>
<snip><br>
<br>
<br>
So the following happens :<br>
<br>
exten => s,n,Dial(SIP/testcorp1&SIP/testcorp2) ; dial multiple
ext<br>
<br>
or<br>
<br>
exten => s,n,Dial(SIP/testcorp1) ; dial one ext<br>
<br>
<br>
I want to pick up the calling extension, in this case extension 10
(testcorp1) or 20 (testcorp2), or extension 10 (testcorp1).<br>
<br>
How to do this ??<br>
To proceed with your answer on PICKUPMARK, where do I put this ???<br>
<br>
<br>
Remark : internal calls no problem (like calling extension 10 from
extension 20, and pick up extension 10 from extension 30)<br>
<br>
But calls coming from external... impossible !<br>
<br>
<br>
Jonas.<br>
<font face="Helvetica, Arial, sans-serif"><br>
</font><br>
On 06/15/2010 02:38 PM, Philipp von Klitzing wrote:
<blockquote
cite="mid:4C179050.8232.8512B6@klitzing.pool.informatik.rwth-aachen.de"
type="cite">
<pre wrap="">Hi!
</pre>
<pre wrap="">
Do not make PICKUPMARK a global variable - use it as a normal channel
variable instead (and prefix it with _ (or even __) when you see fit to
provide channel variable inheritance).
Philipp
</pre>
</blockquote>
</body>
</html>