Selaa lähdekoodia

kamailio.cfg: replaced force_rtp_proxy()

- the function has been removed, replaced with rtpproxy_offer() and
  rtpproxy_offer()
Daniel-Constantin Mierla 14 vuotta sitten
vanhempi
commit
78131404d6
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      etc/kamailio.cfg

+ 2 - 2
etc/kamailio.cfg

@@ -754,7 +754,7 @@ route[RTPPROXY] {
 	if (is_method("BYE")) {
 	if (is_method("BYE")) {
 		unforce_rtp_proxy();
 		unforce_rtp_proxy();
 	} else if (is_method("INVITE")){
 	} else if (is_method("INVITE")){
-		force_rtp_proxy();
+		rtpproxy_offer();
 	}
 	}
 	if (!has_totag()) add_rr_param(";nat=yes");
 	if (!has_totag()) add_rr_param(";nat=yes");
 #!endif
 #!endif
@@ -853,7 +853,7 @@ onreply_route[REPLY_ONE] {
 #!ifdef WITH_NAT
 #!ifdef WITH_NAT
 	if ((isflagset(FLT_NATS) || isbflagset(FLB_NATB))
 	if ((isflagset(FLT_NATS) || isbflagset(FLB_NATB))
 			&& status=~"(183)|(2[0-9][0-9])") {
 			&& status=~"(183)|(2[0-9][0-9])") {
-		force_rtp_proxy();
+		rtpproxy_answer();
 	}
 	}
 	if (isbflagset("6")) {
 	if (isbflagset("6")) {
 		fix_nated_contact();
 		fix_nated_contact();