ChanSpy Application Recording

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

ChanSpy Application Recording

Postby mshoaib » Sat Dec 26, 2015 5:51 am

Hi,
I was looking if we can record ChanSpy barge mode conversation into already monitored channel.

my current dialplan is.


Code: Select all
[mobile]
exten => _0044[7-9].,1,Monitor(gsm,${CALLERID(num)}-${EXTEN:2}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)},mb)
exten => _0044[7-9].,2,Dial(sip/${EXTEN:2}@mobile,,o)
exten => _0044[7-9].,3,Dial(sip/${EXTEN:2}@mobile2,,o)
exten => _0044[7-9].,4,Dial(sip/${EXTEN:2}@mobile3,120,o)
exten => _0044[7-9].,5,Hangup
exten => _44[7-9].,1,Set(VOLUME(TX)=2)
exten => _44[7-9].,2,Monitor(gsm,${CALLERID(num)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)},mb)
exten => _44[7-9].,3,Dial(sip/${EXTEN}@mobile,,0)
exten => _44[7-9].,4,Dial(sip/${EXTEN}@mobile2,,0)
exten => _44[7-9].,5,Dial(sip/${EXTEN}@mobile3,120,0)
exten => _44[7-9].,6,Hangup
include => app-chanspy-custom

[app-chanspy-custom]
exten => 555,1,Macro(user-callerid)
exten => 555,2,Authenticate(7789)
exten => 555,3,Read(SPYNUM,agent-newlocation)
exten => 555,4,ChanSpy(SIP/${SPYNUM},qbBd)




Regards,
Mohmmad
mshoaib
Newsterisk
 
Posts: 38
Joined: Wed Oct 31, 2012 7:27 am

Return to Asterisk Support

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 1 guest