mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-16 08:14:13 +00:00
use the call_id of the original register in the unsolicited notify for MWI
This commit is contained in:
1 parent
54feb3e245
commit
53b0ecce60
4 files changed
+8
-6
No files matched your search
@@ -6319,7 +6319,7 @@ void sofia_glue_free_destination(sofia_destination_t *dst)
|
||||
}
|
||||
|
||||
switch_status_t sofia_glue_send_notify(sofia_profile_t *profile, const char *user, const char *host, const char *event, const char *contenttype,
|
||||
const char *body, const char *o_contact, const char *network_ip)
|
||||
const char *body, const char *o_contact, const char *network_ip, const char *call_id)
|
||||
{
|
||||
char *id = NULL;
|
||||
nua_handle_t *nh;
|
||||
@@ -6376,6 +6376,7 @@ switch_status_t sofia_glue_send_notify(sofia_profile_t *profile, const char *use
|
||||
TAG_IF(dst->route_uri, NUTAG_PROXY(route_uri)), TAG_IF(dst->route, SIPTAG_ROUTE_STR(dst->route)),
|
||||
TAG_IF(user_via, SIPTAG_VIA_STR(user_via)),
|
||||
TAG_IF(event, SIPTAG_EVENT_STR(event)),
|
||||
TAG_IF(call_id, SIPTAG_CALL_ID_STR(call_id)),
|
||||
TAG_IF(contenttype, SIPTAG_CONTENT_TYPE_STR(contenttype)), TAG_IF(body, SIPTAG_PAYLOAD_STR(body)), TAG_END());
|
||||
|
||||
switch_safe_free(contact);
|
||||
|
||||
Reference in new issue
Block a user