On 3/12/15 12:19 PM, Administrator TOOTAI wrote:
Hi,
Le 12/03/2015 17:28, Salaheddine Elharit a écrit :
hello list,
i use the code below
[macro-chanspy]
exten => s,1,Authenticate(${ARG1})
exten => s,n,ChanSpy(SIP/${EXTEN:3},__dqs)
Here you have a problem: ${EXTEN} value is s
[...]
Daniel
Oops, my bad, that should have been ${MACRO_EXTEN} so it gets the vaule
of the extension that was dialed.
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)9116-91161
--
_____________________________________________________________________
-- 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