aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-09 19:52:12 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2011-02-09 19:52:12 +0000
commit9beee11b3790ff9f4ad5dc043d59a52cf46e7a59 (patch)
tree03277bc762a9e7599cb8999ead40e30acafb095c
parent42edf878a749c302b04129e1caaed7dd9e7b6330 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@307227 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--main/features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/features.c b/main/features.c
index f89d5fc5d..3b3e6bd21 100644
--- a/main/features.c
+++ b/main/features.c
@@ -3999,9 +3999,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)) {