[Asterisk-Users] ast_fax with sendmail

Technical Support support at ocg.ca
Thu Oct 6 07:36:53 MST 2005


Has anyone configured ast_fax (sending faxes via asterisk) with sendmail?
The creation of rules to trap all numbers  <mailto:XXXXXXXXXXX at domain.com>
XXXXXXXXXXX at domain.com seems too complicated.  Does anyone have setup
details to share?  (I don't want to switch MTA's).
 
As a workaround, I could launch the app automatically from sendmail using an
alias like:
 
fax:    "| /ast_fax" 
 
That way sending to  <mailto:fax at domain.com> fax at domain.com is easily
handled by the sendmail program (without complex rules for numbers at the
TO:) and launches the ast_fax app.  The phone numbers to fax to could be
entered into to subject line of the email.
 
I looked at eps (address.c) and and ast_fax (ast_fax.c) and it looks like
all that is needed is modifying address.c (or copy it so subject.c) to
extract from the Subject line instead of the To line.  Making this even more
useful would be adding a parameter to the .call file which tells ast_fax to
extract phone numbers from either the TO: line (default) or the SUBJECT
line.
 
I'm wondering if something like this has already been done?  (I wouldn't
want to reinvent the wheel)....
Alternatively, does someone have a working sendmail config to share?
 
Thanks
MD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051006/abe7b132/attachment.htm


More information about the asterisk-users mailing list