From: Seven Du Date: Fri, 19 Jul 2013 04:39:12 +0000 (+0800) Subject: FS-5498 fix typo from commit ab947f5 X-Git-Tag: v1.5.3~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249086883057bf44aaa62a27eef1213d97267aea;p=thirdparty%2Ffreeswitch.git FS-5498 fix typo from commit ab947f5 --- diff --git a/src/switch_channel.c b/src/switch_channel.c index da41b92739..cbae78ba44 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -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));