mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
add sip info to event_socket gateway
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13088 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -2899,7 +2899,6 @@ static void general_event_handler(switch_event_t *event)
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Can't find profile %s\n", profile_name);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
nh = nua_handle(profile->nua,
|
||||
NULL,
|
||||
@@ -2909,7 +2908,10 @@ static void general_event_handler(switch_event_t *event)
|
||||
SIPTAG_CONTACT_STR(profile->url),
|
||||
TAG_END());
|
||||
|
||||
nua_handle_bind(nh, &mod_sofia_globals.destroy_private);
|
||||
|
||||
nua_info(nh,
|
||||
NUTAG_WITH_THIS(profile->nua),
|
||||
TAG_IF(ct, SIPTAG_CONTENT_TYPE_STR(ct)),
|
||||
TAG_IF(!switch_strlen_zero(body), SIPTAG_PAYLOAD_STR(body)),
|
||||
TAG_END());
|
||||
|
||||
Reference in New Issue
Block a user