add SOCKET_EVENT event

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16135 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2010-01-04 17:46:55 +00:00
parent 8a877fb87a
commit 3cb315d6d4
6 changed files with 8 additions and 1 deletions
@@ -1084,7 +1084,7 @@ static switch_status_t read_packet(listener_t *listener, switch_event_t **event,
}
count++;
if (count == 1) {
switch_event_create(event, SWITCH_EVENT_COMMAND);
switch_event_create(event, SWITCH_EVENT_SOCKET_DATA);
switch_event_add_header_string(*event, SWITCH_STACK_BOTTOM, "Command", mbuf);
} else if (cur) {
char *var, *val;