<div class="gmail_quote">Hi Tim,<br><br>I&#39;m using Asterisk 10 and on Cisco GW the protocol is set for FAX is T.38 and when I try to send the fax from a fax machine i.e. HP 3180, I&#39;m getting some warnings as listed below;<br>
<br>    -- Executing [4112345678@default:1] Goto(&quot;SIP/192.168.1.69-00000005&quot;, &quot;fax-detect,fax,1&quot;) in new stack<br>    -- Goto (fax-detect,fax,1)<br>    -- Executing [fax@fax-detect:1] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;**** FAX DETECTED ****&quot;) in new stack<br>
    -- Executing [fax@fax-detect:2] Goto(&quot;SIP/192.168.1.69-00000005&quot;, &quot;fax-receive,receive,1&quot;) in new stack<br>    -- Goto (fax-receive,receive,1)<br>    -- Executing [receive@fax-receive:1] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;**** FAX RECEIVE ****&quot;) in new stack<br>
    -- Executing [receive@fax-receive:2] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;GLOBAL(FAXCOUNT)=5&quot;) in new stack<br>  == Setting global variable &#39;FAXCOUNT&#39; to &#39;5&#39;<br>    -- Executing [receive@fax-receive:3] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXCOUNT=5&quot;) in new stack<br>
    -- Executing [receive@fax-receive:4] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXFILE=fax-5-rx.tif&quot;) in new stack<br>    -- Executing [receive@fax-receive:5] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;GLOBAL(LASTFAXCALLERNUM)=6461234567&quot;) in new stack<br>
  == Setting global variable &#39;LASTFAXCALLERNUM&#39; to &#39;6461234567&#39;<br>    -- Executing [receive@fax-receive:6] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;GLOBAL(LASTFAXCALLERNAME)=&quot;) in new stack<br>
  == Setting global variable &#39;LASTFAXCALLERNAME&#39; to &#39;&#39;<br>    -- Executing [receive@fax-receive:7] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;**** SETTING FAXOPT ****&quot;) in new stack<br>    -- Executing [receive@fax-receive:8] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(ecm)=yes&quot;) in new stack<br>
    -- Executing [receive@fax-receive:9] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(headerinfo)=MY FAXBACK RX&quot;) in new stack<br>    -- Executing [receive@fax-receive:10] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(localstationid)=1234567890&quot;) in new stack<br>
    -- Executing [receive@fax-receive:11] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(maxrate)=14400&quot;) in new stack<br>    -- Executing [receive@fax-receive:12] Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(minrate)=2400&quot;) in new stack<br>
    -- Executing [receive@fax-receive:13] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(ecm) : yes&quot;) in new stack<br>    -- Executing [receive@fax-receive:14] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(headerinfo) : MY FAXBACK RX&quot;) in new stack<br>
    -- Executing [receive@fax-receive:15] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(localstationid) : 1234567890&quot;) in new stack<br>    -- Executing [receive@fax-receive:16] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(maxrate) : 14400&quot;) in new stack<br>
    -- Executing [receive@fax-receive:17] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(minrate) : 2400&quot;) in new stack<br>    -- Executing [receive@fax-receive:18] NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;**** RECEIVING FAX : fax-5-rx.tif ****&quot;) in new stack<br>
    -- Executing [receive@fax-receive:19] ReceiveFAX(&quot;SIP/192.168.1.69-00000005&quot;, &quot;/var/spool/asterisk/fax/fax-5-rx.tif&quot;) in new stack<br>    -- Channel &#39;SIP/192.168.1.69-00000005&#39; receiving FAX &#39;/var/spool/asterisk/fax/fax-5-rx.tif&#39;<br>
  == Using UDPTL CoS mark 5<br>[Jun  4 12:35:02] NOTICE[10371]: chan_sip.c:7577 sip_read: FAX CNG detected but no fax extension<br>[Jun  4 12:35:02] WARNING[10072]: res_fax.c:1666 receivefax_t38_init: channel &#39;SIP/192.168.1.69-00000005&#39; refused to negotiate T.38<br>
[Jun  4 12:35:02] WARNING[10072]: res_fax.c:1687 receivefax_t38_init: Audio FAX not allowed on channel &#39;SIP/192.168.1.69-00000005&#39; and T.38 negotiation failed; aborting.<br>[Jun  4 12:35:02] ERROR[10072]: res_fax.c:1891 receivefax_exec: error initializing channel &#39;SIP/192.168.1.69-00000005&#39; in T.38 mode<br>
  == Spawn extension (fax-receive, receive, 19) exited non-zero on &#39;SIP/192.168.1.69-00000005&#39;<br><br>In my sip.conf global configuration I enabled &#39;fax detect&#39; and &#39;t38pt_udptl&#39; and added Cisco VGW peer;<br>
<br>[CiscoVGW-10.70.X.X]<br>host=10.70.X.X<br>type=friend<br>disallow=all<br>allow=ulaw<br>allow=alaw<br>nat=yes<br>insecure=port,invite<br>context=fax-call<br>canreinvite=no<br>qualify=yes<br>dtmfmode=inband<br><br><br>While the fax machine starts to send the fax after a while it gives the message, &#39;Fax failed&#39; with error code: &#39;388&#39;. Is it the end point fax machine issue or else? Please assist me out to resolve this issue at earliest.<br>
<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
<br>
<br>
&gt; Thanks for your response. Here is my topology as listing down below;<br>
<br>
&gt; PSTN Line --&gt; Cisco Voice GW --&gt; IP Cloud --&gt; Asterisk<br>
<br>
&gt; Will Asterisk able to receive the fax (as in topology above) using<br>
&gt; its&#39; fax module? In sip.conf I enabled fax detection and T.38.<br>
&gt; Actually I don&#39;t want<br>
&gt; to use Hylafax + iaxmodem as per requirement.<br>
<br>
If your Cisco voice gateway can deliver the calls using T.38, that should give you decent reliability. You&#39;ll want to us Asterisk 10 which has the best T.38 support at this point (compared to older releases). The receiving side of the equation then becomes whether to use Fax for Asterisk (commercial, 1 free channel, 2+ paid), or the included SpanDSP based fax module.<br>

<br>
--Tim<br>
<br>
</blockquote><div><br>-- <br></div></div>Regards,<br><br>Ahmed Munir Chohan<br><br><br>