[Asterisk-cvs] asterisk/channels chan_sip.c,1.247,1.248

markster at lists.digium.com markster at lists.digium.com
Thu Nov 20 22:54:24 CST 2003


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

Modified Files:
	chan_sip.c 
Log Message:
Delete on unregister (bug #527)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.247
retrieving revision 1.248
diff -u -d -r1.247 -r1.248
--- chan_sip.c	15 Nov 2003 00:52:49 -0000	1.247
+++ chan_sip.c	21 Nov 2003 05:20:43 -0000	1.248
@@ -3224,6 +3224,7 @@
 		if (p->expire > -1)
 			ast_sched_del(sched, p->expire);
 		p->expire = -1;
+		ast_db_del("SIP/Registry", p->name);
 		if (option_verbose > 2)
 			ast_verbose(VERBOSE_PREFIX_3 "Unregistered SIP '%s'\n", p->name);
 		return 0;




More information about the svn-commits mailing list