[asterisk-users] Spy just a range of extensions
Alejandro Cabrera Obed
aco1967 at gmail.com
Tue Aug 23 10:25:35 CDT 2011
Dear Bakko, I use this lines in order to listen and whisper:
[custom-spy]
; Listen
exten => _*84.,1,Set(SPY=${EXTEN:3})
exten => _*84.,n,NoOp(spy an agent: ${SPY})
exten => _*84.,n,ChanSpy(Agent/${SPY},q)
exten => _*84.,n,Hangup
; Whisper
exten => _*85.,1,Set(SPY=${EXTEN:3})
exten => _*85.,n,NoOp(whisper an agent: ${SPY})
exten => _*85.,n,ChanSpy(Agent/${SPY},w)
exten => _*85.,n,Hangup
Where do I have to add the e(ext) option here ???
Thanks a lot again !!!
2011/8/22 bakko <asannucci at gmail.com>
> Hi Alejandro,
>
> if you use 1.6.2.X look at e(ext) option
>
> With this option you can spy only the extensions you define, separate with
> : delimiter.
>
> Example:
>
> exten -> Chanspy,1,(all,e(9000:9001:**9002:9002)
>
> I don't test this option but I think work.
>
> Regards
>
>
>
>
> --
> ______________________________**______________________________**_________
> -- 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<http://lists.digium.com/mailman/listinfo/asterisk-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110823/312b58ea/attachment.htm>
More information about the asterisk-users
mailing list