[Freeswitch-users] eliminating fax header line

Michael Jerris mike at jerris.com
Thu May 29 00:22:28 MSD 2014


try setting fax_header='  ' (two spaces)

On May 28, 2014, at 7:58 PM, Bruce Lefko <blefko5361 at gmail.com> wrote:

> Hi Steve.
> 
> I checked into the legality of removing the header line, and it turns out this is only a problem for advertisements, which we are not doing.
> 
> As far as getting the header removed, I tried doing the following:
> 
> originate {ignore_early_media=true,absolute_codec_string='PCMU,PCMA',fax_enable_t38=true,fax_verbose=true,fax_use_ecm=true,fax_enable_t38_request=true,origination_caller_id_number='A CALLER ID',origination_caller_id_name='A CALLER ID NAME',call_timeout=120,fax_ident='a fax ident',fax_header=}sofia/gateway/outbound/+15555555555 &txFax('/tmp/sample.tiff')
> 
> Even if I remove the default headers in spandsp.conf.xml and fax.conf.xml I still get "SpanDSP Fax Header".  I noticed that this is hardcoded in "src/mod/applications/mod_spandsp/mod_spandsp.c" line 527.
> 
> Am I not passing the null string properly somehow via originate?  I noticed in my logs that there are many lines for "switch_event.c:1661 Parsing variable" for my other parameters, but not for my fax_header parameter.
> 
> Thanks!
> 
> 
> 
> On Thu, May 8, 2014 at 3:16 PM, Bruce Lefko <blefko5361 at gmail.com> wrote:
> I'd like to completely eliminate the header line sent at the top of each fax page using spandsp.  i've set fax-header to a null string, but that doesn't seem to be removing it, and it defaults back to 'Spandsp fax header'.  This seems to be the default in the source code in 1.2.
> 
> What do I have to do to eliminate the header line?  Do I have to make changes to freeswitch source?
> 
> Thanks!
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140528/11b36bbd/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list