]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make connect event have chan vars
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 29 Oct 2008 18:19:49 +0000 (18:19 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 29 Oct 2008 18:19:49 +0000 (18:19 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10193 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/event_handlers/mod_event_socket/mod_event_socket.c

index 8a0d393e637e2580f9ad1deea7410f0dd0de4eff..d63043de87f209e7d7f9bff5104ccc525c02256f 100644 (file)
@@ -1535,7 +1535,7 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t *thread, void *obj)
                        goto done;
                }
 
-               if (switch_event_create(&call_event, SWITCH_EVENT_COMMAND) != SWITCH_STATUS_SUCCESS) {
+               if (switch_event_create(&call_event, SWITCH_EVENT_CHANNEL_DATA) != SWITCH_STATUS_SUCCESS) {
                        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Memory Error!\n");
                        switch_clear_flag_locked(listener, LFLAG_RUNNING);
                        goto done;