[asterisk-users] Which command line is used to send emails to notify incoming voicemail ?

Olivier oza-4h07 at myamail.com
Sun Mar 23 17:07:57 CDT 2008


2008/3/22, Robert Lister <robl at linx.net>:
>
> On Fri, Mar 21, 2008 at 12:21:09PM +0100, Olivier wrote:
> > > In Asterisk full log, I can see
> > Mar 20 14:36:41 DEBUG[29025] app_voicemail.c: Sent mail to
> > XXX at example.orgwith command '/usr/sbin/sendmail -t'
> >
> > But when I type "/usr/sbin/sendmail  XXX at example.org" I can't see the
> same
> > log lines with this id field.
>
> According to the exim docs (if I understand correctly) the message ID used
> is derived from the incoming header:
>
> Message-Id: <>
>
> So, I assume that whatever is submitting the messages to exim is also
> adding
> this Message-Id: header line.
>
> If there is no message ID, then exim uses its internal message ID, but
> doesn't appear to log an "id=" line.


Yes, you're right.
Voicemails are sent with "sendmail < voicemailfile" commands.
The trick is find how to build such files.

I'll try to find how to buil those and report.

You could write a wrapper script for your incoming faxes that uses some sort
> of date/time+username combination using existing variables available in
> asterisk (maybe ${EPOCH} + ${UNIQUEID} + the recipient would do) or
> something from the shell script to call the file name.)
>
> R.
>
>
> --
> Robert Lister     - London Internet Exchange - http://www.linx.net/
> sip:robl at linx.net - inoc-dba:5459*710        - tel: +44 (0)20 7645 3510
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080323/cae84aca/attachment.htm 


More information about the asterisk-users mailing list