[asterisk-users] Spy a specific Channel

Carlos Garcia Mujica carlosve.ucv at gmail.com
Mon Jun 25 22:01:30 CDT 2007


Hello Friends,

I have successfully being able to initiate a automatic Call with AMI that
leads me to a Extension XXX.

In my extension.conf I have: exten => XXX,1,ChanSpy(SIP/).
The problem that I have is to listen to a Specific channel that's using SIP.


I tried out this:

exten => XXX,1,Read(SPYNUM,extension)
exten => XXX,n,ChanSpy(SIP/${SPYNUM},q)

It asks for a specific extension when I dial XXX, but want I'm trying to do
is to find the way to bring the SPYNUM variable from AMI, I've tried to pass
Throw the originate command the variable SPYNUM, but with No luck, does any
one already done this???


Best Regards, Carlos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070625/1f1bb403/attachment.htm 


More information about the asterisk-users mailing list