From mwoscek@mitre.org Tue Jun 11 12:52:05 2019 From: "Woscek, Martin W." To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] [EXT] Re: Kamailio 5.2.2 ICSCF changing sip to tel Date: Tue, 11 Jun 2019 10:51:53 +0000 Message-ID: In-Reply-To: =?utf-8?q?=3C3992=5F1560248503=5F5CFF80B7=5F3992=5F6635=5F1=5F4?= =?utf-8?q?035e55f-6edf-a80c-964d-79b343916531=40gmail=2Ecom=3E?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1295581822==" --===============1295581822== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Daniel, Actually, the HSS is not returning the uri with the +. There are no users in= t the HSS database with a public ID with a + so the HSS returns the USER_UNKN= OWN. Looking at the PCAP, the I-CSCF sends a diameter msg to the HSS asking for th= e verification the public ID of: Public-Identity: sip:+alice(a)ims522.irisims.org The diameter msg from HSS is returning : AVP: Experimental-Result-Code(298) l=3D12 f=3D-M- val=3DDIAMETER_ERROR_USER_U= NKNOWN (5001) Why do we want the I-CSCF to add a + to all URI's don't start with a +? The I-CSCF is the module that is adding the +, assuming that we should be abl= e to included Kamailio.cfg for respective modules, is there a directive or va= riable that I need to set? Or do I simply comment out that code? Thanks, Martin Woscek The MITRE Corp. mwoscek(a)mitre.org Phone: 703-983-2650 FAX: 703-983-7142 From: Daniel-Constantin Mierla Sent: Tuesday, June 11, 2019 6:22 AM To: Kamailio (SER) - Users Mailing List ; Wosc= ek, Martin W. Subject: [EXT] Re: [SR-Users] Kamailio 5.2.2 ICSCF changing sip to tel 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 so= rt 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 ident= ity 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=3Dsip:alice(a)ims522.irisims.org out_uri=3Dsip:+alice(a)ims522.irisims.org syslog output: Jun 6 16:50:06 imskamailio /usr/local/sbin/kamailio[14066]: ERROR: