fix var events to not have stamp info

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12765 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2009-03-24 23:44:03 +00:00
parent c1cf70139a
commit dd19c3c2ec
7 changed files with 21 additions and 14 deletions

View File

@@ -938,7 +938,7 @@ SWITCH_STANDARD_APP(info_function)
switch_event_t *event;
char *buf;
if (switch_event_create(&event, SWITCH_EVENT_CHANNEL_DATA) == SWITCH_STATUS_SUCCESS) {
if (switch_event_create_plain(&event, SWITCH_EVENT_CHANNEL_DATA) == SWITCH_STATUS_SUCCESS) {
switch_channel_event_set_data(switch_core_session_get_channel(session), event);
switch_event_serialize(event, &buf, SWITCH_FALSE);
switch_assert(buf);