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>
> Hi Tim,<br>
<br>
> I'm using Asterisk 10 and on Cisco GW the protocol is set for FAX is<br>
> T.38 and when I try to send the fax from a fax machine i.e. HP 3180,<br>
> I'm getting some warnings as listed below;<br>
<br>
> -- Executing [4112345678@default:1] Goto("SIP/192.168.1.69-00000005",<br>
> "fax-detect,fax,1") in new stack<br>
> -- Goto (fax-detect,fax,1)<br>
> -- Executing [fax@fax-detect:1] NoOp("SIP/192.168.1.69-00000005",<br>
> "**** FAX DETECTED ****") in new stack<br>
> -- Executing [fax@fax-detect:2] Goto("SIP/192.168.1.69-00000005",<br>
> "fax-receive,receive,1") in new stack<br>
> -- Goto (fax-receive,receive,1)<br>
> -- Executing [receive@fax-receive:1]<br>
> NoOp("SIP/192.168.1.69-00000005", "**** FAX RECEIVE ****") in new<br>
> stack<br>
> -- Executing [receive@fax-receive:2] Set("SIP/192.168.1.69-00000005",<br>
> "GLOBAL(FAXCOUNT)=5") in new stack<br>
> == Setting global variable 'FAXCOUNT' to '5'<br>
> -- Executing [receive@fax-receive:3] Set("SIP/192.168.1.69-00000005",<br>
> "FAXCOUNT=5") in new stack<br>
> -- Executing [receive@fax-receive:4] Set("SIP/192.168.1.69-00000005",<br>
> "FAXFILE=fax-5-rx.tif") in new stack<br>
> -- Executing [receive@fax-receive:5] Set("SIP/192.168.1.69-00000005",<br>
> "GLOBAL(LASTFAXCALLERNUM)=6461234567") in new stack<br>
> == Setting global variable 'LASTFAXCALLERNUM' to '6461234567'<br>
> -- Executing [receive@fax-receive:6] Set("SIP/192.168.1.69-00000005",<br>
> "GLOBAL(LASTFAXCALLERNAME)=") in new stack<br>
> == Setting global variable 'LASTFAXCALLERNAME' to ''<br>
> -- Executing [receive@fax-receive:7]<br>
> NoOp("SIP/192.168.1.69-00000005", "**** SETTING FAXOPT ****") in new<br>
> stack<br>
> -- Executing [receive@fax-receive:8] Set("SIP/192.168.1.69-00000005",<br>
> "FAXOPT(ecm)=yes") in new stack<br>
> -- Executing [receive@fax-receive:9] Set("SIP/192.168.1.69-00000005",<br>
> "FAXOPT(headerinfo)=MY FAXBACK RX") in new stack<br>
> -- Executing [receive@fax-receive:10]<br>
> Set("SIP/192.168.1.69-00000005",<br>
> "FAXOPT(localstationid)=1234567890") in new stack<br>
> -- Executing [receive@fax-receive:11]<br>
> Set("SIP/192.168.1.69-00000005", "FAXOPT(maxrate)=14400") in new<br>
> stack<br>
> -- Executing [receive@fax-receive:12]<br>
> Set("SIP/192.168.1.69-00000005", "FAXOPT(minrate)=2400") in new<br>
> stack<br>
> -- Executing [receive@fax-receive:13]<br>
> NoOp("SIP/192.168.1.69-00000005", "FAXOPT(ecm) : yes") in new stack<br>
> -- Executing [receive@fax-receive:14]<br>
> NoOp("SIP/192.168.1.69-00000005", "FAXOPT(headerinfo) : MY FAXBACK<br>
> RX") in new stack<br>
> -- Executing [receive@fax-receive:15]<br>
> NoOp("SIP/192.168.1.69-00000005", "FAXOPT(localstationid) :<br>
> 1234567890") in new stack<br>
> -- Executing [receive@fax-receive:16]<br>
> NoOp("SIP/192.168.1.69-00000005", "FAXOPT(maxrate) : 14400") in new<br>
> stack<br>
> -- Executing [receive@fax-receive:17]<br>
> NoOp("SIP/192.168.1.69-00000005", "FAXOPT(minrate) : 2400") in new<br>
> stack<br>
> -- Executing [receive@fax-receive:18]<br>
> NoOp("SIP/192.168.1.69-00000005", "**** RECEIVING FAX : fax-5-rx.tif<br>
> ****") in new stack<br>
> -- Executing [receive@fax-receive:19]<br>
> ReceiveFAX("SIP/192.168.1.69-00000005",<br>
> "/var/spool/asterisk/fax/fax-5-rx.tif") in new stack<br>
> -- Channel 'SIP/192.168.1.69-00000005' receiving FAX<br>
> '/var/spool/asterisk/fax/fax-5-rx.tif'<br>
> == Using UDPTL CoS mark 5<br>
> [Jun 4 12:35:02] NOTICE[10371]: chan_sip.c:7577 sip_read: FAX CNG<br>
> detected but no fax extension<br>
> [Jun 4 12:35:02] WARNING[10072]: res_fax.c:1666 receivefax_t38_init:<br>
> channel 'SIP/192.168.1.69-00000005' refused to negotiate T.38<br>
> [Jun 4 12:35:02] WARNING[10072]: res_fax.c:1687 receivefax_t38_init:<br>
> Audio FAX not allowed on channel 'SIP/192.168.1.69-00000005' and<br>
> T.38 negotiation failed; aborting.<br>
> [Jun 4 12:35:02] ERROR[10072]: res_fax.c:1891 receivefax_exec: error<br>
> initializing channel 'SIP/192.168.1.69-00000005' in T.38 mode<br>
> == Spawn extension (fax-receive, receive, 19) exited non-zero on<br>
> 'SIP/192.168.1.69-00000005'<br>
<br>
> In my sip.conf global configuration I enabled 'fax detect' and<br>
> 't38pt_udptl' 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>
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>