mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-28 00:10:25 -07:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user