Hi Olivier, What is the UAR diameter response you're seeing from the HSS?
Homestead gets the S-CSCF name from the 'Server-Name' attribute on this response. The logs show that Homestead parsed the response, couldn't find this attribute in the response (or it was empty), so tried to find the 'Server-Capabilities' instead. The Sprout logs suggest that the response included an 'Optional-Capability' of 1. Sprout then tried to choose an S-CSCF based on the optional capability '1', but the S-CSCF selector reported that there were no configured S-CSCFs. S-CSCFs are stored in the s-cscf.json file in /etc/clearwater - you will need to set this up so that it includes your S-CSCFs (how to configure this file is detailed at https://github.com/Metaswitch/clearwater-docs/wiki/Manual-Install#setting-up-s-cscf-configuration). Ellie From: [email protected] [mailto:[email protected]] On Behalf Of DURECU, OLIVIER (OLIVIER) Sent: 04 April 2014 15:50 To: [email protected] Subject: [Clearwater] Diameter UAR server name not read with external HSS Hello experts, With an external HSS, I can't manage to register. At the ICSCF, in the UAR diameter response, there is a server capabilities AVP containing the server-name attribute (being the attributed S-CSCF) (observed with Wireshark) HomeStead reads this AVP, but does not extract the server-name from it. There is no error in the log, it just doesn't do it... Any idea ? 04-04-2014 14:39:58.474 Debug diameterstack.cpp:604: Got Experimental-Result-Code 2001 04-04-2014 14:39:58.474 Debug handlers.cpp:517: Received User-Authorization answer with result 0/2001 04-04-2014 14:39:58.474 Debug statistic.cpp:103: Send new value for statistic H_hss_latency_us, size 5 04-04-2014 14:39:58.474 Debug handlers.cpp:538: Got Server-Capabilities 04-04-2014 14:39:58.474 Debug cx.cpp:188: Getting server capabilties from User-Authorization answer 04-04-2014 14:39:58.474 Debug statistic.cpp:103: Send new value for statistic H_hss_subscription_latency_us, size 5 04-04-2014 14:39:58.474 Debug zmq_lvc.cpp:168: Update to H_hss_latency_us statistic 04-04-2014 14:39:58.474 Debug zmq_lvc.cpp:251: Clearing message cache for 0x7f82dc005300 04-04-2014 14:39:58.474 Debug zmq_lvc.cpp:168: Update to H_hss_subscription_latency_us statistic 04-04-2014 14:39:58.474 Debug zmq_lvc.cpp:251: Clearing message cache for 0x7f82dc00e730 04-04-2014 14:39:58.474 Verbose httpstack.cpp:64: Sending response 200 to request for URL /impi/olivier%40bell-labs.net/registration-status, args impu=sip%3Aolivier%40bell-labs.net&auth-type=REG At sprout logs 04-04-2014 14:15:01.999 Debug httpconnection.cpp:396: Received HTTP response : {"result-code":2001,"mandatory-capabilities":[],"optional-capabilities":[1]} 04-04-2014 14:15:01.999 Debug icscfproxy.cpp:687: HSS returned capabilities 04-04-2014 14:15:01.999 Warning scscfselector.cpp:151: There are no configured S-CSCFs Olivier DURECU Bell Labs / IP Platform Research Villarceaux Center Tel: +33(0) 130772759 GSM: +33(0) 683776482
_______________________________________________ Clearwater mailing list [email protected] http://lists.projectclearwater.org/listinfo/clearwater
