From: Olle Johansson Date: Wed, 25 Oct 2006 19:28:48 +0000 (+0000) Subject: Working to resolve #7608 - adding debug output X-Git-Tag: 1.2.14~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67f0e3717761b1f1b698b26a22950b00b9a09e4c;p=thirdparty%2Fasterisk.git 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 --- 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 */