diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-15 15:04:55 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-06-15 15:04:55 +0000 |
commit | 6d0910b4b881293db60d6652bc29a9fe3d7eeda9 (patch) | |
tree | 7fbf913ecb5386ddb2790160b6157e43f6ec5f12 | |
parent | c60624d254868df38694b6ba863c77c23e761ab3 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@34336 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index fe3569778..08dc5e4f5 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -13041,7 +13041,7 @@ static int sip_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struc else memset(&p->vredirip, 0, sizeof(p->vredirip)); p->redircodecs = codecs; - if (!ast_test_flag(p, SIP_GOTREFER)) { + if (codecs && !ast_test_flag(p, SIP_GOTREFER)) { if (!p->pendinginvite) { if (option_debug > 2) { char iabuf[INET_ADDRSTRLEN]; |