<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><SPAN class=384271314-06102005><SPAN class=937242314-06102005><FONT
face=Arial size=2>Has anyone configured ast_fax (sending faxes via asterisk)
with sendmail? The creation of rules to trap all numbers </FONT><A
href="mailto:XXXXXXXXXXX@domain.com"><FONT face=Arial color=#000000
size=2>XXXXXXXXXXX@domain.com</FONT></A><FONT face=Arial size=2> seems too
complicated. Does anyone have setup details to share? (I don't want
to switch MTA's).</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=384271314-06102005><SPAN class=937242314-06102005><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN class=384271314-06102005><SPAN
class=937242314-06102005><FONT>As a workaround, I could
</FONT></SPAN></SPAN><SPAN class=384271314-06102005>launch <SPAN
class=937242314-06102005>the </SPAN>app automatically from sendmail <SPAN
class=937242314-06102005>using an</SPAN> alias like:</SPAN></FONT></FONT></DIV>
<DIV><SPAN class=384271314-06102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=384271314-06102005><FONT face=Arial
size=2>fax: "| /ast_fax" </FONT></SPAN></DIV>
<DIV><SPAN class=384271314-06102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=384271314-06102005><FONT face=Arial size=2>That way sending to
</FONT><A title=mailto:fax@domain.com href="mailto:fax@domain.com"><FONT
face=Arial size=2>fax@domain.com</FONT></A><FONT face=Arial size=2> is easily
handled by the <SPAN class=937242314-06102005>send</SPAN>mail program
(without complex rules for numbers at the TO:) and launches <SPAN
class=937242314-06102005>the </SPAN>ast_fax app. The phone numbers to fax
to could be entered into to subject line of the
email.</FONT></SPAN></DIV>
<DIV><SPAN class=384271314-06102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=384271314-06102005><FONT face=Arial size=2>I looked
at <SPAN class=937242314-06102005>eps (</SPAN>address.c<SPAN
class=937242314-06102005>)</SPAN> and <SPAN class=937242314-06102005>and
ast_fax (</SPAN>ast_fax.c<SPAN class=937242314-06102005>)</SPAN> 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<SPAN class=937242314-06102005> of the To
line</SPAN>. 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.</FONT></SPAN></DIV>
<DIV><SPAN class=384271314-06102005><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=384271314-06102005><FONT face=Arial size=2>I'm wondering if
something like this has already been done? (I wouldn't want to reinvent
the wheel)....</FONT></SPAN></DIV>
<DIV><SPAN class=384271314-06102005><SPAN class=937242314-06102005><FONT
face=Arial size=2>Alternatively, does someone have a working sendmail config to
share?</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=384271314-06102005><SPAN class=937242314-06102005><FONT
face=Arial size=2></FONT></SPAN></SPAN> </DIV>
<DIV><SPAN class=384271314-06102005><SPAN class=937242314-06102005><FONT
face=Arial size=2>Thanks</FONT></SPAN></SPAN></DIV>
<DIV><SPAN class=384271314-06102005><SPAN class=937242314-06102005><FONT
face=Arial size=2>MD</FONT></SPAN></SPAN></DIV></DIV></BODY></HTML>