[asterisk-users] Auto recording calls?

Jeronimo Romero jromero at eusnetworks.com
Mon Nov 20 13:34:58 MST 2006


This is what I use:


Inbound Calls:
[from-pstn]
exten=>s,1,Answer
exten=>s,2,Wait(2)
exten=>s,3,SetVar(CALLFILENAME=${CALLERIDNUM}:${TIMESTAMP})
exten=>s,4,Monitor(gsm,/var/spool/asterisk/monitor/${CALLFILENAME},m)
exten=>s,5,Dial(SIP/1001,20,r)
exten=>s,6,DigitTimeout(30)
exten=>s,7,Background(ivr)
...etc. etc...

Outbound Calls:
[trunkdial]
exten=>_NXX.,1,SetVar(CALLFILENAME=${EXTEN}-${TIMESTAMP})
exten=>_NXX.,2,Monitor(gsm,/var/spool/asterisk/monitor/${CALLFILENAME},m)
exten=>_NXX.,3,Set(CALLERID(num)=2122026659)
exten=>_NXX.,4,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_A}/1${EXTEN})
exten=>_NXX.,5,GotoIf($[${DIALSTATUS}=CHANUNAVAIL]?${EXTEN}|500)
exten=>_NXX.,500,Dial(IAX2/${VOICEPULSE_GATEWAY_OUT_B}/1${EXTEN})
...etc...etc...
________________________________________
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of zero massive
Sent: Monday, November 20, 2006 3:16 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Auto recording calls?

I have this in my dial plan, works fine (in and out)

exten => s,19,Monitor(wav,${CALLFILENAME},m)
On 11/20/06, Doug < Doug at natel.net> wrote:
At 14:00 11/20/2006, Doug wrote:
>At 13:52 11/20/2006, Jay Moore wrote: 
> >Howdy, folks.
> >
> >I'm having a problem finding a way to auto-record calls (both incoming
> >and outgoing).  I know how to make it so either party can initiate
> >recording, 
>
>Pray tell, how did you do that?


Date: Mon, 20 Nov 2006 14:01:44 -0600
From: Jay Moore <jaymoore at accu-com.com>
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
MIME-Version: 1.0
To: Doug <Doug at NaTel.net>
Subject: Re: [asterisk-users] Auto recording calls?
References: < 45620776.50207 at accu-com.com>
<1048069656-272813954 at mail1.natel.net>
In-Reply-To: <1048069656-272813954 at mail1.natel.net >
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it
with any abuse report
X-AntiAbuse: Primary Hostname - web.accu-com.com
X-AntiAbuse: Original Domain - natel.net
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - accu-com.com
X-Source:
X-Source-Args:
X-Source-Dir:


The w or W flags in the Dial() command.

http://www.voip-info.org/wiki/view/Asterisk+cmd+Dial 

Thank you Jay for this info.

_______________________________________________
--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



More information about the asterisk-users mailing list