[Freeswitch-users] Remove custom X headers in replies sent by the server

Grant Bagdasarian GB at cm.nl
Mon Dec 9 10:20:10 MSK 2013


Hello,

Thanks for the reply.

I solved it by setting the sip_copy_custom_headers value to false in the bridge application:
<action application="bridge" data="{sip_copy_custom_headers=false}sofia/outbound/${xfer_destination}@$${outbound_load_balancer_sip_ip}:$${outbound_load_balancer_sip_port}" />

At first I had set it above the bridge application, but that didn't work.

Regards,
Grant

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Karsten Horsmann
Sent: Friday, December 6, 2013 11:06 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Remove custom X headers in replies sent by the server

Hi,

if that didnt work, then try to remove your custom_headers one by one on the SBC FS in your dialplan like this example here:

http://wiki.freeswitch.org/wiki/Strip_SIP_Headers


2013/12/3 Grant Bagdasarian <GB at cm.nl<mailto:GB at cm.nl>>
Hello,

Is it possible to remove custom 'X' headers which are sent by the server to FreeSWITCH?

I have the following call flow:

Carrier ---> Load Balancer ----> FS(SBC) ----> SIP Proxy ----> FS (App Server)

The SIP Proxy adds custom 'X' headers to the 200 OK received from the FS(App Server).
The 200 OK is then sent back, with the custom headers, to the FS(SBC).

Setting the variable: sip_copy_custom_headers, doesn't work.

Is there a built-in function I could use, or another variable which can be set, so that the FS (SBC) removes all custom X headers for the responses?

Thanks,

Grant



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto: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<mailto: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



--
Mit freundlichen Grüßen
*Karsten Horsmann*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131209/88ea1236/attachment.html 


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