Module: sip-router
Branch: master
Commit: 1e72cd4c4bd82496e98e492656a333b1a9385ae2
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e72cd4…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Aug 17 17:26:36 2010 +0200
kamailio.cfg: load rtpproxy module
- update for nathelper module split
- rtpproxy module needed when WITH_NAT is defined
---
etc/kamailio.cfg | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 46a87d0..98fa69d 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -169,6 +169,7 @@ loadmodule "presence_xml.so"
#!ifdef WITH_NAT
loadmodule "nathelper.so"
+loadmodule "rtpproxy.so"
#!endif
# ----------------- setting module-specific parameters ---------------
@@ -288,9 +289,10 @@ modparam("presence_xml", "force_active", 1)
modparam("presence", "server_address",
"sip:10.0.0.10:5060")
#!endif
-# ----- nathelper -----
#!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", "ping_nated_only", 1)
modparam("nathelper", "sipping_bflag", 7)