Hello Friends, <br><br>I have successfully being able to initiate a automatic Call with AMI that leads me to a Extension XXX. <br><br>In my extension.conf I have: exten => XXX,1,ChanSpy(SIP/). <br>The problem that I have is to listen to a Specific channel that's using SIP.
<br><br>I tried out this: <br><br>
exten => XXX,1,Read(SPYNUM,extension)
<br>
exten => XXX,n,ChanSpy(SIP/${SPYNUM},q)
<br> <br clear="all">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???
<br><br><br>Best Regards, Carlos<br>