Skip to content

Conversation

MayamaTakeshi
Copy link

According to the documentation (https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Modules/mod_spandsp_6587021/)
we can suppress the fax header line (txfax) if we set

fax_header=_undef_

However, the code in mod_spandsp_fax.c doesn't have code to handle this (neither for fax_ident):

if ((tmp = switch_channel_get_variable(channel, "fax_header"))) {

So the fax is sent with header and ident as:

_undef_

The value

_undef_

only works in the general configuration of mod_spandsp parameters header and ident:

<configuration name="spandsp.conf" description="FAX application configuration">
 <fax-settings>
   <param name="ident" value="_undef_"/>
   <param name="header" value="_undef_"/>
 </fax-settings>
</configuration>

This PR addresses this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant