[asterisk-users] chanspy for group extension

Eric Wieling EWieling at nyigc.com
Thu Mar 12 13:24:13 CDT 2015

This is one of the drawbacks to using macros.  There are workarounds for macros, but the correct solution is use the Gosub / Return dialplan applications

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Administrator TOOTAI
Sent: Thursday, March 12, 2015 2:19 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] chanspy for group extension


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



-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

More information about the asterisk-users mailing list