I'm trying to send a fax directly through CLI (no NAT present) "originate sofia/gateway/sip.gafachi.com/1234567890 &txfax(/tmp/file.tiff)" I've followed directions on http://wiki.freeswitch.com/wiki/Mod_spandsp to set settings in my fax.conf: <configuration name="fax.conf" description="FAX application configuration"> <settings> <param name="use-ecm"value="false"/> <param name="verbose"value="true"/> <param name="disable-v17"value="false"/> <param name="enable-t38" value="true"/> <param name="enable-t38-request" value="true"/> <param name="spool-dir"value="/tmp"/> <param name="file-prefix"value="faxrx"/> </settings> </configuration> My freeswitch server communicates with SIP-provider(Gafachi) using this profile: <include> <gateway name="sip.gafachi.com"> <param name="username" value="XXXX"/> <param name="password" value="XXXX"/> <param name="register" value="true"/> <param name="realm" value="67.216.35.162"/> <param name="proxy" value="67.216.35.162:5060"/> </gateway> </include>
From the logs I can't see that T.38 is used. SpanDSP says:
2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 .... ...0= Store and forward Internet fax (T.37): Not set 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 .... .0..= Real-time Internet fax (T.38): Not set 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 .... 0...= 3G mobile network: Not set 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 .... ..1.= Receive fax: Set 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 ..10 00..= Selected data signalling rate: V.17 14400bps 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 .0.. ....= R8x7.7lines/mm and/or 200x200pels/25.4mm: Not set 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 0... ....= 2-D coding: Not set 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 .... ..00= Recording width: 215mm +- 1% 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 .... 10..= Recording length: Unlimited 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 .111 ....= Minimum scan line time: 0ms 2011-03-29 23:13:39.101285 [DEBUG] mod_spandsp_fax.c:296 FLOW T.30 0... ....= Extension indicator: Not set In the end "fax is successfully sent" (via T4 to my understanding), but I only receive it on the other efax 1/20 times. What am I missing?
participants (1)
-
Beary Beary