]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add TRAP event
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 5 Mar 2007 20:55:41 +0000 (20:55 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 5 Mar 2007 20:55:41 +0000 (20:55 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4453 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_types.h
src/switch_event.c

index 042e893be5e81de5984bca7d2f5390ad6829ab49..5fac010ec25d8a5e180f8221b704d385df1705fd 100644 (file)
@@ -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
 </pre>
 
@@ -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;
 
index 4413da2821b9e487de6fb32644c020e8fcf69907..3d7652ff428925355c65b87330872f5238f35c2c 100644 (file)
@@ -132,6 +132,7 @@ static char *EVENT_NAMES[] = {
        "DETECTED_SPEECH",
        "PRIVATE_COMMAND",
        "HEARTBEAT",
+       "TRAP",
        "ALL"
 };