[OpenSIPS-Users] rtpengine aborting loop when reinvite is sent

Alex Balashov abalashov at evaristesys.com
Fri Jul 17 19:32:03 EST 2020


This happens when an SDP body that has already been passed to RTPEngine, and already adulterated by RTPEngine, is passed to it yet again.

Newer versions of RTPEngine have a loop protection feature to deal with it. It involves injecting an unregistered a=rtpengine attribute into the SDP, to say “I was already here”.

Most common cause on in-dialog requests (e.g. reinvites) is that next hop is set to proxy itself due to RFC 2543 endpoint behaviour. So, the proxy forwards the reinvite to itself and, unsurprisingly, invokes RTPEngine again. Many times this can be fixed on the endpoint.

—
Sent from mobile, with due apologies for brevity and errors.

> On Jul 17, 2020, at 3:19 PM, Mario San Vicente <mrsanvicente at gmail.com> wrote:
> 
> 
> Hello Everyone,
> 
> I have a scenario, where opensips is working with rtpengine . Call connects fine with audio.
> 
> I have enabled reinvite pinging to keep the call alive ; when the reinvite is sent to both legs of the calls i get  error messages  and NO AUDIO.  The reinvite has full SPD body.    
> 
> some config related:
> 
> modparam("rtpengine", "rtpengine_sock", "udp:127.0.0.1:2123")
> modparam("dialog", "reinvite_ping_interval", 60)
> record_route();
>  create_dialog("rR");
> 
> intermitent LOGS, until server is reboot:
> 
>  rtpengine[21823]: ERR: Too many packets in UDP receive queue (more than 50), aborting loop. Dropped packets possible
>  rtpengine[21823]: WARNING: More than 30 duplicate packets detected, dropping packet to avoid potential loop
> 
> Any idea what might be wrong?  
> 
> thanks you in advance!
> 
> -- 
> Mario San Vicente
> Cheers!
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200717/c97d0713/attachment.html>


More information about the Users mailing list