[Freeswitch-users] Received an unsupported RTCP packet version 3

Brian West brian at freeswitch.com
Tue Jan 16 15:10:44 UTC 2018


As said before bug reports do not belong on the mailing list, please file a
JIRA so these issues can be fixed.

Thanks,
/b


On Tue, Jan 16, 2018 at 9:04 AM, Vallimamod Abdullah <vma at vallimamod.org>
wrote:

> Hi,
>
> Check the 2 first bits of the raw rtcp packet, it is where the version is
> set (http://www.networksorcery.com/enp/protocol/rtcp.htm).
> 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?
>
> It would be really interesting to check the version on each rtcp packet
> from the call to validate that some are indeed incorrect.
>
> But if you are willing to accept the bad version, you can apply the
> following patch (beware, it's a non tested hack):
>
> diff --git a/src/switch_rtp.c b/src/switch_rtp.c
> index 0ae3b641f0..fe975aca32 100644
> --- a/src/switch_rtp.c
> +++ b/src/switch_rtp.c
> @@ -6586,8 +6586,8 @@ static switch_status_t process_rtcp_packet(switch_rtp_t
> *rtp_session, switch_siz
>                         return SWITCH_STATUS_SUCCESS;
>                 } else {
>                         switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_
> session->session),
> -
>  SWITCH_LOG_WARNING, "Received an unsupported RTCP packet version %d\n",
> msg->header.version);
> -                       return SWITCH_STATUS_FALSE;
> +
>  SWITCH_LOG_WARNING, "Received an unsupported RTCP packet version %d,
> forcing to 2\n", msg->header.version);
> +                       msg->header.version = 2;
>                 }
>         }
>
>
>
> Best Regards,
> --
> Vallimamod Abdullah
> SIP Solutions
> vma at sipsolutions.fr
> .
>
> > On 16 Jan 2018, at 14:06, Alexander Haugg <Alexander.Haugg at c4b.de>
> wrote:
> >
> > If i have a bit more time, it could be I can fix it, but not at the
> moment.
> > At first I will open a JIRA ticket.
> >
> > -----Ursprüngliche Nachricht-----
> > Von: FreeSWITCH-users [mailto:freeswitch-users-
> bounces at lists.freeswitch.org] Im Auftrag von Madovsky
> > Gesendet: Dienstag, 16. Januar 2018 14:02
> > An: freeswitch-users at lists.freeswitch.org
> > Betreff: Re: [Freeswitch-users] Received an unsupported RTCP packet
> version 3
> >
> > any skillful C programmers needed so,
> >
> > it shouldn't be hard I think
> >
> > On 1/16/2018 4:53 AM, Alexander Haugg wrote:
> >> Yes, you are right.
> >> The interesting point is, the RTCP version is 2. That can i see in the
> >> wireshark trace
> >>
> >> -----Ursprüngliche Nachricht-----
> >> Von: FreeSWITCH-users
> >> [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von
> >> Madovsky
> >> Gesendet: Dienstag, 16. Januar 2018 13:19
> >> An: freeswitch-users at lists.freeswitch.org
> >> Betreff: Re: [Freeswitch-users] Received an unsupported RTCP packet
> >> version 3
> >>
> >> As the warning says, FS does not support RTCP version 3 message,
> >>
> >> maybe a patch would be welcome.
> >>
> >>
> >> On 1/16/2018 3:53 AM, Alexander Haugg wrote:
> >>> Thanks, but no, I need the event socket event "RECV_RTCP_MESSAGE".
> >>> If the message will written, then the event will not fired.
> >>> Switch_rtp.c line 6650
> >>> } else {
> >>>     switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_
> session->session),
> >>>                       SWITCH_LOG_WARNING, "Received an unsupported
> RTCP packet version %d\n", msg->header.version);
> >>>     return SWITCH_STATUS_FALSE;
> >>>
> >>> -----Ursprüngliche Nachricht-----
> >>> Von: Madovsky [mailto:infos at madovsky.org]
> >>> Gesendet: Dienstag, 16. Januar 2018 12:17
> >>> An: Alexander Haugg <Alexander.Haugg at c4b.de>
> >>> Betreff: Re: [Freeswitch-users] Received an unsupported RTCP packet
> >>> version 3
> >>>
> >>> I think it's safe to ignore unless you need
> >>>
> >>> any management with RTCP
> >>>
> >>> On 1/15/2018 11:16 PM, Alexander Haugg wrote:
> >>>> I have the same Problem with the Bria 4 Client.
> >>>> My FS Verison is "Version 1.9.0+git~20170608T004121Z~00ab2b40b4~64bit
> (git 00ab2b4 2017-06-08 00:41:21Z 64bit)"
> >>>>
> >>>> -----Ursprüngliche Nachricht-----
> >>>> Von: freeswitch-users-bounces at lists.freeswitch.org
> >>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag
> >>>> von Mikhail Demekhov
> >>>> Gesendet: Donnerstag, 10. November 2016 09:27
> >>>> An: freeswitch-users at lists.freeswitch.org
> >>>> Betreff: [Freeswitch-users] Received an unsupported RTCP packet
> >>>> version 3
> >>>>
> >>>> Hello!
> >>>>
> >>>> I have FreeSWITCH Version 1.6.12.
> >>>> After connecting partner FS-1.7 I had a lot of warning:
> >>>>
> >>>> [WARNING] switch_rtp.c:6207 Received an unsupported RTCP packet
> >>>> version 3
> >>>>
> >>>> How to fix it?
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>

[image: color-facebook-96.png] <https://www.facebook.com/freeswitch/>[image:
color-twitter-96.png]
<https://twitter.com/freeswitch?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180116/57811d56/attachment-0001.html>


More information about the FreeSWITCH-users mailing list