|
@@ -902,6 +902,8 @@ int resource_subscriptions(subs_t* subs, xmlNodePtr xmlnode)
|
|
extra_headers.len = strlen(extra_headers.s);
|
|
extra_headers.len = strlen(extra_headers.s);
|
|
|
|
|
|
s.extra_headers = &extra_headers;
|
|
s.extra_headers = &extra_headers;
|
|
|
|
+
|
|
|
|
+ s.internal_update_flag = subs->internal_update_flag;
|
|
|
|
|
|
if(process_list_and_exec(xmlnode, subs->from_user, subs->from_domain,
|
|
if(process_list_and_exec(xmlnode, subs->from_user, subs->from_domain,
|
|
send_resource_subs, (void*)(&s))<0)
|
|
send_resource_subs, (void*)(&s))<0)
|
|
@@ -964,6 +966,8 @@ void update_a_sub(subs_t *subs_copy )
|
|
goto done;
|
|
goto done;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ subs_copy->internal_update_flag = INTERNAL_UPDATE_TRUE;
|
|
|
|
+
|
|
if(resource_subscriptions(subs_copy, service_node)< 0)
|
|
if(resource_subscriptions(subs_copy, service_node)< 0)
|
|
{
|
|
{
|
|
LM_ERR("failed sending subscribe requests to resources in list\n");
|
|
LM_ERR("failed sending subscribe requests to resources in list\n");
|