Fix Dial arguments in res_features.
authorJason Parker <jparker@digium.com>
Fri, 17 Aug 2007 16:04:20 +0000 (16:04 +0000)
committerJason Parker <jparker@digium.com>
Fri, 17 Aug 2007 16:04:20 +0000 (16:04 +0000)
Closes issue #10484, patch by lunn.

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

res/res_features.c

index 08cedc0..b62c299 100644 (file)
@@ -2066,7 +2066,7 @@ static void *do_parking_thread(void *ignore)
                                        }
                                        if (con) {
                                                char returnexten[AST_MAX_EXTENSION];
-                                               snprintf(returnexten, sizeof(returnexten), "%s||t", peername);
+                                               snprintf(returnexten, sizeof(returnexten), "%s,,t", peername);
                                                ast_add_extension2(con, 1, peername, 1, NULL, NULL, "Dial", ast_strdup(returnexten), ast_free, registrar);
                                        }
                                        if (comebacktoorigin) {