[Asterisk-Dev] new dev question.

Jon Lawrence jon at lawrence.org.uk
Wed Dec 15 14:08:17 MST 2004


On Wednesday 15 December 2004 20:45, Tilghman Lesher wrote:
>
> There's no point to asking if somebody else is already working on it --
> there are a ton of patches that people are "working on" that will continue
> to be works in progress for many months.  If you want something done, do it
> or pay someone to do it, because if it isn't already in the bugtracker or
> CVS, there is very little to say that you won't get it _done_ first.

Make sense.

> > What I'm wanting to do is a follows:
> > I need to be able to run a custom announcement when a call is passed to
> > voicemail - I also need to be able to using busy and unavail
> > announcement. I know this could be achieved with playback(filename)
> > before calling voicemail(s${EXTEN}).
> > But I think it would be neater to add another option to voicemail.
> > ie voicemail(c${EXTEN},filename) where c = play custom announcement and
> > filename = the file to play.
>
> You should probably make it more like the Dial arguments, i.e.
> Voicemail(${EXTEN},c(filename)).  At the same time, you might even
> want to move the [sub] options to the second argument, along with your c
> option, although you should probably keep processing possible [sub] options
> at the beginning for the time being, for backwards (but deprecated)
> functionality.
I hadn't considered totally changing the [sub] options, will take a look at 
what's involved in doing that.

Jon



More information about the asterisk-dev mailing list