<div dir="ltr">Hi John,<div><br></div><div>I had asked the same question a while back.  The answer I received was your second option.  It seemed the only way to <i>dis</i>engage_rtp_proxy() once engaged was to end the dialog.  Since I needed to selectively engage and disengage based on the current iteration of a serial fork, my only solution was to manually manage with use_media_proxy().  This was in 1.6.</div>
<div><br></div><div>I found it effective on initial INVITEs to use_media_proxy() on the branch_route so I didn&#39;t have to turn it off if I went to a new branch...it effectively died with the branch.</div><div><br></div>
<div>The commands may have changed in more current versions but the approach should remain compatible.</div><div><br></div><div><br></div><div><br></div><div>- Jeff<br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Aug 29, 2013 at 10:16 AM, John Quick <span dir="ltr">&lt;<a href="mailto:john.quick@smartvox.co.uk" target="_blank">john.quick@smartvox.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am trying to configure OpenSIPS (v1.9.1) to act as a Proxy between remote<br>
customer systems and a number of gateways, some (but not all) of which<br>
require proxying of the media with RTPProxy. It will try one gateway first,<br>
but if that gives a timeout error then I change the destination to another<br>
gateway inside the failure handling block and try again.<br>
<br>
My question is this: Can I use unforce_rtp_proxy() to cancel the effect of<br>
an earlier engage_rtp_proxy() used on the initial call attempt?<br>
Or will I have to enable RTP Proxy using rtpproxy_offer() and<br>
rtpproxy_answer() in order to be able to deselect it on the second<br>
destination attempt.<br>
<br>
John Quick<br>
Smartvox Limited<br>
Web: <a href="http://www.smartvox.co.uk" target="_blank">www.smartvox.co.uk</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div></div></div>