Browse Source

kamailio.cfg: load rtpproxy module

- update for nathelper module split
- rtpproxy module needed when WITH_NAT is defined
Daniel-Constantin Mierla 15 years ago
parent
commit
1e72cd4c4b
1 changed files with 4 additions and 2 deletions
  1. 4 2
      etc/kamailio.cfg

+ 4 - 2
etc/kamailio.cfg

@@ -169,6 +169,7 @@ loadmodule "presence_xml.so"
 
 
 #!ifdef WITH_NAT
 #!ifdef WITH_NAT
 loadmodule "nathelper.so"
 loadmodule "nathelper.so"
+loadmodule "rtpproxy.so"
 #!endif
 #!endif
 
 
 # ----------------- setting module-specific parameters ---------------
 # ----------------- setting module-specific parameters ---------------
@@ -288,9 +289,10 @@ modparam("presence_xml", "force_active", 1)
 modparam("presence", "server_address", "sip:10.0.0.10:5060")
 modparam("presence", "server_address", "sip:10.0.0.10:5060")
 #!endif
 #!endif
 
 
-# ----- nathelper -----
 #!ifdef WITH_NAT
 #!ifdef WITH_NAT
-modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:7722")
+# ----- rtpproxy -----
+modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")
+# ----- nathelper -----
 modparam("nathelper", "natping_interval", 30)
 modparam("nathelper", "natping_interval", 30)
 modparam("nathelper", "ping_nated_only", 1)
 modparam("nathelper", "ping_nated_only", 1)
 modparam("nathelper", "sipping_bflag", 7)
 modparam("nathelper", "sipping_bflag", 7)