Module: sip-router Branch: master Commit: 78131404d62fbfc4ccbfc476d202428b5f413275 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=78131404...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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();
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@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=78131404...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@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();
} if (!has_totag()) add_rr_param(";nat=yes");rtpproxy_offer();
#!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();
} if (isbflagset("6")) { fix_nated_contact();rtpproxy_answer();
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
On 5/27/11 8:38 PM, Alex Balashov wrote:
But you kept unforce_rtp_proxy()? Confusing! :)
force_rtp_proxy() does not exist anymore - default config threw errors when define WITH_NAT was enabled.
Maybe we should rename unforce_rtp_proxy() to rtpproxy_end() or rtpproxy_close() or ...
Cheers, Daniel