|
@@ -76,7 +76,7 @@ loadmodule "/usr/local/lib/ser/modules/xmlrpc.so"
|
|
|
|
|
|
# ----------------- setting script FLAGS -----------------------------
|
|
# ----------------- setting script FLAGS -----------------------------
|
|
flags
|
|
flags
|
|
- FLAG_ACC : 1, # include message in accouting
|
|
|
|
|
|
+ FLAG_ACC : 1, # include message in accounting
|
|
FLAG_FAILUREROUTE : 2; # we are operating from a failure route
|
|
FLAG_FAILUREROUTE : 2; # we are operating from a failure route
|
|
|
|
|
|
avpflags
|
|
avpflags
|
|
@@ -129,7 +129,7 @@ modparam("ctl", "fifo", "fifo:/tmp/ser_fifo")
|
|
# failed transactions (=negative responses) should be logged to
|
|
# failed transactions (=negative responses) should be logged to
|
|
modparam("acc_db", "failed_transactions", 1)
|
|
modparam("acc_db", "failed_transactions", 1)
|
|
|
|
|
|
-# comment the next line if you dont want to have accouting to DB
|
|
|
|
|
|
+# comment the next line if you dont want to have accounting to DB
|
|
modparam("acc_db", "log_flag", "FLAG_ACC")
|
|
modparam("acc_db", "log_flag", "FLAG_ACC")
|
|
|
|
|
|
# -- tm params --
|
|
# -- tm params --
|
|
@@ -265,7 +265,7 @@ route[RR]
|
|
# this is more for demonstration purpose as this could
|
|
# this is more for demonstration purpose as this could
|
|
# also be solved without RR cookies.
|
|
# also be solved without RR cookies.
|
|
# Note: this means all in-dialog request will show up in the
|
|
# Note: this means all in-dialog request will show up in the
|
|
- # accouting tables, so prepare your accounting software for this ;-)
|
|
|
|
|
|
+ # accounting tables, so prepare your accounting software for this ;-)
|
|
if ($account == "yes") {
|
|
if ($account == "yes") {
|
|
setflag(FLAG_ACC);
|
|
setflag(FLAG_ACC);
|
|
}
|
|
}
|