mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 20:08:17 +00:00
Add the possibility to delete all the contexts registered by a certain registrar with ast_merge_and_delete routine; make it the default behaviour when reloding extensions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1641,7 +1641,7 @@ static int pbx_load_module(void)
|
||||
}
|
||||
ast_destroy(cfg);
|
||||
}
|
||||
ast_merge_contexts_and_delete(&local_contexts);
|
||||
ast_merge_contexts_and_delete(&local_contexts,registrar);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user