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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050426/57db9a37/attachment.htm
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: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050426/4a2423c6/attachment.htm
Marc: You may be able to do this with voicemail; you'd get the authentication, realtime outbound message alteration, etc. You would just have the DID support number go straight to voicemail. The only think left would be to see if there's a way to not permit a message to be left. -Andy On 4/26/05, Marc <mailings@bhosted.nl> wrote:> > 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 > >