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: https://origsvn.digium.com/svn/asterisk/trunk@1183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Martin Pycko
2003-07-14 15:33:21 +00:00
parent 37f1d9add6
commit cbd33586ac
3 changed files with 34 additions and 3 deletions

View File

@@ -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;