[sr-dev] git:master:25accffd: cnxcc: fix example code in doc file adding the new parameter [skip ci]
Jose Luis Verdeguer
pepeluxx at gmail.com
Wed Jan 9 14:07:23 CET 2019
Module: kamailio
Branch: master
Commit: 25accffdbd9dab458e95125630b2129986656fd2
URL: https://github.com/kamailio/kamailio/commit/25accffdbd9dab458e95125630b2129986656fd2
Author: Jose Luis Verdeguer <pepeluxx at gmail.com>
Committer: Jose Luis Verdeguer <pepeluxx at gmail.com>
Date: 2019-01-09T14:07:19+01:00
cnxcc: fix example code in doc file adding the new parameter [skip ci]
---
Modified: src/modules/cnxcc/doc/cnxcc_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/25accffdbd9dab458e95125630b2129986656fd2.diff
Patch: https://github.com/kamailio/kamailio/commit/25accffdbd9dab458e95125630b2129986656fd2.patch
---
diff --git a/src/modules/cnxcc/doc/cnxcc_admin.xml b/src/modules/cnxcc/doc/cnxcc_admin.xml
index 4ffb81b449..4284437a8b 100644
--- a/src/modules/cnxcc/doc/cnxcc_admin.xml
+++ b/src/modules/cnxcc/doc/cnxcc_admin.xml
@@ -519,12 +519,14 @@ route[CNXCC]
{
$var(client) = "test-client";
$var(credit) = "50";
+ $var(connect_cost) = "3.0";
$var(cost_per_sec) = "0.5";
$var(i_pulse) = 30;
$var(f_pulse) = 6;
if (!cnxcc_set_max_credit("$var(client)",
"$var(credit)",
+ "$var(connect_cost)",
"$var(cost_per_sec)",
"$var(i_pulse)",
"$var(f_pulse)")) {
More information about the sr-dev
mailing list