aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-14 06:10:53 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-14 06:10:53 +0000
commitc544044ead878166c4c672b57bd1441350a2a37e (patch)
tree16b0994de8d92571ff4edb535ce98aaa74b7aa2a
parent961d2571171b29e067635328283d4127d24060ca (diff)
clean up output and print that we are unregistering a channel type
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2025 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 95899a8b4..1f3541f32 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6573,7 +6573,6 @@ int unload_module()
struct sip_pvt *p, *pl;
/* First, take us out of the channel loop */
- ast_channel_unregister(type);
ast_unregister_application(app_dtmfmode);
ast_cli_unregister(&cli_show_users);
ast_cli_unregister(&cli_show_channels);
@@ -6584,6 +6583,7 @@ int unload_module()
ast_cli_unregister(&cli_no_debug);
ast_cli_unregister(&cli_inuse_show);
ast_rtp_proto_unregister(&sip_rtp);
+ ast_channel_unregister(type);
if (!ast_mutex_lock(&iflock)) {
/* Hangup all interfaces if they have an owner */
p = iflist;