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

Robert Lister robl at linx.net
Sat Mar 22 14:40:46 CDT 2008


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.

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



More information about the asterisk-users mailing list