[Asterisk-Users] Recording calls

Tim Connolly tim at timsnet.com
Sun May 1 12:57:25 MST 2005


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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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 at 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




More information about the asterisk-users mailing list