This is how I'm able to record my outbound calls, hope this helps you.
exten => _407NXXXXXX,1,Set(CALLFILENAME=${EXTEN:1}-${TIMESTAMP}-OUT)
exten => _407NXXXXXX,n,Monitor(wav,${CALLFILENAME},m)
exten => _407NXXXXXX,n,Dial(ZAP/g1/1${EXTEN:0})
exten => _407NXXXXXX,n,Congestion
Ed Nu?ez
IT/Telecom Engineer
4037 Metric Drive
Winter Park, FL
(o) 407-384-4200 x 1656
(f) 407-384-4222
(c) 732-925-0730
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Michael Collins
Sent: Wednesday, November 08, 2006 9:50 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Auto record a call?
I have a debugging scenario where I wish to record the entire call. The
call is establish via a .call file. I can't seem to get Monitor to do
anything. My dialplan looks like this:
[dialout]
exten => s,1,DigitTimeout,1
exten => s,n,ResponseTimeout,10
exten => s,n,Answer
exten => s,n,Monitor(wav,/tmp/test)
.
.
.
The file test.wav never shows up. Am I doing something wrong, or
possibly there is a better way to accomplish this?
Thanks,
MC
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users