SMKamailio - empty rls fix, Kamailio tutorial configuration updates

This commit is contained in:
DanB
2017-06-01 14:33:16 +02:00
parent 6b9b26f68f
commit afe48cf532
5 changed files with 14 additions and 3 deletions

View File

@@ -6,6 +6,13 @@
// This file contains the default configuration hardcoded into CGRateS.
// This is what you get when you load CGRateS with an empty configuration file.
"general": {
"log_level": 7,
},
"stor_db": { // database used to store offline tariff plans and CDRs
"db_password": "CGRateS.org", // password to use when connecting to stordb
},
"rals": {
"enabled": true,

View File

@@ -66,7 +66,7 @@ route[CGR_AUTH_REPLY] {
$var(CgrMaxSessionTime) = $(var(MaxSessionTime){s.int});
$var(CgrSuppliers) = $(var(Suppliers){s.rm,"});
$var(CGRResourceAllowed) = $(var(CGRResourceAllowed){s.rm,"});
$var(CgrError) = $(var(Error){s.rm,"});
$var(CgrError) = $(var(CgrError){s.rm,"});
t_continue("$var(id_index)", "$var(id_label)", "CGRATES_AUTH_REPLY"); # Unpark the transaction
}

View File

@@ -27,7 +27,7 @@ dns_use_search_list=no
####### Modules Section ########
mpath="/usr/lib/x86_64-linux-gnu/kamailio/modules/"
mpath="/usr/lib64/kamailio/modules/"
loadmodule "kex.so"
loadmodule "corex.so"