automerge commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@73812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Automerge Script 19 years ago
parent ff0b4e97a1
commit 9f83205714

@ -11301,8 +11301,11 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req,
ast_set_flag(p, SIP_NEEDDESTROY);
return 0;
}
if (p->subscribed != NONE)
if (p->subscribed != NONE) {
if (p->stateid > -1)
ast_extension_state_del(p->stateid, cb_extensionstate);
p->stateid = ast_extension_state_add(p->context, p->exten, cb_extensionstate, p);
}
}
}

Loading…
Cancel
Save