Tuesday, November 1, 2011

SPY CALL by channel in asterisk

SPY CALL by channel


exten => 209,1,Dial(DAHDI/09r5,20,tT)
exten => 209,n,Hangup()


exten => 210,1,ChanSpy(DAHDI/${EXTEN:09})
exten => 211,1,ChanSpy(DAHDI/${EXTEN:08})


SPY call by extension

exten => 1002,n,ExtenSpy(1001)

OR FULL EXAMPLE

exten => 1001,1,Answer()

exten => 1002,1,Answer()
exten => 1002,n,ExtenSpy(1001)

exten => 1003,1,Answer()
exten => 1003,n,Dial(SIP/${EXTEN},30,T)
exten => 1003,n,Hangup()

0 comments:

Post a Comment