[Asterisk-code-review] res_rtp_asterisk: Check remote ICE reset and reset local ice attrb (asterisk[16])

Joshua Colp asteriskteam at digium.com
Wed Feb 3 03:34:43 CST 2021


Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/15385 )

Change subject: res_rtp_asterisk:  Check remote ICE reset and reset local ice attrb
......................................................................


Patch Set 4: Code-Review-1

I think this can be greatly simplified (and done without ABI changes) by calling the ICE function for setting remote username and password in the negotiate_incoming_sdp_stream function of res_pjsip_sdp_rtp. When ast_rtp_ice_set_authentication is invoked in res_rtp_asterisk it could check if a remote value already exists, and if so if it is different. If different it would then change the local username and password to ensure that an ICE restart occurs and that old STUN packets aren't recognized.


-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15385
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I9c55e79a7af98a8fbb497d336b828ba41bc34eeb
Gerrit-Change-Number: 15385
Gerrit-PatchSet: 4
Gerrit-Owner: Salah Ahmed <txrubel at gmail.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Comment-Date: Wed, 03 Feb 2021 09:34:43 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210203/ed1b11c7/attachment-0001.html>


More information about the asterisk-code-review mailing list