Hello, 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.
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. Cheers, Daniel On 10.06.19 16:17, Woscek, Martin W. wrote: > > Hello all, > > > > The HSS is responding with 604 errors when the I-CSCF checks the > public identity of the caller. PCAP attached. > > > > It looks like our I-CSCF is modifying the sip uri’s to tel uri’s > (e.164-like), referenced attached PCAP: > > in_uri=sip:[email protected] > > out_uri=sip:[email protected] > > > > syslog output: > > Jun 6 16:50:06 imskamailio /usr/local/sbin/kamailio[14066]: ERROR: > <script>: $ru => sip:[email protected] > > > > 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: > > > > # ------------------------- request routing logic ------------------- > > # main routing logic > > > > route{ > > #!ifdef WITH_DEBUG > > xlog("I-CSCF >>>>>>>>>>>>>>>>>>>> $rm $ru ($fu => $tu > ($si:$sp) to $tu, $ci)\n"); > > #!endif > > > > * if !($rU =~ "\+.*") {* > > * prefix("+");* > > } > > > > Is there a I-CSCF setting directive we missed? > > Or should we simply comment the above? > > > > Any advice is appreciated. > > > > > > Thanks, > > Martin Woscek > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > [email protected] > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
