--- chan_sip.c.original 2006-11-11 02:12:15.000000000 +0800 +++ chan_sip.c 2006-11-11 02:12:48.000000000 +0800 @@ -16703,6 +16703,11 @@ return 0; } + if (p->t38.state == T38_ENABLED){ + ast_mutex_unlock(&p->lock); + return 0; + } + if (rtp) { changed |= ast_rtp_get_peer(rtp, &p->redirip); } else if (p->redirip.sin_addr.s_addr || ntohs(p->redirip.sin_port) != 0) {