Module: sip-router Branch: master Commit: 662bfcf71aae0ec7aa74996a447e48f82fb5dfdc URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=662bfcf7...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Wed Jan 15 17:01:07 2014 +0100
dispatcher: readme regenerated with updated config example
---
modules/dispatcher/README | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/modules/dispatcher/README b/modules/dispatcher/README index edd9801..c488359 100644 --- a/modules/dispatcher/README +++ b/modules/dispatcher/README @@ -1081,6 +1081,9 @@ r,opt) # - define WITH_DEBUG #
+#!ifndef DBURL +#!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio" +#!endif
####### Global Parameters #########
@@ -1168,8 +1171,7 @@ modparam("tm", "fr_timer", 2000) modparam("tm", "fr_inv_timer", 40000)
# ----- dispatcher params ----- -modparam("dispatcher", "db_url", - "mysql://openser:openserro@localhost/openser") +modparam("dispatcher", "db_url", DBURL) modparam("dispatcher", "table_name", "dispatcher") modparam("dispatcher", "flags", 2) modparam("dispatcher", "dst_avp", "$avp(AVP_DST)") @@ -1228,8 +1230,6 @@ route {
# dispatch destinations route(DISPATCH); - - route(RELAY); }
@@ -1317,7 +1317,8 @@ route[DISPATCH] { } xlog("L_DBG", "--- SCRIPT: going to <$ru> via <$du>\n"); t_on_failure("RTF_DISPATCH"); - return; + route(RELAY); + exit; }
# Sample failure route