Asterisk Auto Recording even Manual Call on Phone using Monitor

Rate this post

exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1NXXNXXXXXX,2,Set(CALLFILENAME=${CALLERID(all)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => _1NXXNXXXXXX,3,Monitor(wav,${CALLFILENAME},m)
exten => _1NXXNXXXXXX,4,Dial(${SIPTRUNK}/${EXTEN},,tTor)
exten => _1NXXNXXXXXX,5,Congestion
exten => _1NXXNXXXXXX,103,Congestion

exten => _011.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _011.,2,Set(CALLFILENAME=${CALLERID(all)}-${EXTEN}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
exten => _011.,3,Monitor(wav,${CALLFILENAME},m)
exten => _011.,4,Dial(${SIPTRUNK}/${EXTEN},,tTor)
exten => _011.,5,Congestion
exten => _011.,103,Congestion

For any query or issue, feel free to discuss on http://discuss.eduguru.in

One thought on “Asterisk Auto Recording even Manual Call on Phone using Monitor

Leave a Reply

%d bloggers like this: