[Asterisk-Users] RE: Monitoring Calls

Mark Zawodny mark at edealertools.com
Wed May 26 13:18:01 MST 2004


Unfortunately, that doesn't seem to work either.  Any other suggestions?
Is there anything else that you would need to see (like the whole
extensions.conf file)?  Your help is greatly appreciated!

Thanks!
Mark


From: Ryan Courtnage <ryan at voxbox.ca>
Subject: Re: [Asterisk-Users] Monitoring Calls
Date: Wed, 26 May 2004 12:34:02 -0600
To: asterisk-users at lists.digium.com
Reply-To: asterisk-users at lists.digium.com


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


-----Original Message-----
From: Mark Zawodny [mailto:mark at edealertools.com] 
Sent: Wednesday, May 26, 2004 2:02 PM
To: 'asterisk-users at lists.digium.com'
Subject: Monitoring Calls

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}

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





More information about the asterisk-users mailing list