set channel data to sofia::ack_request
This commit is contained in:
parent
1af73396dd
commit
c71a9132f6
|
@ -1751,6 +1751,7 @@ static void our_sofia_event_callback(nua_event_t event,
|
|||
}
|
||||
|
||||
if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, MY_EVENT_ACK_REQUEST) == SWITCH_STATUS_SUCCESS) {
|
||||
switch_channel_event_set_data(channel, event);
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Unique-ID", switch_core_session_get_uuid(session));
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "ack_received", "true");
|
||||
switch_event_fire(&event);
|
||||
|
|
Loading…
Reference in New Issue