From 67f0e3717761b1f1b698b26a22950b00b9a09e4c Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Wed, 25 Oct 2006 19:28:48 +0000 Subject: [PATCH] Working to resolve #7608 - adding debug output git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46258 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 14034e9630..c35eedcf93 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11028,6 +11028,8 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req, ast_set_flag(p, SIP_NEEDDESTROY); return 0; } + if (option_debug > 2) + ast_log(LOG_DEBUG, "Subscription type: Event: %s Format: %s\n", subscription_types[p->subscribed].event, subscription_types[p->subscribed].mediatype); } else if (!strcmp(event, "message-summary") && !strcmp(accept, "application/simple-message-summary")) { /* Looks like they actually want a mailbox status */