Skip to content
Snippets Groups Projects
Commit 89081c3d authored by Olle Johansson's avatar Olle Johansson
Browse files

Issue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 1ec5d9ec
Branches
Tags
No related merge requests found
......@@ -14946,7 +14946,7 @@ static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struc
changed |= ast_rtp_get_peer(vrtp, &p->vredirip);
else
memset(&p->vredirip, 0, sizeof(p->vredirip));
if (p->redircodecs != codecs) {
if (codecs && (p->redircodecs != codecs)) {
p->redircodecs = codecs;
changed = 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment