Revision
16918
Author
rupa
Date
2010-03-05 14:33:48 -0600 (Fri, 05 Mar 2010)

Log Message

there be dragons here - propogate session uuid from an enterprise originate

Modified Paths

Diff

Modified: freeswitch/branches/rupa_limit/src/switch_ivr_originate.c (16917 => 16918)


--- freeswitch/branches/rupa_limit/src/switch_ivr_originate.c	2010-03-05 18:58:08 UTC (rev 16917)
+++ freeswitch/branches/rupa_limit/src/switch_ivr_originate.c	2010-03-05 20:33:48 UTC (rev 16918)
@@ -1334,6 +1334,8 @@
 		}
 	}
 
+	switch_event_add_header_string(var_event, SWITCH_STACK_BOTTOM, "ent_originate_aleg_uuid", switch_core_session_get_uuid(session));
+	
 	/* A comma (,) separated list of variable names that should ne propagated from originator to originatee */
 	if (channel && (export_vars = switch_channel_get_variable(channel, SWITCH_EXPORT_VARS_VARIABLE))) {
 		char *cptmp = switch_core_session_strdup(session, export_vars);