From: Anthony Minessale Date: Mon, 5 Mar 2007 20:55:41 +0000 (+0000) Subject: add TRAP event X-Git-Tag: v1.0-beta1~959 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0b94435cf87e40075262c2d459f1073d3bc87e;p=thirdparty%2Ffreeswitch.git add TRAP event git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4453 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/include/switch_types.h b/src/include/switch_types.h index 042e893be5..5fac010ec2 100644 --- a/src/include/switch_types.h +++ b/src/include/switch_types.h @@ -816,6 +816,7 @@ typedef enum { SWITCH_EVENT_DETECTED_SPEECH - Detected Speech SWITCH_EVENT_PRIVATE_COMMAND - A private command event SWITCH_EVENT_HEARTBEAT - Machine is alive + SWITCH_EVENT_TRAP - Error Trap SWITCH_EVENT_ALL - All events at once @@ -857,6 +858,7 @@ typedef enum { SWITCH_EVENT_DETECTED_SPEECH, SWITCH_EVENT_PRIVATE_COMMAND, SWITCH_EVENT_HEARTBEAT, + SWITCH_EVENT_TRAP, SWITCH_EVENT_ALL } switch_event_types_t; diff --git a/src/switch_event.c b/src/switch_event.c index 4413da2821..3d7652ff42 100644 --- a/src/switch_event.c +++ b/src/switch_event.c @@ -132,6 +132,7 @@ static char *EVENT_NAMES[] = { "DETECTED_SPEECH", "PRIVATE_COMMAND", "HEARTBEAT", + "TRAP", "ALL" };