Wouldn't that example kill the call after 15 seconds? I use option 'b' in
Monitor() also. Seems to cut down on recordings where you hear lots of
ringing.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joseph
Sent: Sunday, May 01, 2005 2:21 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Recording calls

On Sun, 2005-05-01 at 15:18 -0300, Jozeph Brasil wrote:
> Hi guys,
> 
> I need to record all incoming calls. Anyone know how to do this?
> 
> Thanks,
> Jozeph

Very easy, take a look:

exten => 718,1,SetVar(CALLFILENAME=${EXTEN:1}-${TIMESTAMP})
exten => 718,2,Monitor(wav,${CALLFILENAME},m)
exten => 718,3,AbsoluteTimeout(15); retun control to T
exten => 718,4,Dial(${phone1},20,rw)

-- 
#Joseph
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to