[Asterisk-Users] Record all phone calls

Jimmy Riley jimmy.riley at vericore.com
Sat Jan 10 11:01:22 MST 2004


I want to record all phone calls made inbound and outbound. I'm new so
having a hard time getting this started. Here is what I have so far but
isn't working. Can someone help me out? Thanks,

 

[macro-record-on]
exten => s,1,SetVar(CALLFILENAME=${DATETIME}-${ARG2}-${ARG1})
exten => s,2,Monitor(wav,${CALLFILENAME})
 

 

[sip]
include => macro-record-on
include => iaxtel 
exten => _,1,macro(record-on,${EXTEN},${CALLERIDNUM})
exten => 1001,1,Dial(SIP/one|20|tr)
exten => 1001,2,VoiceMail,u1001
exten => 1001,102,VocieMail,b1001
exten => 2001,1,Dial,IAX2/guest at 24.202.159.205/2001
exten => 1002,1,Dial(SIP/two|20|mtr)
exten => 1002,2,VoiceMail,u1002
exten => 1002,102,VoiceMail,b1002
exten => 6001,1,Ringing
exten => 6001,2,Wait(2)
exten => 6001,3,VoicemailMain
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040110/3452ccc7/attachment.htm


More information about the asterisk-users mailing list