aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 19:05:42 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-26 19:05:42 +0000
commit084c43e96a25c22be12e9bac112163279a6b3c3c (patch)
treede40c790d2d1da0f67be4c11eaf655b955a14245
parentbd563876e1d893c83bdec08fa40b561cd6ca3cf4 (diff)
Merged revisions 111020 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r111020 | file | 2008-03-26 16:04:35 -0300 (Wed, 26 Mar 2008) | 4 lines 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/trunk@111021 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index cfa383564..a66ccc6b5 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -8802,7 +8802,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);
ast_debug(1, "T38 is in state %d on channel %s\n", p->t38.state, p->owner ? p->owner->name : "<none>");
add_t38_sdp(&req, p);