[Freeswitch-users] stripping sip-rh headers at the edge of my network

DJB International djbinter at gmail.com
Mon Jul 18 22:22:26 MSD 2011


I thought "unset" should work:
http://wiki.freeswitch.org/wiki/Strip_SIP_Headers



On Mon, Jul 18, 2011 at 5:29 AM, jay binks <jaybinks at gmail.com> wrote:

> hmm this isnt good..  no replies..
>
> so, seems I cant strip these at all with freeswitch..
>
> using unset and even trying to overwrite the value like this
>
> <action application="set" data="sip_ph_X-someheader=blah"/>
> <action application="set" data="sip_rh_X-someheader=blah"/>
> <action application="set" data="sip_h_X-someheader=blah"/>
>
> fails...
> since FS just splats on top of whatever I set , when the sip message comes
> in from upstream..
> (  in this case in the 180 / 183 progress )
>
> I need a way to strip headers from 180/183 .. preferably I could have a
> regex to filter any starting with X :)
> someone please point me in the right direction
>
> Jay
>
>
>
>
>
>
> On Fri, Jul 15, 2011 at 4:54 PM, jay binks <jaybinks at gmail.com> wrote:
>
>> Inside my network I use sip_ph , sip_rh & sip_h headers to pass data
>> around between boxes.
>>
>> however I need to strip these off at the edge ( SBC's running Freeswitch
>> also )
>>
>> will unset work with these headers in the 200 OK ( and other sip messages
>> ) ?
>> if not, how can I achieve this ?
>>
>> --
>> Sincerely
>>
>> Jay
>>
>
>
>
> --
> Sincerely
>
> Jay
>
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
>
> 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/20110718/771323e1/attachment.html 


More information about the FreeSWITCH-users mailing list