diff options
author | Olle Johansson <oej@edvina.net> | 2006-06-14 15:15:29 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-06-14 15:15:29 +0000 |
commit | 8fd35365f5d7b2b269ff4c6792c4abe75c04a801 (patch) | |
tree | befcf8fa4372c7a3c701a26720c9d06712c1493a /channels/chan_sip.c | |
parent | fb8483c4308435cee9d2ecfd83b92de8c903c81a (diff) |
Add some debug logging
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index be92be000..3118d6068 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11627,7 +11627,8 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_ if (!p->refer) { ast_log(LOG_WARNING, "Notify answer on an owned channel? - %s\n", p->owner->name); ast_queue_hangup(p->owner); - } + } else if (option_debug > 3) + ast_log(LOG_DEBUG, "Got OK on REFER Notify message\n"); } else { if (p->subscribed == NONE) ast_set_flag(&p->flags[0], SIP_NEEDDESTROY); |