diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-17 18:19:17 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-17 18:19:17 +0000 |
commit | b96a728f71e279c8e1a235c9f453f7cdc394e71b (patch) | |
tree | b4293319c7a0e039ab3f6ee925ce7f87612f3021 | |
parent | b17929c219a02ed9e539b143c7bada8f1c1ba993 (diff) |
Adding a debug line
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27892 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 964eee1d3..c776517b5 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9902,6 +9902,8 @@ static void check_pendings(struct sip_pvt *p) { /* Go ahead and send bye at this point */ if (ast_test_flag(&p->flags[0], SIP_PENDINGBYE)) { + if (option_debug) + ast_log(LOG_DEBUG, "Sending pending bye on '%s'\n", p->callid); transmit_request_with_auth(p, SIP_BYE, 0, XMIT_RELIABLE, TRUE); ast_set_flag(&p->flags[0], SIP_NEEDDESTROY); ast_clear_flag(&p->flags[0], SIP_NEEDREINVITE); |