From a66be5fedca75458a755c807493d63422781e132 Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Mon, 2 Aug 2010 21:14:20 +0000 Subject: [PATCH] Change SIP NOTIFY requests to expect a response so authentication will work. This changes the request to be sent with the transmit type XMIT_RELIABLE so that sip_ack doesn't return false and cause the 401 to be ignored in cases where authentication is required. (closes issue #14255) Reported by: zktech git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@280669 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 78ce4d6552..dc8e987136 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11464,7 +11464,7 @@ static int transmit_notify_custom(struct sip_pvt *p, struct ast_variable *vars) initialize_initreq(p, &req); } - return send_request(p, &req, XMIT_UNRELIABLE, p->ocseq); + return send_request(p, &req, XMIT_RELIABLE, p->ocseq); } static int manager_sipnotify(struct mansession *s, const struct message *m)