[SR-Users] I-CSCF Prefixes IMPU with + Symbol
Ron McLeod
ron.kamailio at mcleodnet.com
Thu Oct 26 01:45:48 CEST 2017
I am working with v5.0.3 and the IMS extensions.
When I attempt to send a SIP MESSAGE from the application server towards the
UE, the I-CSCF used to determine the S-CSCF for the subscriber by sending a
Location-Info request to the HSS. I found that this request was failing
because the IMPU (IMS Public User Identity) was being mangled by the I-CSCF,
prefixing the user part with a + symbol.
The example configuration file for the I-CSCF does in-fact does cause the
r-uri to be prefixed with a + symbol if one is not already present. I'm
wondering why since it breaks the LIR/LIA lookup.
AS I-CSCF HSS
| MESSAGE | |
| ---------------------> | |
| sip:ron at provider1.test | |
| | |
| | |
| | LIR |
| | ----------------------> |
| | sip:+ron at provider1.test |
| | |
| | |
| | DIAMETER_UNKNOWN_USER |
| | <---------------------- |
| | |
| | |
| 403 | |
| <--------------------- | |
| FORBIDDEN | |
route{
#!ifdef WITH_DEBUG
xlog("I-CSCF >>>>>>>>>>>>>>>>>>>> $rm $ru ($fu => $tu ($si:$sp) to $tu,
$ci)\n");
#!endif
if !($rU =~ "\+.*") {
prefix("+");
}
...
Thanks,
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171025/aedb7770/attachment.html>
More information about the sr-users
mailing list