summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-04-04 01:55:16 +0000
committerMark Spencer <markster@digium.com>2004-04-04 01:55:16 +0000
commit7ae1d61120ee55470d59a4876c769938dd625d4f (patch)
tree00411806ee940ed7032c310e41f844f2b777a5ee /channels/chan_sip.c
parent39c9375eef118b12301fb47bd37ba24f7cf67ec6 (diff)
Provide more useful debugging on retries and scheddestroy()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-xchannels/chan_sip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 4957b5895..6047dcaf1 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -567,6 +567,8 @@ static int __sip_autodestruct(void *data)
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 @@ static void __sip_destroy(struct sip_pvt *p, int lockowner)
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)