|
@@ -62,7 +62,7 @@ int I_perform_user_authorization_request(struct sip_msg* msg, char* route, char*
|
|
|
int authorization_type = AVP_IMS_UAR_REGISTRATION;
|
|
|
int expires = 3600;
|
|
|
struct hdr_field *hdr;
|
|
|
- str realm;
|
|
|
+ str realm={0,0};
|
|
|
contact_t *c;
|
|
|
int sos_reg = 0;
|
|
|
contact_body_t *b = 0;
|
|
@@ -95,8 +95,8 @@ int I_perform_user_authorization_request(struct sip_msg* msg, char* route, char*
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- realm = cscf_get_realm_from_ruri(msg);
|
|
|
+ /*This should be configurable and not hardwired to RURI domain*/
|
|
|
+ //realm = cscf_get_realm_from_ruri(msg);
|
|
|
|
|
|
//check if we received what we should, we do this even though it should be done in cfg file - double checking!
|
|
|
if (msg->first_line.type != SIP_REQUEST) {
|