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

jay binks jaybinks at gmail.com
Tue Jul 19 03:12:34 MSD 2011


nope.... unset dosnt work..
for sip_ph and sip_rh :(

Jay

On Tue, Jul 19, 2011 at 4:22 AM, DJB International <djbinter at gmail.com>wrote:

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


-- 
Sincerely

Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110719/44efdb81/attachment.html 


More information about the FreeSWITCH-users mailing list