aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-14 15:33:21 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-14 15:33:21 +0000
commitcf44999a3e2a575c4f6d18cdb3919f77da5dc8e5 (patch)
treea3ee7cd00760982ea87d297d79b40ff246a0b1a3 /res
parent565a37f210bd5749b7fbe540a3ec3c427a6847af (diff)
Add a safe way to reload extensions config (don't change/delete the current extenions until extensions.conf was parsed and the new set of extensions is created) and add "extensions reload" CLI command so we could reload only extensions.conf config file without touching config files of other modules
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1183 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-xres/res_parking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_parking.c b/res/res_parking.c
index 781d1d859..13bdbaf6b 100755
--- a/res/res_parking.c
+++ b/res/res_parking.c
@@ -633,7 +633,7 @@ int load_module(void)
}
con = ast_context_find(parking_con);
if (!con) {
- con = ast_context_create(parking_con, registrar);
+ con = ast_context_create(NULL,parking_con, registrar);
if (!con) {
ast_log(LOG_ERROR, "Parking context '%s' does not exist and unable to create\n", parking_con);
return -1;