[Asterisk-Users] Monitoring Calls

Mark Zawodny mark at edealertools.com
Wed May 26 11:02:06 MST 2004


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