[SR-Users] RTPENGINE [ice] Priority collision between candidate pairs

Richard Fuchs rfuchs at sipwise.com
Fri Oct 29 15:33:09 CEST 2021


To explain: Each ICE candidate is supposed to have a unique priority 
number associated with it. The ICE code in rtpengine depends on this 
being true in several places. If it encounters two ICE candidates with 
the same priority number then it triggers this warning to the log, and 
ultimately the ICE negotiation is then likely to fail. This can happen 
if the remote ICE client is buggy (seen this before: duplicate priority 
numbers in the SDP), or (gods forbid) there's a bug in rtpengine.

Cheers


On 29/10/2021 08.59, [EXT] Stefan-Cristian Mititelu wrote:
>
> Hi,
>
> Out of curiosity, I've been skimming the sipwise rtpengine code about 
> this warning and found out that it happens when 
> "__tree_coll_callback()" callback function is called.
>
> Now, the above callback function is present in different places that 
> all reduce to calling "g_tree_insert_coll()" function in ./include/aux.h.
>
> Next, from what i see in "g_tree_insert_coll()" the above callback is 
> **only** called when there is already an old value for the given (key, 
> value) pair. In other words, there is already an "old ice pair" there.
>
> Hope this helps.
>
> Thank you,
> Stefan
>
> ------------------------------------------------------------------------
> *From:* sr-users <sr-users-bounces at lists.kamailio.org> on behalf of ‪M 
> S‬ <shaheryarkh at gmail.com>
> *Sent:* Friday, October 29, 2021 1:28 PM
> *To:* keffa at alcall.net; Kamailio (SER) - Users Mailing List
> *Subject:* Re: [SR-Users] RTPENGINE [ice] Priority collision between 
> candidate pairs
> It's just a warning, you can ignore it or explain what is the exact 
> nature of problem you are facing?
>
> --
> Muhammad Shahzad Shafi
> Tel: +49 176 99 83 10 85
>
>
> Sent from my Huawei P40 5G phone
>
>
> -------- Original message --------
> From: keffa at alcall.net
> Date: Fri, 29 Oct 2021, 10:41
> To: "Kamailio (SER) - Users Mailing List" <sr-users at lists.kamailio.org>
> Subject: [SR-Users] RTPENGINE [ice] Priority collision between 
> candidate pairs
>
>     Hello @everyone
>
>     Please can you explain me how this message is errors or not ?
>
>     «  Oct 29 08:34:44 ip76 rtpengine[649]: WARNING: [YGiXZ1MmIA port
>     30104]: [ice] Priority collision between candidate pairs
>     9oZd7sWNVguf6cgl:e4b19f6635447b850 »
>
>     thank
>     __________________________________________________________
>     Kamailio - Users Mailing List - Non Commercial Discussions
>       * sr-users at lists.kamailio.org
>     Important: keep the mailing list in the recipients, do not reply
>     only to the sender!
>     Edit mailing list options or unsubscribe:
>       * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>    * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>    * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211029/c352fc47/attachment.htm>


More information about the sr-users mailing list