[asterisk-users] Chanspy() not working with group in asterisk 1.4.42

virendra bhati virbhati at gmail.com
Tue Oct 18 02:30:48 CDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111018/5a7f7af6/attachment.htm>


More information about the asterisk-users mailing list