Hi list,

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.

a) caller will call this number to join konference and spy group

exten => 43681111,1,Answer()
exten => 43681111,n,NoOp(****${CHANNEL}****)
exten => 43681111,n,Set(GROUP(${CHANNEL})=spy)
exten => 43681111,n,Set(a=${GROUP_LIST(spy)})
exten => 43681111,n,Set(b=${GROUP_LIST()})
exten => 43681111,n,Konference(VADSTR)

b) spy will dial it to spy the channels

exten => 43681156,1,Answer()
exten => 43681156,n,NoOp(***${SPYGROUP}****)
exten => 43681156,n,Set(SPYGROUP=spy)
exten => 43681156,n,NoOp(***${SPYGROUP}****)
exten => 43681156,n,ChanSpy(DAHDI,g(spy))
exten => 43681156,n,Hangup()

when I used chanspy without option then It works
like  Chanspy(DAHDI)

Any help will be appreciated

-----
Thanks and regards

 Virendra Bhati
+91-9172341457
Software Engineer
--
_____________________________________________________________________
-- 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

Reply via email to