<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I've got an analog phone which is currently receiving unsollicited FAX calls from PSTN.<br></div><br></div>For learning purpose, I'm preparing an Asterisk/SPA3102 setup that would let voice calls come in and out and translate incoming FAX calls to TIF files (forwarded through email)).<br>
<br></div><div>My target setup is :<br></div><div><br></div>PSTN <-- analog--> SPA3102 Line Port <-- SIP --> Asterisk <-- SIP -->  SPA3102 Phone Port <-- analog --> Analog phone<br><br><br></div>When a call comes in, analog phone rings.<br>
</div>If callee answers and a fax tone is detected, then the incoming call is sent by Asterisk to ReceiveFAX application which translates incoming audio to TIF file.<br><br></div>My setup is working ok when I'm using ReceiveFAX in fallback mode (with f option).<br>
<br></div>Then I would like to improve my setup letting ReceiveFAX negociate T.38 with SPA3102.<br></div>The trouble is SPA3102, as I configured it, seems to refuse T.38 negociation as I'm reading lines like this in Asterisk logs:<br>
<br>  == Using UDPTL CoS mark 5<br>[2013-11-05 10:36:50] WARNING[3061][C-00000007]: res_fax.c:1698 receivefax_t38_init: channel 'SIP/myline-0000000e' refused to negotiate T.38<br><br></div>My question is:<br></div>
Any hint on how to configure SPA3102 PSTN Line port so that it  would accept to upgrade to T.38 ?<br><br><br></div><div>When Asterisk re-invites SPA3102, here is the dialog between both boxes:<br></div><div><br><br><br>INVITE <a href="http://sip:myline@172.16.2.12:5061">sip:myline@172.16.2.12:5061</a> SIP/2.0<br>
Via: SIP/2.0/UDP 172.16.2.1:5060;branch=z9hG4bK260a479e<br>Max-Forwards: 70<br>From: <<a href="mailto:sip%3A4250@172.16.2.1">sip:4250@172.16.2.1</a>>;tag=as1a0daffe<br>To: myline <<a href="mailto:sip%3Amyline@172.16.2.1">sip:myline@172.16.2.1</a>>;tag=2d2e7e5ad74dec0co1<br>
Contact: <<a href="http://sip:4250@172.16.2.1:5060">sip:4250@172.16.2.1:5060</a>><br>Call-ID: <a href="mailto:c8278ef2-b80a5454@172.16.2.12">c8278ef2-b80a5454@172.16.2.12</a><br>CSeq: 102 INVITE<br>User-Agent: FPBX-2.11.0(11.3.0)<br>
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH<br>Supported: replaces, timer<br>X-asterisk-Info: SIP re-invite (External RTP bridge)<br>Content-Type: application/sdp<br>Content-Length: 257<br>
<br>v=0<br>o=root 473469291 473469292 IN IP4 172.16.2.1<br>s=Asterisk PBX 11.5.0<br>c=IN IP4 172.16.2.1<br>t=0 0<br>m=image 4506 udptl t38<br>a=T38FaxVersion:0<br>a=T38MaxBitRate:14400<br>a=T38FaxRateManagement:transferredTCF<br>
a=T38FaxMaxDatagram:849<br>a=T38FaxUdpEC:t38UDPFEC<br><br>---<br><br><--- SIP read from UDP:<a href="http://172.16.2.12:5061">172.16.2.12:5061</a> ---><br>SIP/2.0 488 Not Acceptable Here<br>To: myline <<a href="mailto:sip%3Amyline@172.16.2.1">sip:myline@172.16.2.1</a>>;tag=2d2e7e5ad74dec0co1<br>
From: <<a href="mailto:sip%3A4250@172.16.2.1">sip:4250@172.16.2.1</a>>;tag=as1a0daffe<br>Call-ID: <a href="mailto:c8278ef2-b80a5454@172.16.2.12">c8278ef2-b80a5454@172.16.2.12</a><br>CSeq: 102 INVITE<br>Via: SIP/2.0/UDP 172.16.2.1:5060;branch=z9hG4bK260a479e<br>
Contact: myline <<a href="http://sip:myline@172.16.2.12:5061">sip:myline@172.16.2.12:5061</a>><br>Warning: 304 spa "Media type not available"<br>Server: Linksys/SPA3102-5.1.10(GW)<br>Content-Length: 0<br><br>
</div><div><div><div><br><br></div><div>Any hint ?<br><br></div><div>Regards<br></div></div></div></div>