Merged revisions 103763 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Mon, 18 Feb 2008 15:35:04 +0000 (15:35 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 18 Feb 2008 15:35:04 +0000 (15:35 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103763 | file | 2008-02-18 11:33:14 -0400 (Mon, 18 Feb 2008) | 2 lines

Don't care if the extension given doesn't exist for subscription based MWI.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103764 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 55f63d2..9d755c6 100644 (file)
@@ -17343,7 +17343,7 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req,
        parse_ok_contact(p, req);
 
        build_contact(p);
-       if (gotdest) {
+       if (strcmp(event, "message-summary") && gotdest) {
                transmit_response(p, "404 Not Found", req);
                p->needdestroy = 1;
                if (authpeer)