<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Thanks Fred, works like a charm!<br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class="">Might be worth adding to <a href="https://www.kamailio.org/wiki/tutorials/security/kamailio-security" class="">https://www.kamailio.org/wiki/tutorials/security/kamailio-security</a> in the same section as masking the Server header. I never considered the cookbook for this, I’d gotten the original idea from the security suggestions page!</div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Thanks again :).<br class=""><br class="">________________________________<br class=""><br class="">Andrew White - Director<br class="">uConnected<br class=""><a href="mailto:andrew@uconnected.com.au" class="">Email: andrew@uconnected.com.au</a><br class="">Web: www.uConnected.com.au<br class=""></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 28 Mar 2019, at 2:19 am, Fred Posner <<a href="mailto:fred@palner.com" class="">fred@palner.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">You can make it global with:<br class=""><br class="">user_agent_header="User-Agent: My Super SIP Server"<br class=""><br class=""><a href="https://www.kamailio.org/wiki/cookbooks/5.2.x/core#user_agent_header" class="">https://www.kamailio.org/wiki/cookbooks/5.2.x/core#user_agent_header</a><br class=""><br class=""><br class="">Fred Posner<br class="">fred@qxork.com<br class="">https://qxork.com<br class="">Direct/SMS: +1 (224) 334-3733<br class="">Direct/SMS: +1 (336) 439-3733<br class=""><br class="">Need Fred? Call Fred. 336-HEY-FRED<br class="">Matrix: @fred:matrix.lod.com<br class=""><br class="">On 3/27/19 11:11 AM, Andrew White wrote:<br class=""><blockquote type="cite" class="">Hi all,<br class="">I’ve set the server_header variable in my primary config, and I’ve got a catch in the default reply route to modify headers where required. I’m masking this value for security reasons, and filling it with my own value for vanity reasons :).<br class="">I’ve noticed that the OPTIONS packet that is send via the dispatcher module when probing mode is on contains a User-Agent field which has the full version and OS type. Unfortunately I don’t necessarily have trust of the end destination being dispatcher to, nor the packet switchers in-between.<br class="">How can I catch this OPTIONS packet to manipulate the value? It doesn’t appear to go through the REQUEST route or the ONSEND route.<br class="">Thanks!<br class="">________________________________<br class="">Andrew White - Director<br class="">uConnected<br class="">Email: andrew@uconnected.com.au <mailto:andrew@uconnected.com.au><br class="">Web: www.uConnected.com.au<br class="">_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class="">sr-users@lists.kamailio.org<br class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br class=""></blockquote><br class="">_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class="">sr-users@lists.kamailio.org<br class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br class=""></div></div></blockquote></div><br class=""></body></html>