WARNING T.30 Non-ECM carrier not found
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.
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 <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
On 02.12.2016 16:54, Brian West wrote:
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.
Thank you for reply. Of course I have fax detect mechanism in dialplan. This option is for old fax machines were some one calls from fax and asks for fax tone. So called person would press *7 and rxfax will send a fax tone to the caller's fax machine to initiate fax transmitting. This is spandsp.conf without comments: <configuration name="spandsp.conf" description="SpanDSP config"> <modem-settings> <param name="total-modems" value="1"/> <param name="context" value="default"/> <param name="dialplan" value="XML"/> <param name="verbose" value="true"/> </modem-settings> <fax-settings> <param name="use-ecm" value="true"/> <param name="verbose" value="true"/> <param name="disable-v17" value="false"/> <param name="ident" value="SpanDSP Fax Ident"/> <param name="header" value="SpanDSP Fax Header"/> <param name="spool-dir" value="/tmp"/> <param name="file-prefix" value="faxrx"/> <param name="enable-t38" value="true"/> <param name="enable-t38-request" value="true"/> </fax-settings> <descriptors> <descriptor name="1"> <tone name="CED_TONE"> <element freq1="2100" freq2="0" min="700" max="0"/> </tone> <tone name="SIT"> <element freq1="950" freq2="0" min="256" max="400"/> <element freq1="1400" freq2="0" min="256" max="400"/> <element freq1="1800" freq2="0" min="256" max="400"/> </tone> <tone name="RING_TONE" description="North America ring"> <element freq1="440" freq2="480" min="1200" max="0"/> </tone> <tone name="REORDER_TONE"> <element freq1="480" freq2="620" min="224" max="316"/> <element freq1="0" freq2="0" min="168" max="352"/> <element freq1="480" freq2="620" min="224" max="316"/> </tone> <tone name="BUSY_TONE"> <element freq1="480" freq2="620" min="464" max="536"/> <element freq1="0" freq2="0" min="464" max="572"/> <element freq1="480" freq2="620" min="464" max="536"/> </tone> </descriptor> <descriptor name="44"> <tone name="CED_TONE"> <element freq1="2100" freq2="0" min="500" max="0"/> </tone> <tone name="SIT"> <element freq1="950" freq2="0" min="256" max="400"/> <element freq1="1400" freq2="0" min="256" max="400"/> <element freq1="1800" freq2="0" min="256" max="400"/> </tone> <tone name="REORDER_TONE"> <element freq1="400" freq2="0" min="368" max="416"/> <element freq1="0" freq2="0" min="336" max="368"/> <element freq1="400" freq2="0" min="256" max="288"/> <element freq1="0" freq2="0" min="512" max="544"/> </tone> <tone name="BUSY_TONE"> <element freq1="400" freq2="0" min="352" max="384"/> <element freq1="0" freq2="0" min="352" max="384"/> <element freq1="400" freq2="0" min="352" max="384"/> <element freq1="0" freq2="0" min="352" max="384"/> </tone> /descriptor> <descriptor name="49"> <tone name="CED_TONE"> <element freq1="2100" freq2="0" min="500" max="0"/> </tone> <tone name="SIT"> <element freq1="900" freq2="0" min="256" max="400"/> <element freq1="1400" freq2="0" min="256" max="400"/> <element freq1="1800" freq2="0" min="256" max="400"/> </tone> <tone name="REORDER_TONE"> <element freq1="425" freq2="0" min="224" max="272"/> <element freq1="0" freq2="0" min="224" max="272"/> </tone> <tone name="BUSY_TONE"> <element freq1="425" freq2="0" min="464" max="516"/> <element freq1="0" freq2="0" min="464" max="516"/> </tone> </descriptor> </descriptors> </configuration>
participants (2)
-
Brian West
-
Mimiko