Convert one more delimiter to use comma.
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 13 Jun 2008 14:15:07 +0000 (14:15 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 13 Jun 2008 14:15:07 +0000 (14:15 +0000)
(closes issue #12850)
 Reported by: bcnit
 Patches:
       20080613__bug12850.diff.txt uploaded by Corydon76 (license 14)
 Tested by: bcnit

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

main/dial.c

index 377d73b..199d05c 100644 (file)
@@ -91,7 +91,7 @@ static void *answer_exec_enable(void *data)
                return NULL;
        
        /* Parse out application and arguments */
-       if ((args = strchr(app, '|'))) {
+       if ((args = strchr(app, ','))) {
                *args++ = '\0';
                answer_exec->args = ast_strdup(args);
        }