On Sun, Sep 22, 2013 at 3:07 PM, Asmaa Ahmed <asabatg...@hotmail.com> wrote:
> Hello, > > For the time being I am using the following line to play the original > saved message by Asterisk > exten => 7001,n,Playback(vm-nobodyavail) > > Now I am trying to use the other features for Asterisk's voicemail. I have > recorded a message, and I can see it saved on the system, but still > Asterisk keeps playing the original message... Is there something I can add > to let the subscriber plays his recorded message if he has a one? I > couldn't find a clear way in the wiki about that! > Also can I go more to play specific messages depending on the day/time, a > specific message for the holidays for example? > > Thanks. > > > Asmaa-- It's not entirely clear to me what the problem is, but it appears that you have recorded an unavailable message via the voicemail (comedian) app, and are not getting that message played back when someone is routed to voicemail for that user. If this is indeed the problem, you didn't show the Voicemail() app call in your dialplan. Don't forget to add the 'u' option to the call for unavailable: exten => 7001,n.Voicemail(7001,u) to actually get the voicemail unavailable message to be played. Use 'b' for busy. In asterisk, you can type "core show application voicemail" to get the documentation for that app. As to the message you can play, voicemail has absolutely no mechanisms to allow you to apply some time schedules to your IVR prompts. But, if you null out the plain/busy/unavail messages, you can use the dialplan to set up any kind of opening messages you want, and in that way, you can do almost anything imaginable. When you get done playing whatever you want, then call the Voicemail() app for that user. If you use a few milliseconds of silence in all the recorded message files, then you have effectively overridden its built-in sound file playing with your own introductory messages instead. murf -- Steve Murphy
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users