<div dir="ltr">Thank you both for your replies.<div>I realised eventually that I was indeed missing rtpproxy_offer/answer for the RE-INVITEs.</div><div><br></div><div>Callum, I am using rtpproxy_offer/answer but I will keep that in mind for the future.</div><div><br></div><div>Seems to be working now although I think I need to tune the options in this case. Is there a generally recognised method of re-engaging rtpproxy when sessions already exist? I'm thinking the 'l' flag is required?</div><div><br></div><div>Regards</div><div>Mark.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 11 Jun 2019 at 09:16, Callum Guy <<a href="mailto:callum.guy@x-on.co.uk">callum.guy@x-on.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Mark,<br><div><br></div><div>Can you confirm which engagement functions you are using? Does the SDP look like its being handled for the RE-INVITE transactions?</div><div><br></div><div>I have dealt with some similar scenarios recently and would highly recommend using the separate rtpproxy_offer() and rtpproxy_answer() methods over the dialog bound rtpproxy_engage() - this will give you a more granular control. Generally speaking I would advise that you identity a loose routed INVITE and check for present of SDP and use this to trigger an offer, somewhat like this:</div><div><br></div><div><font face="courier new, monospace">if (loose_route() && is_method("INVITE") && has_body("application/sdp")) {</font></div><div><font face="courier new, monospace">  rtpproxy_offer(OPTS);</font></div><div><font face="courier new, monospace">}</font></div><div><br></div><div>You'll then need to consider the additional scenarios for last SDP and ACK processing to handle both the answer and edge cases however hopefully this will help you move forward in your config.</div><div><br></div><div>Good luck,</div><div><br></div><div>Callum</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 10 Jun 2019 at 19:55, Răzvan Crainea <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi, Mark!<br>
<br>
Are you engaging RTPProxy for the re-INVITEs too? Can you check if <br>
RTPProxy times out the session due to lack of audio from one side? You <br>
can see that in the logs.<br>
<br>
Best regards,<br>
<br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
On 6/10/19 4:23 PM, Mark Farmer wrote:<br>
> Hi all<br>
> <br>
> I'm trying to solve an issue where if the call is placed on hold via a <br>
> re-INVITE, my end stops the audio at that point so when another <br>
> re-INVITE is received to resume the call, the audio does not restart. I <br>
> can still hear the other party but they cannot hear me because I'm not <br>
> sending any RTP any more.<br>
> <br>
> I'm really struggling to pin this one down. Can anyone give me any clues <br>
> as to why this might be happening?<br>
> <br>
> I'm using OpenSIPS 2.4.5 with RTPProxy 2.0<br>
> <br>
> Many thanks<br>
> Mark.<br>
> <br>
> <br>
> -- <br>
> Mark Farmer<br>
> <a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a> <mailto:<a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a>><br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
> <br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>

<br>
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;text-align:justify"><font size="3" face="Verdana"><span style="font-size:8px;color:rgb(0,0,0);background-color:transparent;font-weight:400;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;text-decoration:none;vertical-align:baseline"></span></font></p><div><img src="https://www.x-on.co.uk/email/footer/banner-surgeryconnect-jun-sep-19.jpg"></div><div><br></div><div><div><div><font size="4"><b><sup><font face="Verdana">0333 332 0000  |  <a href="http://www.x-on.co.uk" target="_blank">www.x-on.co.uk</a>  |  <sub> </sub></font></sup></b></font><font size="4"><b><sub><sup><font face="Verdana"><a href="https://www.linkedin.com/company/x-on" target="_blank"><img src="http://www.x-on.co.uk//images/icon/linkedin.png" width="24" height="24"></a>  <a href="https://www.facebook.com/XonTel" target="_blank"><img src="http://www.x-on.co.uk//images/icon/facebook.png" width="24" height="24"></a>  <a href="https://twitter.com/xonuk" target="_blank"><img src="http://www.x-on.co.uk//images/icon/twitter.png" width="24" height="24"></a></font></sup></sub> </b></font><br><p><span style="font-size:6pt;font-family:Verdana;color:black">X-on
is a trading name of Storacall Technology Ltd a limited company registered in
England and Wales.<br>
Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead,
Herts, HP3 9SD. Company Registration No. 2578478.<br>
The information in this e-mail is confidential and for use by the addressee(s)
only. If you are not the intended recipient, please notify X-on immediately on <span>+44(0)333 332 0000</span> and delete the<br>message from your computer. If you are not a named addressee you must not use,
disclose, disseminate, distribute, copy, print or reply to this email. </span><span style="font-size:6pt;font-family:Verdana;color:black">Views
or opinions expressed by an individual<br>within this email may not necessarily
reflect the views of X-on or its associated companies. Although X-on routinely
screens for viruses, addressees should scan this email and any attachments<br>for
viruses. X-on makes no representation or warranty as to the absence of viruses
in this email or any attachments.</span></p>





<p><span style="font-size:6pt;font-family:Verdana;color:black"></span><font size="2"><span style="font-size:6pt;font-family:Verdana;color:black"></span></font></p></div></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Mark Farmer<br><a href="mailto:farmorg@gmail.com" target="_blank">farmorg@gmail.com</a></div>