diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-14 17:16:47 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-14 17:16:47 +0000 |
commit | 592421c2955f5496d1333567d656289b1d5cd5d3 (patch) | |
tree | cccae360b948938caafdcf4131773e100ef93c63 /pbx | |
parent | f4033da0390206a7d4d0ab753c50677d9fadd410 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@1187 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rwxr-xr-x | pbx/pbx_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index 0b15e5694..844386354 100755 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -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; } |