diff options
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 002f93062..f3a260a27 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -29271,7 +29271,11 @@ static int proc_session_timer(const void *vp) if (p->stimer->st_ref == SESSION_TIMER_REFRESHER_US) { res = 1; - transmit_reinvite_with_sdp(p, FALSE, TRUE); + if (T38_ENABLED == p->t38.state) { + transmit_reinvite_with_sdp(p, TRUE, TRUE); + } else { + transmit_reinvite_with_sdp(p, FALSE, TRUE); + } } else { p->stimer->st_expirys++; if (p->stimer->st_expirys >= 2) { |