[OpenSIPS-Users] Cancelling engage_rtp_proxy

Jeff Pyle jpyle at fidelityvoice.com
Thu Aug 29 21:13:26 CEST 2013

Hi John,

I had asked the same question a while back.  The answer I received was your
second option.  It seemed the only way to *dis*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.

I found it effective on initial INVITEs to use_media_proxy() on the
branch_route so I didn't have to turn it off if I went to a new branch...it
effectively died with the branch.

The commands may have changed in more current versions but the approach
should remain compatible.

- Jeff

On Thu, Aug 29, 2013 at 10:16 AM, John Quick <john.quick at smartvox.co.uk>wrote:

> I am trying to configure OpenSIPS (v1.9.1) to act as a Proxy between remote
> customer systems and a number of gateways, some (but not all) of which
> require proxying of the media with RTPProxy. It will try one gateway first,
> but if that gives a timeout error then I change the destination to another
> gateway inside the failure handling block and try again.
> My question is this: Can I use unforce_rtp_proxy() to cancel the effect of
> an earlier engage_rtp_proxy() used on the initial call attempt?
> Or will I have to enable RTP Proxy using rtpproxy_offer() and
> rtpproxy_answer() in order to be able to deselect it on the second
> destination attempt.
> John Quick
> Smartvox Limited
> Web: www.smartvox.co.uk
> _______________________________________________
> 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/20130829/d445abde/attachment.htm>

More information about the Users mailing list