Modified: freeswitch/trunk/src/switch_ivr_async.c (15174 => 15175)
--- freeswitch/trunk/src/switch_ivr_async.c 2009-10-19 00:36:48 UTC (rev 15174)
+++ freeswitch/trunk/src/switch_ivr_async.c 2009-10-19 15:32:12 UTC (rev 15175)
@@ -751,7 +751,7 @@
if (switch_core_session_dequeue_event(session, &event, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {
char *command = switch_event_get_header(event, "eavesdrop-command");
if (command) {
- fcommand = command;
+ fcommand = switch_core_session_strdup(session, command);
}
switch_event_destroy(&event);
}