[sr-dev] git:master: kamailio.cfg: replaced force_rtp_proxy()

Alex Balashov abalashov at evaristesys.com
Fri May 27 20:38:00 CEST 2011


But you kept unforce_rtp_proxy()?  Confusing!  :)

--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

On May 27, 2011, at 2:35 PM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:

> Module: sip-router
> Branch: master
> Commit: 78131404d62fbfc4ccbfc476d202428b5f413275
> URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=78131404d62fbfc4ccbfc476d202428b5f413275
> 
> Author: Daniel-Constantin Mierla <miconda at gmail.com>
> Committer: Daniel-Constantin Mierla <miconda at gmail.com>
> Date:   Fri May 27 20:34:02 2011 +0200
> 
> kamailio.cfg: replaced force_rtp_proxy()
> 
> - the function has been removed, replaced with rtpproxy_offer() and
>  rtpproxy_offer()
> 
> ---
> 
> etc/kamailio.cfg |    4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
> index 7a545db..77cdce9 100644
> --- a/etc/kamailio.cfg
> +++ b/etc/kamailio.cfg
> @@ -754,7 +754,7 @@ route[RTPPROXY] {
>    if (is_method("BYE")) {
>        unforce_rtp_proxy();
>    } else if (is_method("INVITE")){
> -        force_rtp_proxy();
> +        rtpproxy_offer();
>    }
>    if (!has_totag()) add_rr_param(";nat=yes");
> #!endif
> @@ -853,7 +853,7 @@ onreply_route[REPLY_ONE] {
> #!ifdef WITH_NAT
>    if ((isflagset(FLT_NATS) || isbflagset(FLB_NATB))
>            && status=~"(183)|(2[0-9][0-9])") {
> -        force_rtp_proxy();
> +        rtpproxy_answer();
>    }
>    if (isbflagset("6")) {
>        fix_nated_contact();
> 
> 
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev



More information about the sr-dev mailing list