|
@@ -1376,7 +1376,7 @@ int subscribe_to_reg(struct sip_msg *msg, char *_t, char *str2)
|
|
ret = CSCF_RETURN_TRUE;
|
|
ret = CSCF_RETURN_TRUE;
|
|
LM_DBG("Sending 200 OK to subscribing user\n");
|
|
LM_DBG("Sending 200 OK to subscribing user\n");
|
|
subscribe_reply(
|
|
subscribe_reply(
|
|
- msg, 200, MSG_REG_SUBSCRIBE_OK, &expires, &scscf_name_str);
|
|
|
|
|
|
+ msg, 200, MSG_REG_SUBSCRIBE_OK, &expires, &presentity_uri);
|
|
|
|
|
|
if(event_type == IMS_REGISTRAR_SUBSCRIBE
|
|
if(event_type == IMS_REGISTRAR_SUBSCRIBE
|
|
|| event_type == IMS_REGISTRAR_SUBSEQUENT_SUBSCRIBE) {
|
|
|| event_type == IMS_REGISTRAR_SUBSEQUENT_SUBSCRIBE) {
|
|
@@ -1427,7 +1427,7 @@ int subscribe_to_reg(struct sip_msg *msg, char *_t, char *str2)
|
|
ret = CSCF_RETURN_TRUE;
|
|
ret = CSCF_RETURN_TRUE;
|
|
LM_DBG("Sending 200 OK to subscribing user\n");
|
|
LM_DBG("Sending 200 OK to subscribing user\n");
|
|
subscribe_reply(
|
|
subscribe_reply(
|
|
- msg, 200, MSG_REG_UNSUBSCRIBE_OK, &expires, &scscf_name_str);
|
|
|
|
|
|
+ msg, 200, MSG_REG_UNSUBSCRIBE_OK, &expires, &presentity_uri);
|
|
}
|
|
}
|
|
|
|
|
|
doneorerror:
|
|
doneorerror:
|