Hello,
I have an odd problem that I am not sure where to go with. I have setup kamailio dev (or the 4.0.0 branch) for IMS. I have a pcscf, icscf, and scscf using all the example config files. I also setup the fhoss for hss. This 'seems' to works great for the handful of test users I have created. The problem I have arises when a (or any) user logs out once logged out no user can logon or do anything again. If I dump all the users from the database and readd them; i am good to go again.
A capture of a user trying to logon after wards always gives me this:
500 Server error on UAR select S-CSCF, which comes from the I-CSCF.
I honestly have no idea what more to provide and Im not sure if this is an kamailio or hss problem... Also what is everyone using for an HSS... Do I even need an HSS can kamailio and the IMS modules do this already?
Thanks,
Hey Trey,
Please can you send a debug log file of your SCSCF? At the same time attach a pcap fot eh interactions too and we will take a look.
We use our own "home-built" HSS so I am not too sure about possible problems on fhoss.
cheers Jason
On Fri, Mar 8, 2013 at 7:39 PM, Trey Ormsbee trey85stang@gmail.com wrote:
Hello,
I have an odd problem that I am not sure where to go with. I have setup kamailio dev (or the 4.0.0 branch) for IMS. I have a pcscf, icscf, and scscf using all the example config files. I also setup the fhoss for hss. This 'seems' to works great for the handful of test users I have created. The problem I have arises when a (or any) user logs out once logged out no user can logon or do anything again. If I dump all the users from the database and readd them; i am good to go again.
A capture of a user trying to logon after wards always gives me this:
500 Server error on UAR select S-CSCF, which comes from the I-CSCF.
I honestly have no idea what more to provide and Im not sure if this is an kamailio or hss problem... Also what is everyone using for an HSS... Do I even need an HSS can kamailio and the IMS modules do this already?
Thanks,
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Jason, Ive recompiled and made many changes and was able to get past this problem; my apologies that I do not know exactly what that was. Still having issues with the IMS modules but a co-worker has a message going in the users forum now since 4.0.0 is official.
Thank you! Trey
-- View this message in context: http://sip-router.1086192.n5.nabble.com/kamailio-ims-dev-and-fhoss-unregiste... Sent from the Development mailing list archive at Nabble.com.
Hi Trey,
I haven't seen any IMS related mails in user list but I may have missed. If you can redirect me to it I will answer for you.
Cheers Jason
On Fri, Mar 15, 2013 at 10:51 PM, treyormsbee trey85stang@gmail.com wrote:
Jason, Ive recompiled and made many changes and was able to get past this problem; my apologies that I do not know exactly what that was. Still having issues with the IMS modules but a co-worker has a message going in the users forum now since 4.0.0 is official.
Thank you! Trey
-- View this message in context: http://sip-router.1086192.n5.nabble.com/kamailio-ims-dev-and-fhoss-unregiste... Sent from the Development mailing list archive at Nabble.com.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Hello Jason,
We would appreciate any help you can provide. We are kind of stuck on this problem.
Sorry for the nabble link:
http://sip-router.1086192.n5.nabble.com/Problems-with-Mar-portion-of-registr...
-- View this message in context: http://sip-router.1086192.n5.nabble.com/kamailio-ims-dev-and-fhoss-unregiste... Sent from the Development mailing list archive at Nabble.com.
Hey Trey,
Great, can you please also send me a pcap trace? This should be easy enough to fix - seems as though you are not getting an auth vector back in your MAA. If I can confirm that I will be able to tell you what is wrong in HSS AS WELL as fix bug in our code when no auth vector is returned (it should not crash)
Cheers Jason
On Mon, Mar 18, 2013 at 5:01 PM, treyormsbee trey85stang@gmail.com wrote:
Hello Jason,
We would appreciate any help you can provide. We are kind of stuck on this problem.
Sorry for the nabble link:
http://sip-router.1086192.n5.nabble.com/Problems-with-Mar-portion-of-registr...
-- View this message in context: http://sip-router.1086192.n5.nabble.com/kamailio-ims-dev-and-fhoss-unregiste... Sent from the Development mailing list archive at Nabble.com.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
okay the problem here has to do with your config file:
your config should rather look something like this:
route[register] { if (!t_newtran()) { #absorb retransmissions sl_reply("500","Could not create transaction"); exit; } if (!ims_www_authenticate(NETWORKNAME)) { if ($? == -2) { t_reply("403", "Authentication Failed"); exit; } else if ($? == -3) { t_reply("400", "Bad Request"); exit; } else { #user has not been authenticated. Lets send a challenge via 401 Unauthorized xlog("L_DBG","About to challenge! auth_ims\n"); ims_www_challenge("$td"); #this is async so to know status we have to check the reply avp xlog("L_DBG","maa_return code is $avp(s:maa_return_code)\n");
switch ($avp(s:maa_return_code)){ case 1: #success xlog("L_DBG", "MAR success - 401/407 response sent from module"); break; case -1: #failure xlog("L_ERR", "MAR failure - error response sent from module"); break; case -2: #error xlog("L_ERR", "MAR error - sending error response now"); t_reply("500", "MAR failed"); break; default: xlog("L_ERR", "Unknown return code from MAR, value is [$avp(s:uaa_return_code)]"); t_reply("500", "Unknown response code from MAR"); break; } exit; } } else { if (!impu_registered("location")) { xlog("L_DBG","IMPU not registered\n"); save("location"); #this is async so to know status we have to check the reply avp xlog("L_DBG","saa_return code is $avp(s:saa_return_code)\n"); switch ($avp(s:saa_return_code)){ case 1: #success xlog("L_DBG", "SAR success - 200 response sent from module");
isc_match_filter_reg("0","location"); exit; case -1: #failure xlog("L_ERR", "SAR failure - error response sent from module"); break; case -2: #error xlog("L_ERR", "SAR error - error response sent from module"); break; default: xlog("L_ERR", "Unknown return code from SAR, value is [$avp(s:uaa_return_code)]"); break; } } else { xlog("L_DBG","IMPU registered\n"); isc_match_filter_reg("1","location"); save("location"); #this is async so to know status we have to check the reply avp xlog("L_DBG","saa_return code is $avp(s:saa_return_code)\n"); switch ($avp(s:saa_return_code)){ case 1: #success xlog("L_DBG", "SAR success - 200 response sent from module"); exit; case -1: #failure xlog("L_ERR", "SAR failure - error response sent from module"); break; case -2: #error xlog("L_ERR", "SAR error - error response sent from module"); break; default: xlog("L_ERR", "Unknown return code from SAR, value is [$avp(s:uaa_return_code)]"); break; } } } break; }
On Mon, Mar 18, 2013 at 5:01 PM, treyormsbee trey85stang@gmail.com wrote:
Hello Jason,
We would appreciate any help you can provide. We are kind of stuck on this problem.
Sorry for the nabble link:
http://sip-router.1086192.n5.nabble.com/Problems-with-Mar-portion-of-registr...
-- View this message in context: http://sip-router.1086192.n5.nabble.com/kamailio-ims-dev-and-fhoss-unregiste... Sent from the Development mailing list archive at Nabble.com.
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev