[asterisk-users] custom voicemail e-mail
Steve Edwards
asterisk.org at sedwards.com
Thu Sep 17 09:13:20 CDT 2009
> On Thursday 17 September 2009 02:52:42 Patrick wrote:
>> I want to send an email in html format as well as sending an SMS to the
>> mailbox owner using clickatell's api
>>
>> Any other ways to do this ?
On Thu, 17 Sep 2009, Tilghman Lesher wrote:
> Use the "externnotify" option in voicemail.conf. The arguments to this
> program are the context, extension, new-voicemails, old-voicemails, and
> (on newer versions) urgent-voicemails.
>
> Take the new-voicemails (a number), subtract 1, load the corresponding
> .txt file, and you have all the information available to a voicemail
> message, so you can send whatever emails you need to from here.
voicemail.conf says "If you need to have an external program, i.e.
/usr/bin/myapp called when a voicemail is left, delivered, or your
voicemailbox is checked, uncomment this."
Can myapp differentiate between left, delivered, or checked?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list