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

Modified Files:
      Tag: v1-0
        manager.c 
Log Message:
correct 'sync' on action_originate (bug #3922)


Index: manager.c
===================================================================
RCS file: /usr/cvsroot/asterisk/manager.c,v
retrieving revision 1.74.2.1
retrieving revision 1.74.2.2
diff -u -d -r1.74.2.1 -r1.74.2.2
--- manager.c   27 Feb 2005 02:14:15 -0000      1.74.2.1
+++ manager.c   6 Apr 2005 16:45:41 -0000       1.74.2.2
@@ -946,10 +946,10 @@
                        }
                }
        } else if (!ast_strlen_zero(app)) {
-               res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, 
app, appdata, &reason, 0, !ast_strlen_zero(callerid) ? callerid : NULL, 
variable, account);
+               res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, 
app, appdata, &reason, 1, !ast_strlen_zero(callerid) ? callerid : NULL, 
variable, account);
        } else {
                if (exten && context && pi)
-                       res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR, 
data, to, context, exten, pi, &reason, 0, !ast_strlen_zero(callerid) ? callerid 
: NULL, variable, account);
+                       res = ast_pbx_outgoing_exten(tech, AST_FORMAT_SLINEAR, 
data, to, context, exten, pi, &reason, 1, !ast_strlen_zero(callerid) ? callerid 
: NULL, variable, account);
                else {
                        astman_send_error(s, m, "Originate with 'Exten' 
requires 'Context' and 'Priority'");
                        return 0;

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to