Displaying 1 result from an estimated 1 matches for "parking_con".
2003 Jul 03
1
res parking patch
...t;parkext")) {
strncpy(parking_ext, var->value, sizeof(parking_ext) - 1);
+ } else if (!strcasecmp(var->name, "parkpick")) {
+ strncpy(parking_pick, var->value, sizeof(parking_pick) - 1);
} else if (!strcasecmp(var->name, "context")) {
strncpy(parking_con, var->value, sizeof(parking_con) - 1);
} else if (!strcasecmp(var->name, "parkingtime")) {
@@ -639,6 +659,11 @@
return -1;
}
}
+ // Adding the parkpick exten
+ snprintf(exten, sizeof(exten), "%s", parking_pick);
+ ast_add_extension2(con, 1, exten, 1, NULL, par...