I figured out the problem. Actually the sending fax machine speed was set as 33000 bps, later I set to 14400 bps and in my dial plan, I forcefully set to use T.38 protocol. After that I was able to receive fax.<br><br>Thanks Tim for assisting me out :).<br>
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
----- Original Message -----<br>
<br>
&gt; Hi Tim,<br>
<br>
&gt; I&#39;m using Asterisk 10 and on Cisco GW the protocol is set for FAX is<br>
&gt; T.38 and when I try to send the fax from a fax machine i.e. HP 3180,<br>
&gt; I&#39;m getting some warnings as listed below;<br>
<br>
&gt; -- Executing [4112345678@default:1] Goto(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;fax-detect,fax,1&quot;) in new stack<br>
&gt; -- Goto (fax-detect,fax,1)<br>
&gt; -- Executing [fax@fax-detect:1] NoOp(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;**** FAX DETECTED ****&quot;) in new stack<br>
&gt; -- Executing [fax@fax-detect:2] Goto(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;fax-receive,receive,1&quot;) in new stack<br>
&gt; -- Goto (fax-receive,receive,1)<br>
&gt; -- Executing [receive@fax-receive:1]<br>
&gt; NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;**** FAX RECEIVE ****&quot;) in new<br>
&gt; stack<br>
&gt; -- Executing [receive@fax-receive:2] Set(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;GLOBAL(FAXCOUNT)=5&quot;) in new stack<br>
&gt; == Setting global variable &#39;FAXCOUNT&#39; to &#39;5&#39;<br>
&gt; -- Executing [receive@fax-receive:3] Set(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;FAXCOUNT=5&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:4] Set(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;FAXFILE=fax-5-rx.tif&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:5] Set(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;GLOBAL(LASTFAXCALLERNUM)=6461234567&quot;) in new stack<br>
&gt; == Setting global variable &#39;LASTFAXCALLERNUM&#39; to &#39;6461234567&#39;<br>
&gt; -- Executing [receive@fax-receive:6] Set(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;GLOBAL(LASTFAXCALLERNAME)=&quot;) in new stack<br>
&gt; == Setting global variable &#39;LASTFAXCALLERNAME&#39; to &#39;&#39;<br>
&gt; -- Executing [receive@fax-receive:7]<br>
&gt; NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;**** SETTING FAXOPT ****&quot;) in new<br>
&gt; stack<br>
&gt; -- Executing [receive@fax-receive:8] Set(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;FAXOPT(ecm)=yes&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:9] Set(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;FAXOPT(headerinfo)=MY FAXBACK RX&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:10]<br>
&gt; Set(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;FAXOPT(localstationid)=1234567890&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:11]<br>
&gt; Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(maxrate)=14400&quot;) in new<br>
&gt; stack<br>
&gt; -- Executing [receive@fax-receive:12]<br>
&gt; Set(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(minrate)=2400&quot;) in new<br>
&gt; stack<br>
&gt; -- Executing [receive@fax-receive:13]<br>
&gt; NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(ecm) : yes&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:14]<br>
&gt; NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(headerinfo) : MY FAXBACK<br>
&gt; RX&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:15]<br>
&gt; NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(localstationid) :<br>
&gt; 1234567890&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:16]<br>
&gt; NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(maxrate) : 14400&quot;) in new<br>
&gt; stack<br>
&gt; -- Executing [receive@fax-receive:17]<br>
&gt; NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;FAXOPT(minrate) : 2400&quot;) in new<br>
&gt; stack<br>
&gt; -- Executing [receive@fax-receive:18]<br>
&gt; NoOp(&quot;SIP/192.168.1.69-00000005&quot;, &quot;**** RECEIVING FAX : fax-5-rx.tif<br>
&gt; ****&quot;) in new stack<br>
&gt; -- Executing [receive@fax-receive:19]<br>
&gt; ReceiveFAX(&quot;SIP/192.168.1.69-00000005&quot;,<br>
&gt; &quot;/var/spool/asterisk/fax/fax-5-rx.tif&quot;) in new stack<br>
&gt; -- Channel &#39;SIP/192.168.1.69-00000005&#39; receiving FAX<br>
&gt; &#39;/var/spool/asterisk/fax/fax-5-rx.tif&#39;<br>
&gt; == Using UDPTL CoS mark 5<br>
&gt; [Jun 4 12:35:02] NOTICE[10371]: chan_sip.c:7577 sip_read: FAX CNG<br>
&gt; detected but no fax extension<br>
&gt; [Jun 4 12:35:02] WARNING[10072]: res_fax.c:1666 receivefax_t38_init:<br>
&gt; channel &#39;SIP/192.168.1.69-00000005&#39; refused to negotiate T.38<br>
&gt; [Jun 4 12:35:02] WARNING[10072]: res_fax.c:1687 receivefax_t38_init:<br>
&gt; Audio FAX not allowed on channel &#39;SIP/192.168.1.69-00000005&#39; and<br>
&gt; T.38 negotiation failed; aborting.<br>
&gt; [Jun 4 12:35:02] ERROR[10072]: res_fax.c:1891 receivefax_exec: error<br>
&gt; initializing channel &#39;SIP/192.168.1.69-00000005&#39; in T.38 mode<br>
&gt; == Spawn extension (fax-receive, receive, 19) exited non-zero on<br>
&gt; &#39;SIP/192.168.1.69-00000005&#39;<br>
<br>
&gt; In my sip.conf global configuration I enabled &#39;fax detect&#39; and<br>
&gt; &#39;t38pt_udptl&#39; and added Cisco VGW peer;<br>
<br>
&gt; [CiscoVGW-10.70.X.X]<br>
&gt; host=10.70.X.X<br>
&gt; type=friend<br>
&gt; disallow=all<br>
&gt; allow=ulaw<br>
&gt; allow=alaw<br>
&gt; nat=yes<br>
&gt; insecure=port,invite<br>
&gt; context=fax-call<br>
&gt; canreinvite=no<br>
&gt; qualify=yes<br>
&gt; dtmfmode=inband<br>
<br>
<br>
T.38 failed to negotiate. That means either your Asterisk side, or your Cisco side are not playing nicely together. A packet capture of the call setup would be helpful to determine which side is having the issues.<br>
<br>
--Tim<br>
<br></blockquote></div>-- <br>Regards,<br><br>Ahmed Munir Chohan<br><br><br>