[Asterisk-cvs] asterisk manager.c,1.34,1.35

jeremy at lists.digium.com jeremy at lists.digium.com
Wed Jan 14 03:39:32 CST 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv4997

Modified Files:
	manager.c 
Log Message:
Set sync flag back to 0, temp work around to let action: origiate work


Index: manager.c
===================================================================
RCS file: /usr/cvsroot/asterisk/manager.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- manager.c	14 Jan 2004 06:31:18 -0000	1.34
+++ manager.c	14 Jan 2004 09:31:24 -0000	1.35
@@ -418,8 +418,8 @@
 	char *priority = astman_get_header(m, "Priority");
 	char *timeout = astman_get_header(m, "Timeout");
 	char *callerid = astman_get_header(m, "CallerID");
-    char *variable = astman_get_header(m, "Variable");
-    char *account = astman_get_header(m, "Account");
+    	char *variable = astman_get_header(m, "Variable");
+    	char *account = astman_get_header(m, "Account");
 	char *app = astman_get_header(m, "Application");
 	char *appdata = astman_get_header(m, "Data");
 	char *tech, *data;
@@ -450,9 +450,9 @@
 	*data = '\0';
 	data++;
 	if (strlen(app)) {
-        res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, app, appdata, &reason, 1, strlen(callerid) ? callerid : NULL, variable, account);
-    } else {
-        res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR, data, to, context, exten, pi, &reason, 1, strlen(callerid) ? callerid : NULL, variable, account);
+        	res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, app, appdata, &reason, 0, strlen(callerid) ? callerid : NULL, variable, account);
+    	} else {
+        	res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR, data, to, context, exten, pi, &reason, 0, strlen(callerid) ? callerid : NULL, variable, account);
 	}   
 	if (!res)
 		astman_send_ack(s, m, "Originate successfully queued");




More information about the svn-commits mailing list