FS-5498 fix typo from commit ab947f5
This commit is contained in:
parent
70e22e1d0b
commit
2490868830
|
@ -4814,7 +4814,7 @@ static void switch_channel_check_device_state(switch_channel_t *channel, switch_
|
|||
}
|
||||
|
||||
if (switch_event_create(&event, SWITCH_EVENT_DEVICE_STATE) == SWITCH_STATUS_SUCCESS) {
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Device-State-Name", drec->device_id);
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Device-ID", drec->device_id);
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Last-Device-State", switch_channel_device_state2str(drec->last_state));
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Device-State", switch_channel_device_state2str(drec->state));
|
||||
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Device-Call-State", switch_channel_callstate2str(callstate));
|
||||
|
|
Loading…
Reference in New Issue