From d4f340ad6f70cd860957cb1a7d08f34a988d4a0d Mon Sep 17 00:00:00 2001 From: file Date: Wed, 26 Mar 2008 19:04:35 +0000 Subject: If we are requested to authenticate a reinvite make sure that it contains T38 SDP if need be. (closes issue #11995) Reported by: fall git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@111020 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8f0b9a5eb..9444282d6 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7142,7 +7142,7 @@ static int transmit_invite(struct sip_pvt *p, int sipmethod, int sdp, int init) ast_channel_unlock(chan); } if (sdp) { - if (p->udptl && p->t38.state == T38_LOCAL_DIRECT) { + if (p->udptl && (p->t38.state == T38_LOCAL_DIRECT || p->t38.state == T38_LOCAL_REINVITE)) { ast_udptl_offered_from_local(p->udptl, 1); if (option_debug) ast_log(LOG_DEBUG, "T38 is in state %d on channel %s\n", p->t38.state, p->owner ? p->owner->name : ""); -- cgit v1.2.3