I thought "unset" should work: <a href="http://wiki.freeswitch.org/wiki/Strip_SIP_Headers">http://wiki.freeswitch.org/wiki/Strip_SIP_Headers</a><br><br><br><br><div class="gmail_quote">On Mon, Jul 18, 2011 at 5:29 AM, jay binks <span dir="ltr"><<a href="mailto:jaybinks@gmail.com">jaybinks@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hmm this isnt good.. no replies..<br><br>so, seems I cant strip these at all with freeswitch..<br><br>using unset and even trying to overwrite the value like this <br>
<br><action application="set" data="sip_ph_X-someheader=blah"/><br>
<action application="set" data="sip_rh_X-someheader=blah"/><br><action application="set" data="sip_h_X-someheader=blah"/><br><br>fails...<br>since FS just splats on top of whatever I set , when the sip message comes in from upstream..<br>
( in this case in the 180 / 183 progress )<br><br>I need a way to strip headers from 180/183 .. preferably I could have a regex to filter any starting with X :)<br>someone please point me in the right direction<br><br>Jay<div>
<div></div><div class="h5"><br>
<br><br><br><br><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 4:54 PM, jay binks <span dir="ltr"><<a href="mailto:jaybinks@gmail.com" target="_blank">jaybinks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
Inside my network I use sip_ph , sip_rh & sip_h headers to pass data around between boxes.<br><br>however I need to strip these off at the edge ( SBC's running Freeswitch also )<br><br>will unset work with these headers in the 200 OK ( and other sip messages ) ?<br>
if not, how can I achieve this ?<br><br>-- <br>Sincerely<br><font color="#888888"><br>Jay<br>
</font></blockquote></div><br><br clear="all"><br></div></div>-- <br>Sincerely<br><font color="#888888"><br>Jay<br>
</font><br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>