[Asterisk-cvs] asterisk/channels chan_sip.c,1.278,1.279

jeremy at lists.digium.com jeremy at lists.digium.com
Wed Jan 14 00:19:06 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv31476

Modified Files:
	chan_sip.c 
Log Message:
clean up output and print that we are unregistering a channel type


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.278
retrieving revision 1.279
diff -u -d -r1.278 -r1.279
--- chan_sip.c	13 Jan 2004 02:24:36 -0000	1.278
+++ chan_sip.c	14 Jan 2004 06:10:53 -0000	1.279
@@ -6573,7 +6573,6 @@
 	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 @@
 	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;




More information about the svn-commits mailing list