aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_dundi.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-28 15:41:15 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-28 15:41:15 +0000
commita2997334a86af12d14c926c9f141c27e1032685f (patch)
treeddfb82d170e453fe10475cf522f15e8e0cf14ba2 /pbx/pbx_dundi.c
parent52675d350cabbc59d0b0e54503aece2fc7709628 (diff)
Add Russian tones. (closes issue #7953, hanabana)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@81226 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/pbx_dundi.c')
-rw-r--r--pbx/pbx_dundi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index a45758942..55e5f2de0 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -4490,6 +4490,11 @@ static int unload_module(void)
close(netsocket);
io_context_destroy(io);
sched_context_destroy(sched);
+ /* Mark all mappings/peers as dead and then prune them */
+ mark_mappings();
+ prune_mappings();
+ mark_peers();
+ prune_peers();
return 0;
}