[Freeswitch-svn] [commit] r11229 - freeswitch/trunk/src/mod/applications/mod_stress

FreeSWITCH SVN intralanman at freeswitch.org
Thu Jan 15 11:26:57 PST 2009


Author: intralanman
Date: Thu Jan 15 13:26:57 2009
New Revision: 11229

Log:
patch from MODAPP-196

Modified:
   freeswitch/trunk/src/mod/applications/mod_stress/mod_stress.cpp

Modified: freeswitch/trunk/src/mod/applications/mod_stress/mod_stress.cpp
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_stress/mod_stress.cpp	(original)
+++ freeswitch/trunk/src/mod/applications/mod_stress/mod_stress.cpp	Thu Jan 15 13:26:57 2009
@@ -175,6 +175,7 @@
                 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);
                     }



More information about the Freeswitch-svn mailing list