mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
add some more specific events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9789 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
f23c88d9fa
commit
003847dd0d
21 files changed
+53
-43
No files matched your search
@@ -797,7 +797,7 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread(switch_thread_t *thre
|
||||
switch_set_flag(session, SSF_DESTROYED);
|
||||
|
||||
if ((val = switch_channel_get_variable(session->channel, "memory_debug")) && switch_true(val)) {
|
||||
if (switch_event_create(&event, SWITCH_EVENT_MESSAGE) == SWITCH_STATUS_SUCCESS) {
|
||||
if (switch_event_create(&event, SWITCH_EVENT_GENERAL) == SWITCH_STATUS_SUCCESS) {
|
||||
switch_channel_event_set_data(session->channel, event);
|
||||
switch_event_serialize(event, &event_str, SWITCH_FALSE);
|
||||
switch_assert(event_str);
|
||||
|
||||
Reference in new issue
Block a user