Why are you making someone press *7 to transfer to the rxfax?  You could use fax detect and warp it over without bothering the user.  I would need to see your spandsp.conf to see what settings you have, sounds like you've disabled ECM and this endpoint doesn't support that possibly, But again thats just me guessing based on the limited information.

/b


On Fri, Dec 2, 2016 at 7:02 AM, Mimiko <vbvbrj@gmail.com> wrote:
Hello.

1) Recently I've implemented receiving fax by FS. When a fax is in
process of receiving sometimes in log appears this warning:

mod_spandsp_fax.c:291 WARNING T.30 Non-ECM carrier not found

Then when I look in final tif image I see some distortion, like black
interrupted lines and a portion of image is missing. Its like from page
were cut a string and it was glued together at rims. This lines can
appear 1,2,3 times and is equal to number of warnings.

Where does the fault produce.

2) Also some faxes come in incorrect page orientation. Original is
portrait, but resulting tif is in landscape and image is stretched to
fit long edge and short edge. How can I specify to FS to always use
portrait orientation?

3) Some times a receiving party have to answer the call and redirect the
calling party to fax receiving extension by bond digits. So I use in
dialplan:

default:
<extension name="Local_Extension">
<condition field="destination_number" expression="^([1-9]\d\d\d)$">
<action application="bind_digit_action"
data="$${domain_name},*7,exec:execute_extension,rxfax_stream_transfer
XML features_local,peer,self"/>
<action application="bridge"
data="user/${dialed_extension}@${domain_name}"/>
</condition>

features_local:
<extension name="rxfax_stream_transfer">
<condition field="destination_number" expression="^rxfax_stream_transfer$">
<action application="transfer" data="-bleg rxfax_stream XML
features_local"/>
</condition>
</extension>

How can I avoid using an additional extension for transferring incoming
call to rxfax_stream extension using only one command to bind_digit_action ?

<action application="bind_digit_action"
data="$${domain_name},*7,exec:transfer,rxfax_stream XML
features_local,peer,self"/>
<action application="bind_digit_action"
data="$${domain_name},*7,exec:transfer,rxfax_stream XML
features_local,peer,peer"/>
<action application="bind_digit_action"
data="$${domain_name},*7,exec:transfer,rxfax_stream XML
features_local,peer,booth"/>

all transfers the called party to the fax receive application.

Thank you for answers.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com (50% Discount using code FreeSwitch50)
http://www.freeswitchcookbook.com 
(50% Discount using code FreeSwitch50)
https://www.gofundme.com/freeswitch_ubuntu

Got Bugs? Report them here! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest