[Freeswitch-svn] [commit] r4453 - in freeswitch/trunk/src: . include

Freeswitch SVN anthm at freeswitch.org
Mon Mar 5 15:55:41 EST 2007


Author: anthm
Date: Mon Mar  5 15:55:41 2007
New Revision: 4453

Modified:
   freeswitch/trunk/src/include/switch_types.h
   freeswitch/trunk/src/switch_event.c

Log:
add TRAP event

Modified: freeswitch/trunk/src/include/switch_types.h
==============================================================================
--- freeswitch/trunk/src/include/switch_types.h	(original)
+++ freeswitch/trunk/src/include/switch_types.h	Mon Mar  5 15:55:41 2007
@@ -816,6 +816,7 @@
 	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 @@
 	SWITCH_EVENT_DETECTED_SPEECH,
 	SWITCH_EVENT_PRIVATE_COMMAND,
 	SWITCH_EVENT_HEARTBEAT,
+	SWITCH_EVENT_TRAP,
 	SWITCH_EVENT_ALL
 } switch_event_types_t;
 

Modified: freeswitch/trunk/src/switch_event.c
==============================================================================
--- freeswitch/trunk/src/switch_event.c	(original)
+++ freeswitch/trunk/src/switch_event.c	Mon Mar  5 15:55:41 2007
@@ -132,6 +132,7 @@
 	"DETECTED_SPEECH",
 	"PRIVATE_COMMAND",
 	"HEARTBEAT",
+	"TRAP",
 	"ALL"
 };
 



More information about the Freeswitch-svn mailing list