From 67ac1d44daaeda0e18be037c25a6c56dba60b853 Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Mon, 18 Feb 2008 15:35:04 +0000
Subject: [PATCH] Merged revisions 103763 via svnmerge from
 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 55f63d2d25..9d755c684d 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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)
-- 
GitLab