<div dir="ltr">As said before bug reports do not belong on the mailing list, please file a JIRA so these issues can be fixed.<div><br></div><div>Thanks,</div><div>/b</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 16, 2018 at 9:04 AM, Vallimamod Abdullah <span dir="ltr"><<a href="mailto:vma@vallimamod.org" target="_blank">vma@vallimamod.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Check the 2 first bits of the raw rtcp packet, it is where the version is set (<a href="http://www.networksorcery.com/enp/protocol/rtcp.htm" rel="noreferrer" target="_blank">http://www.networksorcery.<wbr>com/enp/protocol/rtcp.htm</a>).<br>
In your case, it looks that the 2 bits are set, that's why you are getting 3. Are you sure it's the same packet for which you are seeing version = 2 in wireshark?<br>
<br>
It would be really interesting to check the version on each rtcp packet from the call to validate that some are indeed incorrect.<br>
<br>
But if you are willing to accept the bad version, you can apply the following patch (beware, it's a non tested hack):<br>
<br>
diff --git a/src/switch_rtp.c b/src/switch_rtp.c<br>
index 0ae3b641f0..fe975aca32 100644<br>
--- a/src/switch_rtp.c<br>
+++ b/src/switch_rtp.c<br>
@@ -6586,8 +6586,8 @@ static switch_status_t process_rtcp_packet(switch_<wbr>rtp_t *rtp_session, switch_siz<br>
                        return SWITCH_STATUS_SUCCESS;<br>
                } else {<br>
                        switch_log_printf(SWITCH_<wbr>CHANNEL_SESSION_LOG(rtp_<wbr>session->session),<br>
-                                                         SWITCH_LOG_WARNING, "Received an unsupported RTCP packet version %d\n", msg->header.version);<br>
-                       return SWITCH_STATUS_FALSE;<br>
+                                                         SWITCH_LOG_WARNING, "Received an unsupported RTCP packet version %d, forcing to 2\n", msg->header.version);<br>
+                       msg->header.version = 2;<br>
                }<br>
        }<br>
<br>
<br>
<br>
Best Regards,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Vallimamod Abdullah<br>
SIP Solutions<br>
<a href="mailto:vma@sipsolutions.fr">vma@sipsolutions.fr</a><br>
.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On 16 Jan 2018, at 14:06, Alexander Haugg <<a href="mailto:Alexander.Haugg@c4b.de">Alexander.Haugg@c4b.de</a>> wrote:<br>
><br>
> If i have a bit more time, it could be I can fix it, but not at the moment.<br>
> At first I will open a JIRA ticket.<br>
><br>
> -----Ursprüngliche Nachricht-----<br>
> Von: FreeSWITCH-users [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>] Im Auftrag von Madovsky<br>
> Gesendet: Dienstag, 16. Januar 2018 14:02<br>
> An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.<wbr>freeswitch.org</a><br>
> Betreff: Re: [Freeswitch-users] Received an unsupported RTCP packet version 3<br>
><br>
> any skillful C programmers needed so,<br>
><br>
> it shouldn't be hard I think<br>
><br>
> On 1/16/2018 4:53 AM, Alexander Haugg wrote:<br>
>> Yes, you are right.<br>
>> The interesting point is, the RTCP version is 2. That can i see in the<br>
>> wireshark trace<br>
>><br>
>> -----Ursprüngliche Nachricht-----<br>
>> Von: FreeSWITCH-users<br>
>> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>] Im Auftrag von<br>
>> Madovsky<br>
>> Gesendet: Dienstag, 16. Januar 2018 13:19<br>
>> An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.<wbr>freeswitch.org</a><br>
>> Betreff: Re: [Freeswitch-users] Received an unsupported RTCP packet<br>
>> version 3<br>
>><br>
>> As the warning says, FS does not support RTCP version 3 message,<br>
>><br>
>> maybe a patch would be welcome.<br>
>><br>
>><br>
>> On 1/16/2018 3:53 AM, Alexander Haugg wrote:<br>
>>> Thanks, but no, I need the event socket event "RECV_RTCP_MESSAGE".<br>
>>> If the message will written, then the event will not fired.<br>
>>> Switch_rtp.c line 6650<br>
>>> } else {<br>
>>>     switch_log_printf(SWITCH_<wbr>CHANNEL_SESSION_LOG(rtp_<wbr>session->session),<br>
>>>                       SWITCH_LOG_WARNING, "Received an unsupported RTCP packet version %d\n", msg->header.version);<br>
>>>     return SWITCH_STATUS_FALSE;<br>
>>><br>
>>> -----Ursprüngliche Nachricht-----<br>
>>> Von: Madovsky [mailto:<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>]<br>
>>> Gesendet: Dienstag, 16. Januar 2018 12:17<br>
>>> An: Alexander Haugg <<a href="mailto:Alexander.Haugg@c4b.de">Alexander.Haugg@c4b.de</a>><br>
>>> Betreff: Re: [Freeswitch-users] Received an unsupported RTCP packet<br>
>>> version 3<br>
>>><br>
>>> I think it's safe to ignore unless you need<br>
>>><br>
>>> any management with RTCP<br>
>>><br>
>>> On 1/15/2018 11:16 PM, Alexander Haugg wrote:<br>
>>>> I have the same Problem with the Bria 4 Client.<br>
>>>> My FS Verison is "Version 1.9.0+git~20170608T004121Z~<wbr>00ab2b40b4~64bit (git 00ab2b4 2017-06-08 00:41:21Z 64bit)"<br>
>>>><br>
>>>> -----Ursprüngliche Nachricht-----<br>
>>>> Von: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a><br>
>>>> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-<wbr>bounces@lists.freeswitch.org</a>] Im Auftrag<br>
>>>> von Mikhail Demekhov<br>
>>>> Gesendet: Donnerstag, 10. November 2016 09:27<br>
>>>> An: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.<wbr>freeswitch.org</a><br>
>>>> Betreff: [Freeswitch-users] Received an unsupported RTCP packet<br>
>>>> version 3<br>
>>>><br>
>>>> Hello!<br>
>>>><br>
>>>> I have FreeSWITCH Version 1.6.12.<br>
>>>> After connecting partner FS-1.7 I had a lot of warning:<br>
>>>><br>
>>>> [WARNING] switch_rtp.c:6207 Received an unsupported RTCP packet<br>
>>>> version 3<br>
>>>><br>
>>>> How to fix it?<br>
<br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><font color="#000000"><img src="http://24.112.99.44/fss.png"><br></font></div><div style="font-size:12.8px"><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Brian West | Co-founder and Developer</font></span></p><p style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Need Commercial support? email <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a> </font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">FreeSWITCH Solutions | <a href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" style="color:rgb(17,85,204)" target="_blank">17345 Civic Drive #2531 Brookfield, WI 53045</a></font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Email: </span><span style="color:rgb(17,85,204);font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="mailto:brian@freeswitch.com" target="_blank">brian@freeswitch.com</a></span></font></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Mobile: 918-424-9378</font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Website: </span><a href="https://www.freeswitch.com/" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">https://www.FreeSWITCH.com</span></a></font></p><p dir="ltr" style="font-size:12.8px;line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font color="#000000"><a href="https://www.facebook.com/freeswitch/" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:11pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/l9_7QxvYIM4pcdS6eXAkIOZKqHnR2mYmt879_LZ93jSG-uGqOLzO0KVlBzTnPxn7QwU7I0Ednhi0MT_4nRGSobPt4f-LXMWr891Agu25Mvx-AD3k45rf6vUBquJW8NMPkHb_DBaK" width="23" height="23" alt="color-facebook-96.png" style="border:none"></span></a><span style="font-size:11pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="https://twitter.com/freeswitch?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor" style="color:rgb(17,85,204)" target="_blank"><img src="https://lh5.googleusercontent.com/_iuGyx4UVI8fg3j3y7xgK6SX7BeTVYO7CLvH29tkkdgRnugoB6Ry39J5IcLdAKinOWuYrprkLisaB8sxMNrHgXAaHBy-GC1510iJrNIwBP5bCM_LGbOisxBTgao6yWITZ4lgQZVD" width="23" height="23" alt="color-twitter-96.png" style="border:none"></a></span></font></p></div></div></div></div></div></div></div></div></div></div>
</div>