<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Still no luck,<br>
&nbsp;&nbsp;&nbsp; -- Accepting call from '3126290600' to '3125727758' on channel 0/1,
span 2<br>
&nbsp;&nbsp;&nbsp; -- Executing [3125727758@from-pstn:1] Macro("Zap/25-1",
<a class="moz-txt-link-rfc2396E" href="mailto:faxreceive|7758|rschall@callone.net">"faxreceive|7758|rschall@callone.net"</a>) in new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-faxreceive:1] Answer("Zap/25-1", "") in new
stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-faxreceive:2] Set("Zap/25-1",
"FAXFILE=/var/spool/asterisk/fax/7758_3126290600_1207338128.77.tif") in
new stack<br>
&nbsp;&nbsp;&nbsp; -- Executing [s@macro-faxreceive:3] RxFAX("Zap/25-1",
"/var/spool/asterisk/fax/7758_3126290600_1207338128.77.tif") in new
stack<br>
&nbsp;&nbsp;&nbsp; -- Channel 0/1, span 2 got hangup request, cause 16<br>
&nbsp;&nbsp;&nbsp; -- Hungup 'Zap/25-1'<br>
<br>
Extensions.conf<br>
[macro-faxreceive]<br>
exten =&gt; s,1,Answer()<br>
exten =&gt;
s,n,Set(FAXFILE=/var/spool/asterisk/fax/${ARG1}_${CALLERID(num)}_${UNIQUEID}.tif)<br>
exten =&gt; s,n,rxfax(${FAXFILE})<br>
exten =&gt; s,n,System(/usr/bin/mailfax "${ARG1}" "${CALLERID(num)}"
"${CALLERID(name)}" "${FAXFILE}" "${ARG2}")<br>
exten =&gt; s,n,Hangup()<br>
exten =&gt; h,1,System(/usr/bin/mailfax "${ARG1}" "${CALLERID(num)}"
"${CALLERID(name)}" "${FAXFILE}" "${ARG2}")<br>
exten =&gt; h,n,NoOP(/usr/bin/mailfax "${ARG1}" "${CALLERID(num)}"
"${CALLERID(name)}" "${FAXFILE}")<br>
exten =&gt; h,n,Hangup()<br>
<br>
Doug Lytle wrote:
<blockquote cite="mid:47F68030.7030205@drdos.info" type="cite">
  <pre wrap="">Rob Schall wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">exten =&gt; s,n,Hangup()
exten =&gt; h,1,System(/usr/bin/mailfax "${ARG1}" "${CALLERID(num)}" 
"${CALLERID(name)}" "${FAXFILE}" 
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Can you and a NoOP and send the output:

exten =&gt; h,n,NoOP(/usr/bin/mailfax "${ARG1}" "${CALLERID(num)}" 
"${CALLERID(name)}" "${FAXFILE}")

Doug

  </pre>
</blockquote>
<br>
</body>
</html>