Yup, you are right, rtpproxy_engage() is not deprecated :). Fixed the documentation.

Regarding the engage vs offer/answer functions, this is strongly related to your scenario. If you simply want to use RTPProxy in a common scenario (for two clients behind NAT), you can simply call rtpproxy_engage() once and it will take care of all the session. But if you want to do more complex things, like bridging, changing the IP in the SDP, trusting clients IP, you'll have to use offer/answer functions using the proper flags for each request/reply.

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 04/18/2014 12:11 PM, Rik Broers wrote:
And what about the engage_rtp_proxy and rtpproxy_engage. They both say 
Deprecated :)
Shouldn't only one be deprecated?

It is also unclear to me what method is preferred, Should I use engage or the 
offer answer functions?

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Razvan Crainea
Sent: vrijdag 18 april 2014 10:35
To: [email protected]
Subject: Re: [OpenSIPS-Users] Deprecated behind commands in RTPProxy DOC

Hi, Rick!

Indeed, there was a typo in the configuration file. The
unforce_rtp_proxy() function has been replaced by rtpproxy_unforce() 
function[1].

[1] http://www.opensips.org/html/docs/modules/1.11.x/rtpproxy#id248034

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 04/18/2014 11:14 AM, Rik Broers wrote:
Where can I read about why these are deprecated? And what functions
have replaced them?

Documentation I am talking about:

http://www.opensips.org/html/docs/modules/devel/rtpproxy.html#id293915

http://www.opensips.org/html/docs/modules/devel/rtpproxy.html#id294216

I’m using the offer and answer functions, and the unforce as well.
Behind unforce it says this is deprecated.

How should I do it?

Vriendelijke groet,

*Rik Broers*
Voice Engineer



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to