stripping sip-rh headers at the edge of my network
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
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@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
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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
nope.... unset dosnt work.. for sip_ph and sip_rh :( Jay On Tue, Jul 19, 2011 at 4:22 AM, DJB International <djbinter@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@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@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@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@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
ok so I just wrote a patch for this .. http://jira.freeswitch.org/browse/FS-3439 hope someone picks it up and applies it asap :) Jay On Tue, Jul 19, 2011 at 9:12 AM, jay binks <jaybinks@gmail.com> wrote:
nope.... unset dosnt work.. for sip_ph and sip_rh :(
Jay
On Tue, Jul 19, 2011 at 4:22 AM, DJB International <djbinter@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@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@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@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@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
-- Sincerely Jay
participants (2)
-
DJB International
-
jay binks