[asterisk-users] chanspy for group extension

Carlos Chavez cursor at telecomabmex.com
Thu Mar 12 13:22:55 CDT 2015


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150312/cfabc733/attachment.html>


More information about the asterisk-users mailing list