projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix small but big typo in REGISTER/SUBSCRIBE early RTP closing (bug #3673)
[asterisk/asterisk.git]
/
channels
/
chan_sip.c
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
97c9e35
..
83edfca
100755
(executable)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-8387,7
+8387,7
@@
static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
p->rtp = NULL;
}
if (p->vrtp) {
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);
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) {
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
p->vrtp = NULL;
}
/* Destroy the session, but keep us around for just a bit in case they don't