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
1.6.2
Jeff Peeler 16 years ago
parent e672faf469
commit a66be5fedc

@ -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)

Loading…
Cancel
Save