Has anyone configured ast_fax (sending faxes via asterisk) with sendmail?  The creation of rules to trap all numbers [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to