Look at this code....
 
;
 ; IVR RECORDER
 ;
; Record voice file to /tmp directory
exten => 205,1,Wait(2) ; Call 205 to Record new Sound Files
exten => 205,2,Record(/tmp/asterisk-recording:gsm)
exten => 205,3,Wait(2)
exten => 205,4,Playback(/tmp/asterisk-recording)
exten => 205,5,wait(2)
exten => 205,6,Hangup
 
Now if I call in on my * and dial 205 I can record a message to the path described above....
 
As long as your IVR settings are playing that same file to them, you should be fine....
 
I would of course customize the file names and possible the locations...
 
Cheers,
Wiley
 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc
Sent: Tuesday, April 26, 2005 11:02 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Checking for a sound file

Hi,
 
At this moment I'm configuring my first asterisk pbx, and am running into the following "problem": I would like to create a phonenumber for my customers, which they can call to hear if there are any problems with the servers. In case of a problem, I would like to be able to call that number, authenticate myself and record a new message. From that moment that message must be played when customers call. When the problem is solved, I would like to call the same number again, authenticate, and remove that message, so the original message is again played to customers that call.
 
I've read the wiki pages, but I'm not able to create this configuration. Can somebody please give me some tips how to do this?
 
Regards,
Marc
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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

Reply via email to