[SR-Users] Kamailio 5.2.2 ICSCF changing sip to tel

Daniel-Constantin Mierla miconda at gmail.com
Tue Jun 11 12:21:40 CEST 2019


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:alice at ims522.irisims.org
>
> out_uri=sip:+alice at ims522.irisims.org
>
>  
>
> syslog output:
>
> Jun  6 16:50:06 imskamailio /usr/local/sbin/kamailio[14066]: ERROR:
> <script>: $ru => sip:+alice at irisims.org
>
>  
>
> 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
> sr-users at lists.kamailio.org
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190611/397c6733/attachment.html>


More information about the sr-users mailing list