Update app_queue to use commas as application argument separators.
authorRussell Bryant <russell@russellbryant.com>
Fri, 21 Sep 2007 18:27:56 +0000 (18:27 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 21 Sep 2007 18:27:56 +0000 (18:27 +0000)
(closes issue #10793, snar)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83483 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index ce6f54e..bcf3350 100644 (file)
@@ -2907,9 +2907,9 @@ static int try_calling(struct queue_ent *qe, const char *options, char *announce
 
                                if (mixmonapp) {
                                        if (!ast_strlen_zero(monitor_exec))
-                                               snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s|b%s|%s", tmpid2, monitor_options, monitor_exec);
+                                               snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s,b%s,%s", tmpid2, monitor_options, monitor_exec);
                                        else
-                                               snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s|b%s", tmpid2, monitor_options);
+                                               snprintf(mixmonargs, sizeof(mixmonargs)-1, "%s,b%s", tmpid2, monitor_options);
                                                
                                        ast_debug(1, "Arguments being passed to MixMonitor: %s\n", mixmonargs);
                                        /* We purposely lock the CDR so that pbx_exec does not update the application data */