[Freeswitch-users] txfax unexpected message received
António Silva
asilva at wirelessmundi.com
Fri Nov 24 23:02:23 UTC 2017
yes, also from the command line:
originate {fax_verbose=true,
fax_use_ecm=true}sofia/gateway/CS2K/939165135 &txfax(/root/txfax.tiff)
originate
{fax_verbose=true,fax_use_ecm=false}sofia/gateway/CS2K/939165135
&txfax(/root/txfax.tiff)
my current spandsp.xml
<fax-settings>
<param name="enable-t38" value="true"/>
<param name="use-ecm" value="true"/>
<param name="verbose" value="false"/>
<param name="disable-v17" value="false"/>
<param name="ident" value="_undef_"/>
<param name="header" value="_undef_"/>
<param name="spool-dir" value="/tmp"/>
<param name="file-prefix" value="faxrx"/>
</fax-settings>
On 11/24/2017 08:54 PM, Madovsky wrote:
> Did you try to activate ecm?
>
> <param name="use-ecm" value="true"/>
>
> On 11/24/2017 11:42 AM, António Silva wrote:
>> Hi Shaun,
>>
>> Thanks for the reply.
>>
>> Yes, mod_fax was merged into mod_spandsp. also i always try to use
>> t38 but in this case the gateway in front (an old old nortel cs2k) is
>> worst than using t30.
>>
>> I also read that old message but for what i could understand it was
>> some echo issue but i don't think is the problem here i don't reach
>> the training part..., i also sending the fax at lower speed... Also
>> using this same trunk (similar path) with only t30 to other
>> destinations works ok, so I'm think on some sort of incompatibility
>> on the transmitted page size, training method or other reason i don't
>> know..
>>
>>
>> Yes the full log was attached in the email, didn't show up to you?
>>
>>
>> I put it into pastebin:
>> https://pastebin.freeswitch.org/view/3c433ca6
>>
>>
>> On 11/24/2017 07:20 PM, Shaun Stokes wrote:
>>> Haven't seen that one before, we use T.38 pass through over G711 and
>>> never had any problems that can't be explained, possibly an
>>> incompatible destination.
>>>
>>> I've found this, they're using mod_fax not mod_spandsp_fax but the
>>> error is similar might help point you in the right direction:
>>> http://lists.freeswitch.org/pipermail/freeswitch-users/2009-September/047151.html
>>>
>>>
>>> Would be useful to see the logs for mod_spandsp_fax from the
>>> beginning, might be some hidden clues. Make sure you enable verbose
>>> in 'conf/autoload_configs/spandsp.conf.xml'.
>>>
>>> Shaun
>>>
>>> -----Original Message-----
>>> From: FreeSWITCH-users
>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
>>> António Silva
>>> Sent: 24 November 2017 17:53
>>> To: freeswitch-users at lists.freeswitch.org
>>> Subject: [Freeswitch-users] txfax unexpected message received
>>>
>>> Hi,
>>>
>>> when sending a fax to a particular destination it fails with "Fax
>>> processing not successful - result (13) Unexpected message received."
>>> To other destination is working ok, i don't know what is the
>>> particularity on this one that makes it fail...
>>>
>>> From the logs i see:
>>>
>>> 2017-11-24 18:30:05.625309 [DEBUG] mod_spandsp_fax.c:276 FLOW T.30
>>> Rx: CFR with final frame tag
>>> 2017-11-24 18:30:05.625309 [DEBUG] mod_spandsp_fax.c:276 FLOW T.30
>>> Rx: ff 13 84
>>> 2017-11-24 18:30:05.625309 [DEBUG] mod_spandsp_fax.c:276 FLOW T.30
>>> Rx final frame in state D
>>> 2017-11-24 18:30:05.625309 [DEBUG] mod_spandsp_fax.c:276 FLOW T.30
>>> Unexpected CFR frame in state D
>>>
>>> I guess that is not suppose to receive confirmed to received..
>>> because the training is not yet done. Can i do anything from my side
>>> to make it work?
>>> I've tried with different resolutions but no luck.. i try with t38
>>> but this gw the t38 is not well implemented and also didn't work.
>>>
>>>
>>>
>>> To send the fax i just do:
>>> originate {fax_verbose=true}sofia/gateway/CS2K/939165135
>>> &txfax(/root/txfax.tiff)
>>>
>>> Attach full log.
>>>
>>>
>>> Thanks for the help.
>>>
>>>
>>> --
>>> Saludos / Regards / Cumprimentos
>>> António Silva
>>>
>>>
>>>
>>> ______________________________________________________________________
>>> This message has been checked for all known viruses by MessageLabs
>>> Virus Scanning Service.
>>> ______________________________________________________________________
>>>
>>> ______________________________________________________________________
>>> This message has been checked for all known viruses by MessageLabs
>>> Virus Scanning Service.
>>> ______________________________________________________________________
>>> _________________________________________________________________________
>>>
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at 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 at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>
>>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
--
Saludos / Regards / Cumprimentos
António Silva
More information about the FreeSWITCH-users
mailing list