summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 55f63d2d2..9d755c684 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)