[Freeswitch-svn] [commit] r13847 - freeswitch/trunk/src

FreeSWITCH SVN anthm at freeswitch.org
Thu Jun 18 12:47:29 PDT 2009


Author: anthm
Date: Thu Jun 18 14:47:29 2009
New Revision: 13847

Log:
doh

Modified:
   freeswitch/trunk/src/switch_ivr_originate.c

Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c	(original)
+++ freeswitch/trunk/src/switch_ivr_originate.c	Thu Jun 18 14:47:29 2009
@@ -1002,7 +1002,7 @@
 	if (ovars) {
 		var_event = ovars;
 	} else {
-		if (switch_event_create(&var_event, SWITCH_EVENT_GENERAL) != SWITCH_STATUS_SUCCESS) {
+		if (switch_event_create_plain(&var_event, SWITCH_EVENT_CHANNEL_DATA) != SWITCH_STATUS_SUCCESS) {
 			abort();
 		}
 	}
@@ -1516,7 +1516,7 @@
 					local_clobber = switch_true(lc);
 				}
 
-				if (!local_clobber) {
+				if (local_clobber) {
 					if (var_event) {
 						switch_event_t *event;
 						switch_event_header_t *header;
@@ -1549,7 +1549,7 @@
 					}
 				}
 
-				if (local_clobber) {
+				if (!local_clobber) {
 					if (var_event) {
 						switch_event_t *event;
 						switch_event_header_t *header;



More information about the Freeswitch-svn mailing list