mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
Fix small but big typo in REGISTER/SUBSCRIBE early RTP closing (bug #3673)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8387,7 +8387,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||
p->rtp = NULL;
|
||||
}
|
||||
if (p->vrtp) {
|
||||
ast_rtp_destroy(p->rtp);
|
||||
ast_rtp_destroy(p->vrtp);
|
||||
p->vrtp = NULL;
|
||||
}
|
||||
transmit_response(p, "200 OK", req);
|
||||
@@ -8423,7 +8423,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
|
||||
p->rtp = NULL;
|
||||
}
|
||||
if (p->vrtp) {
|
||||
ast_rtp_destroy(p->rtp);
|
||||
ast_rtp_destroy(p->vrtp);
|
||||
p->vrtp = NULL;
|
||||
}
|
||||
/* Destroy the session, but keep us around for just a bit in case they don't
|
||||
|
Reference in New Issue
Block a user