> 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 [email protected] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
