Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 33812) +++ channels/chan_sip.c (working copy) @@ -12911,7 +12911,7 @@ 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];