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
This commit is contained in:
Olle Johansson
2006-10-25 19:28:48 +00:00
parent 4dc847a0f4
commit 67f0e37177

View File

@@ -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 */