From e07ccee87fd2ecb077e66b47f45252866a2e747b Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Wed, 9 Feb 2011 19:52:51 +0000 Subject: [PATCH] Merged revisions 307227 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ........ r307227 | jpeeler | 2011-02-09 13:52:12 -0600 (Wed, 09 Feb 2011) | 11 lines Make sure to set parking dial context for non-default parking lots. Since parking_con_dial isn't settable, set all parking lots to "park-dial". (closes issue #17946) Reported by: bluecrow76 Patches: asterisk-1.8.0-beta4-multipark-fixes-2010SEP02.diff uploaded by bluecrow76 (license 270) modified by me ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@307228 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/features.c b/main/features.c index f8d167afc1..eeac498a5a 100644 --- a/main/features.c +++ b/main/features.c @@ -4698,9 +4698,9 @@ static struct ast_parkinglot *build_parkinglot(char *name, struct ast_variable * if (!var) { /* Default parking lot */ ast_copy_string(parkinglot->parking_con, "parkedcalls", sizeof(parkinglot->parking_con)); - ast_copy_string(parkinglot->parking_con_dial, "park-dial", sizeof(parkinglot->parking_con_dial)); ast_copy_string(parkinglot->mohclass, "default", sizeof(parkinglot->mohclass)); } + ast_copy_string(parkinglot->parking_con_dial, "park-dial", sizeof(parkinglot->parking_con_dial)); /* Check for errors */ if (ast_strlen_zero(parkinglot->parking_con)) {