[asterisk-users] about ChanSpy
weizhao_hou
weizhao_hou at 163.com
Fri Aug 31 06:24:19 CDT 2007
hello,everyone!
I was setting up ChanSpy in an Asterisk dialplan today and it just wasn't working. Here is the snippet:
extensions.conf:
[test]
exten=>3001, 1, Set(__TRANSFER_CONTEXT=tranfer)
exten=>3001, 2, Dial(SIP/3001,10,tr)
exten=>2002, 1, Dial(SIP/2002,10,t)
exten=>2002, 2, Hangup()
exten=>2001, 1, Dial(SIP/2001,10,t)
exten=>2001, 2, Hangup()
exten=>1234, 1, ChanSpy(SIP,b)
[tranfer]
exten=> 2002, 1,Dial(SIP/2002,10,tr) first,i use 2001 dialed 3001,connected! then use 3001 transfer to 2002,connected!and then i use 3001 dialed 1234 to spy 2001-2002,Asterisk tell me i was spying 2001,afeter it ,i would hear nothing at all.
if i used 2001 dialed 2002,connected! then i used 3001 dialed 1234 to spy 2001-2002,it was success!!!
why? thanks you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070831/f83ab093/attachment.htm
More information about the asterisk-users
mailing list