asterisk-usershello,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
                                

        weizhao_hou
[EMAIL PROTECTED]
          2007-09-05
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to