<!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">
<br>
I just tried again with the macro stripped out (very simple
extensions.conf file) and I still have the same problem where the
system launches rxfax and then the line just eventually times out. I
thought I may have a problem with my zapata.conf file, so I tried with
the physical fax machine on one of the extensions and it received
without any problems. I think that should rule out any issues in the
zapata.conf file?<br>
<br>
I am not sure where to go from here since I am not getting any errors
at all. I am running the CLI in full debug and verbose modes and am not
getting any errors. Are there any ideas where I should start? I tried
running older versions of spandsp (pre2 and pre4) and newer versions of
libtiff (3.7.2) with exactly the same results. I am currently running
what I believe is the recommended configuration of libtiff 3.5.7 and
spandsp pre10.<br>
<br>
Any ideas?<br>
<br>
Derrick<br>
<br>
Derrick Knight wrote:
<blockquote cite="mid42496705.3020809@freerangeminds.com" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
  <br>
Dave Cotton wrote:
  <blockquote cite="mid1112083574.8286.11.camel@RobinHood" type="cite">
    <pre wrap="">On Mon, 2005-03-28 at 18:18 -0800, Derrick Knight wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">I have got my Asterisk server running with TDM400 card (2xFXO &amp; 2xFXS). 
I originally had the system configured with a Panasonic fax machine on 
one of the extensions. Due to the high volume of fax spam, I figured it 
would be a much better idea to capture the faxes as TIF or PDF files to 
minimize wasted paper, etc. I have downloaded, compiled and installed 
spandsp and can see the rxfax and txfax applications from within 
Asterisk. When a fax comes in, it calls the rxfax application and then 
does nothing. Here is my log:

Connected to Asterisk CVS-HEAD-03/28/05-16:44:11 currently running on 
video (pid = 22837)
video*CLI&gt;
    -- Starting simple switch on 'Zap/3-1'
    -- Executing SetMusicOnHold("Zap/3-1", "default") in new stack
    -- Executing Answer("Zap/3-1", "") in new stack
    -- Executing Dial("Zap/3-1", "Zap/1|15") in new stack
    -- Called 1
    -- Zap/1-1 is ringing
    -- Zap/1-1 is ringing
    -- Redirecting Zap/3-1 to fax extension
    -- Hungup 'Zap/1-1'
    -- Executing Macro("Zap/3-1", "faxreceive") in new stack
    -- Executing SetVar("Zap/3-1", "FAXFILE=/data/fax/1112059186.0.tif") 
in new stack
    -- Executing RxFAX("Zap/3-1", "/data/fax/1112059186.0.tif") in new stack
    -- Hungup 'Zap/3-1'

I am running:
Fedora Core 3 (2.6.10-1.770_14)
Asterisk (CVS-HEAD-03/28/05-16:44:11)
SpanDSP 0.0.2pre10
libtiff 3.5.7 (including dev source)

Any guidance would be appreciated.
    </pre>
    </blockquote>
    <pre wrap=""><!---->
This is what I'm using albeit on an X100, that does work, I seem to
remember having trouble with the macro so used this instead.

[analog-in]
;
exten =&gt; s,1,System(/bin/echo -n -e "'@CALL${CALLERIDNAME} ~
${CALLERIDNUM}'" | nc -q0 -w1 192.168.1.161 10629)
exten =&gt; s,2,Answer
exten =&gt; s,3,GotoIf($[${CALLERIDNUM} = ${DAVE_MOBILE}]?disa,s,1)
exten =&gt; s,4,SetCallerID(9${CALLERIDNUM})
exten =&gt; s,5,Dial(${ALLPHONES},20,tr)
exten =&gt; s,6,Voicemail(u${INSTITUTE_VM})
exten =&gt; s,7,Hangup
exten =&gt; s,106,Voicemail(b${INSTITUTE_VM})
exten =&gt; s,107,Hangup
;
exten =&gt; fax,1,SetCallerID(${CALLERIDNUM})
exten =&gt; fax,2,SetVar(FAXFILE=/var/spool/asterisk-fax/${UNIQUEID}.tif)
exten =&gt; fax,3,rxfax(${FAXFILE})
exten =&gt; fax,4,System(/usr/bin/mailfax ${FAXFILE} ${EMAILADDR}
${CALLERID})
exten =&gt; fax,5,Hangup
;

Dave Cotton

_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext"
 href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext"
 href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>



  </pre>
  </blockquote>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
</blockquote>
</body>
</html>