From matt.richardson@interoptechnologies.com Wed Mar 13 15:01:12 2013 From: mrichardson To: sr-users@lists.kamailio.org Subject: [SR-Users] Problems with Mar portion of registration Date: Wed, 13 Mar 2013 09:01:04 -0500 Message-ID: <514086A0.3010402@interoptechnologies.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0706958252==" --===============0706958252== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit The MAR portion of registration is either not happening or failing causing scscf to die. Using Kamailio 4.0 with the ims_auth module. We're trying to determine what the REGISTER block should look like and what ims_auth parameters are necessary for a successful MAR challenge with auth vector delivery. We currently only get the UAR by ICSCF then the SAR by SCSCF. Module parameters: # -- ims_auth params -- modparam("ims_auth", "name", URI) modparam("ims_auth", "registration_default_algorithm", REG_AUTH_DEFAULT_ALG) modparam("ims_auth","ignore_failed_auth",0) #!ifdef CXDX_FORCED_PEER modparam("ims_auth", "cxdx_forced_peer", CXDX_FORCED_PEER) #!endif modparam("ims_auth", "cxdx_dest_realm", NETWORKNAME) modparam("ims_auth", "av_request_at_once", 1) modparam("ims_auth", "registration_qop", "auth") route[REGISTER] { xlog("L_ERR", "Enter register block"); t_newtran(); ims_www_authenticate(NETWORKNAME); #check to see if user is authenticated - ie sip header has auth information - (already challenged) if ($avp(maa_return_code) == 1) { # user has not been authenticated. Lets send a challenge via 401 Unauthorized ims_www_challenge("$td"); exit; } else { # We need to check if this user is registered or not if (!impu_registered("location")) { save("location"); if ($avp(saa_return_code) == 1) { isc_match_filter_reg("0","location"); exit; } } else { save("location"); if($avp(saa_return_code) == 1) { isc_match_filter_reg("1","location"); exit; } } } } 12(22978) INFO: cdp [receiver.c:910]: peer_connect(): Peer hss.ims.somecompany.com:3868 connected 0(22966) ERROR: