projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ec5d9e
)
Issue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!
author
Olle Johansson
<oej@edvina.net>
Thu, 8 Jun 2006 18:13:06 +0000
(18:13 +0000)
committer
Olle Johansson
<oej@edvina.net>
Thu, 8 Jun 2006 18:13:06 +0000
(18:13 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33069
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
aaebc82
..
ebeae3a
100644
(file)
--- a/
channels/chan_sip.c
+++ b/
channels/chan_sip.c
@@
-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;
}