diff options
author | Kevin Harwell <kharwell@digium.com> | 2016-11-04 10:57:43 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2016-11-07 12:27:17 -0500 |
commit | a3614d75f650abd3a9028fccabfcd88649381284 (patch) | |
tree | f25e5bcb9951525332119e14765f2800313ed7de | |
parent | 7d7b52c434eb23ef470ad51d08ee4029a7078b78 (diff) |
Revert "chan_sip: Fix lastrtprx always updated"
This reverts commit 93332cb1d0eea18021ea6538237297e627d6e2fc.
Unfortunately, the aforementioned commit caused a regression (incoming calls
would eventually disconnect). Thus it is being removed.
ASTERISK-26523 #close
ASTERISK-25270
Change-Id: Ibf5586adc303073a8eac667a4cbfdb6be184a64d
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 63bfd1989..afb94b72d 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -8628,9 +8628,7 @@ static struct ast_frame *sip_read(struct ast_channel *ast) sip_pvt_lock(p); fr = sip_rtp_read(ast, p, &faxdetected); - if (fr && fr->frametype != AST_FRAME_NULL) { - p->lastrtprx = time(NULL); - } + p->lastrtprx = time(NULL); /* If we detect a CNG tone and fax detection is enabled then send us off to the fax extension */ if (faxdetected && ast_test_flag(&p->flags[1], SIP_PAGE2_FAX_DETECT_CNG)) { |