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