<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>that prefix operation is done only if the r-uri username does not
have +. So if you HSS is returning the r-uri with +, then all is
ok, no other + is added.</p>
<p>On the other hand, I am not sure what is the error or the issue
you try to sort out. The error message is because of the xlog(...)
in the config.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 10.06.19 16:17, Woscek, Martin W.
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:BYAPR09MB2808F60F82DCFDE44A40F431A2130@BYAPR09MB2808.namprd09.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The HSS is responding with 604 errors when
the I-CSCF checks the public identity of the caller. PCAP
attached.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It looks like our I-CSCF is modifying the
sip uri’s to tel uri’s (e.164-like), referenced attached PCAP:<o:p></o:p></p>
<p class="MsoNormal">in_uri=<a class="moz-txt-link-freetext" href="sip:alice@ims522.irisims.org">sip:alice@ims522.irisims.org</a> <o:p></o:p></p>
<p class="MsoNormal">out_uri=sip:<span
style="background:yellow;mso-highlight:yellow">+</span><a class="moz-txt-link-abbreviated" href="mailto:alice@ims522.irisims.org">alice@ims522.irisims.org</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">syslog output:<o:p></o:p></p>
<p class="MsoNormal">Jun 6 16:50:06 imskamailio
/usr/local/sbin/kamailio[14066]: ERROR: <script>: $ru
=>
<span style="background:yellow;mso-highlight:yellow"><a class="moz-txt-link-freetext" href="sip:+alice@irisims.org">sip:+alice@irisims.org</a></span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Looking at the default (out of the box)
Kamailio.cfg for I-CSCF the following script snipet is where
the modification to our sip URI is happening:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"># ------------------------- request
routing logic -------------------<o:p></o:p></p>
<p class="MsoNormal"># main routing logic<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">route{<o:p></o:p></p>
<p class="MsoNormal">#!ifdef WITH_DEBUG<o:p></o:p></p>
<p class="MsoNormal"> xlog("I-CSCF
>>>>>>>>>>>>>>>>>>>>
$rm $ru ($fu => $tu ($si:$sp) to $tu, $ci)\n");<o:p></o:p></p>
<p class="MsoNormal">#!endif<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b> <span
style="background:yellow;mso-highlight:yellow">
if !($rU =~ "\+.*") {<o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span
style="background:yellow;mso-highlight:yellow">
prefix("+");</span><o:p></o:p></b></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there a I-CSCF setting directive we
missed?<o:p></o:p></p>
<p class="MsoNormal">Or should we simply comment the above?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any advice is appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Martin Woscek<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</body>
</html>