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

Karsten Horsmann khorsmann at gmail.com
Sat Dec 7 01:05:34 MSK 2013


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>

> 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
> 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
>
>


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


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