[Asterisk-code-review] res_pjsip_sdp_rtp.c: Use correct timeout when put on hold. (asterisk[20])
Joshua Colp
asteriskteam at digium.com
Mon Dec 12 12:51:28 CST 2022
Attention is currently required from: Benjamin Keith Ford.
Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/19709 )
Change subject: res_pjsip_sdp_rtp.c: Use correct timeout when put on hold.
......................................................................
Patch Set 1: Code-Review-1
(1 comment)
File res/res_pjsip_sdp_rtp.c:
https://gerrit.asterisk.org/c/asterisk/+/19709/comment/d404544d_a0f43489
PS1, Line 2247: } else if (session->endpoint->media.rtp.timeout_hold && !session_media->remotely_held && session_media->locally_held) {
I don't think you need to add another else if. The existing remotely_held block can just be used:
(session_media->remotely_held || session->locally_held)
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/19709
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 20
Gerrit-Change-Id: I7b106fc244332014216d12bba851cefe884cc25f
Gerrit-Change-Number: 19709
Gerrit-PatchSet: 1
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-CC: Friendly Automation
Gerrit-Attention: Benjamin Keith Ford <bford at digium.com>
Gerrit-Comment-Date: Mon, 12 Dec 2022 18:51:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221212/407d25a3/attachment.html>
More information about the asterisk-code-review
mailing list