[Asterisk-cvs] asterisk/channels chan_sip.c,1.326,1.327

markster at lists.digium.com markster at lists.digium.com
Sat Apr 3 20:55:37 CST 2004


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

Modified Files:
	chan_sip.c 
Log Message:
Provide more useful debugging on retries and scheddestroy()


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.326
retrieving revision 1.327
diff -u -d -r1.326 -r1.327
--- chan_sip.c	2 Apr 2004 21:43:07 -0000	1.326
+++ chan_sip.c	4 Apr 2004 01:55:16 -0000	1.327
@@ -567,6 +567,8 @@
 
 static int sip_scheddestroy(struct sip_pvt *p, int ms)
 {
+	if (sipdebug)
+		ast_verbose("Scheduling destruction of call '%s' in %d ms\n", p->callid, ms);
 	if (p->autokillid > -1)
 		ast_sched_del(sched, p->autokillid);
 	p->autokillid = ast_sched_add(sched, ms, __sip_autodestruct, p);
@@ -1052,7 +1054,7 @@
 	struct sip_pvt *cur, *prev = NULL;
 	struct sip_pkt *cp;
 	if (sipdebug)
-		ast_log(LOG_DEBUG, "Destroying call '%s'\n", p->callid);
+		ast_verbose("Destroying call '%s'\n", p->callid);
 	if (p->stateid > -1)
 		ast_extension_state_del(p->stateid, NULL);
 	if (p->initid > -1)




More information about the svn-commits mailing list