[Asterisk-code-review] res rtp asterisk.c: Add "seqno" strictrtp option (asterisk[13])
George Joseph
asteriskteam at digium.com
Wed Sep 26 07:43:46 CDT 2018
George Joseph has posted comments on this change. ( https://gerrit.asterisk.org/10246 )
Change subject: res_rtp_asterisk.c: Add "seqno" strictrtp option
......................................................................
Patch Set 2: Code-Review-1
(2 comments)
https://gerrit.asterisk.org/#/c/10246/2/res/res_rtp_asterisk.c
File res/res_rtp_asterisk.c:
https://gerrit.asterisk.org/#/c/10246/2/res/res_rtp_asterisk.c@193
PS2, Line 193: #else
: static int strict_rtp_test_event = 0;
You can eliminate this part. See below.
https://gerrit.asterisk.org/#/c/10246/2/res/res_rtp_asterisk.c@5536
PS2, Line 5536: if (strict_rtp_test_event) {
: ast_test_suite_event_notify("STRICT_RTP_CLOSED", "Source: %s",
: ast_sockaddr_stringify(&addr));
: strict_rtp_test_event = 0; /* Only run this event once to prevent possible spam */
: }
Surround this with #ifdef TEST_FRAMEWORK that way you don't have to test strict_rtp_test_event at all if TEST_FRAMEWORK isn't defined.
--
To view, visit https://gerrit.asterisk.org/10246
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I8a42b8d193673899c8fc22fe7f98ea87df89be71
Gerrit-Change-Number: 10246
Gerrit-PatchSet: 2
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Comment-Date: Wed, 26 Sep 2018 12:43:46 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180926/3f073eec/attachment.html>
More information about the asterisk-code-review
mailing list