Allow/Supported/Allow-Events remove?!
Hi, Because I have a scenario in which needs to send some X- headers in the SIP originated by Freeswitch, the packets become too big and fragmentation occurs. Firewalls don't like fragmentation and won't let my SIP communication pass. The plausible headers from where I could gain some bytes, besides X-FS-Support and Remote-Party-ID, are Allow/Supported/Allow-Events. Any way to remove them? Googling didn't help. I tried unseting sip_h_Allow/Supported/Allow-Events in dialplan, without success. As a temporary solution I am deleting all those headers on the SIP server side. It would be nice if I could remove them on Freeswitch side, because I would remove them only for this scenario and keep them for all others. Thanks, Stefan
there is no way to do this from configuration, it will require code changes. Probably not the best approach. Use TCP, use compressed headers, use less codecs, use smaller header names and. values are all good ways to solve this problem On Tuesday, July 5, 2016, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
Because I have a scenario in which needs to send some X- headers in the SIP originated by Freeswitch, the packets become too big and fragmentation occurs. Firewalls don't like fragmentation and won't let my SIP communication pass.
The plausible headers from where I could gain some bytes, besides X-FS-Support and Remote-Party-ID, are Allow/Supported/Allow-Events. Any way to remove them? Googling didn't help.
I tried unseting sip_h_Allow/Supported/Allow-Events in dialplan, without success. As a temporary solution I am deleting all those headers on the SIP server side. It would be nice if I could remove them on Freeswitch side, because I would remove them only for this scenario and keep them for all others.
Thanks, Stefan
Thanks, setting "<param name="enable-compact-headers" value="true"/>" helped. On Tue, Jul 5, 2016 at 4:59 PM, Michael Jerris <mike@jerris.com> wrote:
there is no way to do this from configuration, it will require code changes. Probably not the best approach. Use TCP, use compressed headers, use less codecs, use smaller header names and. values are all good ways to solve this problem
On Tuesday, July 5, 2016, Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
Because I have a scenario in which needs to send some X- headers in the SIP originated by Freeswitch, the packets become too big and fragmentation occurs. Firewalls don't like fragmentation and won't let my SIP communication pass.
The plausible headers from where I could gain some bytes, besides X-FS-Support and Remote-Party-ID, are Allow/Supported/Allow-Events. Any way to remove them? Googling didn't help.
I tried unseting sip_h_Allow/Supported/Allow-Events in dialplan, without success. As a temporary solution I am deleting all those headers on the SIP server side. It would be nice if I could remove them on Freeswitch side, because I would remove them only for this scenario and keep them for all others.
Thanks, Stefan
_________________________________________________________________________ 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
You can switch to use TCP or TLS transport. In this case firewalls pass large SIP messages. Sergey On Tue, Jul 5, 2016, 16:47 Anonim Stefan <fanx07@gmail.com> wrote:
Hi,
Because I have a scenario in which needs to send some X- headers in the SIP originated by Freeswitch, the packets become too big and fragmentation occurs. Firewalls don't like fragmentation and won't let my SIP communication pass.
The plausible headers from where I could gain some bytes, besides X-FS-Support and Remote-Party-ID, are Allow/Supported/Allow-Events. Any way to remove them? Googling didn't help.
I tried unseting sip_h_Allow/Supported/Allow-Events in dialplan, without success. As a temporary solution I am deleting all those headers on the SIP server side. It would be nice if I could remove them on Freeswitch side, because I would remove them only for this scenario and keep them for all others.
Thanks, Stefan _________________________________________________________________________ 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
participants (3)
-
Anonim Stefan
-
Michael Jerris
-
Sergey Safarov