]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Working to resolve #7608 - adding debug output
authorOlle Johansson <oej@edvina.net>
Wed, 25 Oct 2006 19:28:48 +0000 (19:28 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 25 Oct 2006 19:28:48 +0000 (19:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46258 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 14034e9630f35f74ecbaccd96d10b06e553582d0..c35eedcf93916c27e1d4954765a6802c1094672f 100644 (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 */