aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-02 21:14:20 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2010-08-02 21:14:20 +0000
commit908dc1d6510a0e6df9c2d36db5ed97cb7a28e2bf (patch)
tree85643048c68ea782032692f472add8ef36318aa5 /channels
parentb16602fc42dbe98c923831be9b9d5bc689950ec1 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@280669 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-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 78ce4d655..dc8e98713 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)