<div dir="ltr">Hello all,<div> I am using opensips 3.4.6 version and in order to handle rtp i have configured rtpengine and rtp_relay module in opensips script.<br>For the UDP to UDP call I am using the same rtp_relay and rtp_relay_peer variable and it's working fine. but when i configured for wss to udp call at time not able to get audio both sides. <br clear="all"><div><br>Here's my sample code. <br><br>route[INIT_INVITE]{</div><div> if (isflagset("SRC_WS") && !isbflagset("DST_WS")) { </div> xlog("L_INFO", " [$ci] [$rm] [WSS to UDP]");<br> $rtp_relay="RTP/AVP replace-session-connection replace-origin ICE=remove";<br></div><div> $rtp_relay_peer="UDP/TLS/RTP/SAVPF trust-address ICE=force rtcp-mux-offer SDES-off replace-session-connection replace-origin generate-mid";<br> rtp_relay_engage("rtpengine");</div><div>}<div><br>Let me know if I have missed anything or any changes required.<br><br><br>Thanks <br>Vinayak</div><div></div></div></div>
<br>
<div><b><a href="https://www.ecosmob.com/agile-testing-webinar/" target="_blank"><img src="https://ecosmobnew.ecosmob.net/wp-content/uploads/2024/06/sign.png" alt="https://www.ecosmob.com/webinar/"></a><br>Disclaimer</b><br></div><div><div><span>In addition to generic Disclaimer which you have agreed on our website, any views or opinions presented in this email are solely those of the originator and do not necessarily represent those of the Company or its sister concerns. Any liability (in negligence, contract or otherwise) arising from any third party taking any action, or refraining from taking any action on the basis of any of the information contained in this email is hereby excluded.</span></div></div><div><span><br></span></div><div><span><b>Confidentiality</b></span></div><div><span>This communication (including any attachment/s) is intended only for the use of the addressee(s) and contains information that is PRIVILEGED AND CONFIDENTIAL. Unauthorized reading, dissemination, distribution, or copying of this communication is prohibited. Please inform originator if you have received it in error.</span></div><div><span><br></span></div><div><span><b>Caution for viruses, malware etc.</b></span></div><div><span>This communication, including any attachments, may not be free of viruses, trojans, similar or new contaminants/malware, interceptions or interference, and may not be compatible with your systems. You shall carry out virus/malware scanning on your own before opening any attachment to this e-mail. The sender of this e-mail and Company including its sister concerns shall not be liable for any damage that may incur to you as a result of viruses, incompleteness of this message, a delay in receipt of this message or any other computer problems. </span></div>