Module: sip-router
Branch: master
Commit: 751114fd6ee5eb54b73b9214941ee689b9d70450
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=751114f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Oct 14 21:34:08 2011 +0200
kamailio.cfg: load cfg_rpc module to allow runtime updates
- use request_route { ... } instead of route { ... } for easier
reference in docs and discussions
---
etc/kamailio.cfg | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg
index 7c6f64c..f76b9e1 100644
--- a/etc/kamailio.cfg
+++ b/etc/kamailio.cfg
@@ -222,6 +222,7 @@ loadmodule "siputils.so"
loadmodule "xlog.so"
loadmodule "sanity.so"
loadmodule "ctl.so"
+loadmodule "cfg_rpc.so"
loadmodule "mi_rpc.so"
loadmodule "acc.so"
@@ -438,7 +439,8 @@ modparam("debugger", "cfgtrace", 1)
# Main SIP request routing logic
# - processing of any incoming SIP request starts with this route
-route {
+# - note: this is the same as route { ... }
+request_route {
# per request initial checks
route(REQINIT);