From: Raymond Chandler Date: Thu, 15 Jan 2009 19:26:57 +0000 (+0000) Subject: patch from MODAPP-196 X-Git-Tag: v1.0.3~720 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8737393603f9d444ba84329ea82a5a85b6748f6;p=thirdparty%2Ffreeswitch.git patch from MODAPP-196 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11229 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_stress/mod_stress.cpp b/src/mod/applications/mod_stress/mod_stress.cpp index e79797caa8..3e0ab4ea73 100644 --- a/src/mod/applications/mod_stress/mod_stress.cpp +++ b/src/mod/applications/mod_stress/mod_stress.cpp @@ -175,6 +175,7 @@ static switch_bool_t stress_callback(switch_media_bug_t *bug, void *user_data, s if (switch_event_create(&event, SWITCH_EVENT_DETECTED_SPEECH) == SWITCH_STATUS_SUCCESS) { switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Speech-Type", "stress-level"); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Stress-Level", "%0.2f", sth->stress); + switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Unique-ID", switch_core_session_get_uuid(sth->session)); if (switch_event_dup(&dup, event) == SWITCH_STATUS_SUCCESS) { switch_event_fire(&dup); }