<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 3/12/15 12:19 PM, Administrator TOOTAI wrote:<br>
<blockquote cite="mid:5501D8A3.8020707@tootai.net" type="cite">Hi,
<br>
<br>
Le 12/03/2015 17:28, Salaheddine Elharit a écrit :
<br>
<blockquote type="cite">hello list,
<br>
<br>
i use the code below
<br>
<br>
[macro-chanspy]
<br>
exten => s,1,Authenticate(${ARG1})
<br>
exten => s,n,ChanSpy(SIP/${EXTEN:3},__dqs)
<br>
</blockquote>
<br>
Here you have a problem: ${EXTEN} value is s
<br>
<br>
[...]
<br>
<br>
Daniel
<br>
<br>
</blockquote>
Oops, my bad, that should have been
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
${MACRO_EXTEN} so it gets the vaule of the extension that was
dialed.<br>
<pre class="moz-signature" cols="72">--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161</pre>
</body>
</html>