Hey,<div>I don't think you are doing it right. The memebers/channels you need to spy should be added in SPYGROUP and not the channel which is spying. i.e your code maybe something like this.</div><div><br></div><div>exten => 43681111,1,Answer()<br>
exten => 43681111,n,NoOp(****${CHANNEL}****)<br>exten => 43681111,n,Set(SPYGROUP=<span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">my-group</span>)<br>exten => 43681111,n,Konference(VADSTR)</div>
<div><br></div><div>exten => 43681156,1,Answer()</div><div>exten => 43681156,n,NoOp(***${SPYGROUP}****)<br>exten => 43681156,n,ChanSpy(DAHDI,g(<span class="Apple-style-span" style="background-color: rgb(255, 255, 0);">my-group</span>)) <br>
exten => 43681156,n,Hangup()<br><br><br><div class="gmail_quote">On Tue, Oct 18, 2011 at 12:30 PM, virendra bhati <span dir="ltr"><<a href="mailto:virbhati@gmail.com">virbhati@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">Hi list,<br><br>I have write down my code on which chanspy not working when I make a group with name of spy. Please help me where is the issue on that.<br><br>a) caller will call this number to join konference and spy group<br>
<br>exten => 43681111,1,Answer()<br>exten => 43681111,n,NoOp(****${CHANNEL}****)<br>exten => 43681111,n,Set(GROUP(${CHANNEL})=spy)<br>exten => 43681111,n,Set(a=${GROUP_LIST(spy)})<br>exten => 43681111,n,Set(b=${GROUP_LIST()})<br>
exten => 43681111,n,Konference(VADSTR)<br><div dir="ltr"><br>b) spy will dial it to spy the channels<br><br>exten => 43681156,1,Answer()<br>exten => 43681156,n,NoOp(***${SPYGROUP}****)<br>exten => 43681156,n,Set(SPYGROUP=spy)<br>
exten => 43681156,n,NoOp(***${SPYGROUP}****)<br>exten => 43681156,n,ChanSpy(DAHDI,g(spy)) <br>exten => 43681156,n,Hangup()<br><br>when I used chanspy without option then It works <br>like Chanspy(DAHDI)<br><br>
Any help will be appreciated <br>
<br>-----<br>Thanks and regards<br><font color="#888888"><br> Virendra Bhati<br><a href="tel:%2B91-9172341457" value="+919172341457" target="_blank">+91-9172341457</a><br>Software Engineer<br></font></div><br>
</div>
</blockquote></div><br></div>