Send NOTIFY to Contact: in SUBSCRIBE

- as reported by Intertex and Citel. Fixed during SIPit 20 in Antwerp.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@61685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Olle Johansson
2007-04-19 07:56:21 +00:00
parent e4467b3837
commit 57185823d1
+4
View File
@@ -11068,6 +11068,10 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req,
ast_copy_string(p->context, p->subscribecontext, sizeof(p->context));
else if (ast_strlen_zero(p->context))
strcpy(p->context, default_context);
/* Get full contact header - this needs to be used as a request URI in NOTIFY's */
parse_ok_contact(p, req);
/* Get destination right away */
build_contact(p);
if (gotdest) {