[Asterisk-Users] Monitoring Calls

Ryan Courtnage ryan at voxbox.ca
Wed May 26 11:34:02 MST 2004


On 26-May-04, at 12:02 PM, Mark Zawodny wrote:

> I'm trying to set up basic monitoring for a specific extension (5004)  
> to
> record all outgoing and incoming calls and save them as WAV files.   
> I've
> set this in the extensions.conf file:
>
>  exten => 5004,1,Answer
>  exten => 5004,2,Wait,1
>  exten =>
> 5004,3,SetVar(CALLFILENAME=/var/spool/asterisk/MONITOR-${TIMESTAMP}- 
> ${CA
> LLERIDNUM})
>  exten => 5004,4,Monitor,wav|${CALLFILENAME}
>

I use a slightly different syntax:

exten => 5004,4,Monitor(wav,${CALLFILENAME})

> But it doesn't seem to work.  Any guidance would be appreciated.  I am
> fairly new at Asterisk so my apologies if it is a really simple answer.
>
> Thanks!
> Mark
>
>
> _______________________________________________
> 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