Skip to content

Commit

Permalink
cgrates: fix readme cgrate(s) typo
Browse files Browse the repository at this point in the history
(cherry picked from commit ff1ffef)
  • Loading branch information
razvancrainea committed Apr 26, 2017
1 parent 55e4b7b commit 502347e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions modules/cgrates/README
Expand Up @@ -144,7 +144,7 @@ Chapter 1. Admin Guide
}
xlog("Call is allowed to run $cgrret seconds\n");
# do accounting for this call
cgrate_acc("cdr", "$fU", "$rU");
cgrates_acc("cdr", "$fU", "$rU");
...

Note that when using the cdr flag, CDRs are exported by the
Expand All @@ -166,7 +166,7 @@ Chapter 1. Admin Guide
$cgr(SetupTime) = "" + $Ts;
$cgr(RequestType) = "*prepaid";
$cgr(Destination) = $rU;
cgrate_cmd("SMGenericV1.GetMaxUsage");
cgrates_cmd("SMGenericV1.GetMaxUsage");
xlog("Call is allowed to run $cgrret seconds\n");
...

Expand Down Expand Up @@ -392,14 +392,14 @@ modparam("cgrates", "retry_timeout", 120)

Example 1.7. cgrates_cmd() usage
...
# cgrate_auth("$fU", "$rU"); simulation
# cgrates_auth("$fU", "$rU"); simulation
$cgr(Tenant) = $fd;
$cgr(Account) = $fU;
$cgr(OriginID) = $ci;
$cgr(SetupTime) = "" + $Ts;
$cgr(RequestType) = "*prepaid";
$cgr(Destination) = $rU;
cgrate_cmd("SMGenericV1.GetMaxUsage");
cgrates_cmd("SMGenericV1.GetMaxUsage");
xlog("Call is allowed to run $cgrret seconds\n");
...

Expand Down
8 changes: 4 additions & 4 deletions modules/cgrates/doc/cgrates_admin.xml
Expand Up @@ -94,7 +94,7 @@
}
xlog("Call is allowed to run $cgrret seconds\n");
# do accounting for this call
cgrate_acc("cdr", "$fU", "$rU");
cgrates_acc("cdr", "$fU", "$rU");
...
</programlisting>
</para>
Expand Down Expand Up @@ -122,7 +122,7 @@
$cgr(SetupTime) = "" + $Ts;
$cgr(RequestType) = "*prepaid";
$cgr(Destination) = $rU;
cgrate_cmd("SMGenericV1.GetMaxUsage");
cgrates_cmd("SMGenericV1.GetMaxUsage");
xlog("Call is allowed to run $cgrret seconds\n");
...
</programlisting>
Expand Down Expand Up @@ -542,14 +542,14 @@ modparam("cgrates", "retry_timeout", 120)
<title>cgrates_cmd() usage</title>
<programlisting format="linespecific">
...
# cgrate_auth("$fU", "$rU"); simulation
# cgrates_auth("$fU", "$rU"); simulation
$cgr(Tenant) = $fd;
$cgr(Account) = $fU;
$cgr(OriginID) = $ci;
$cgr(SetupTime) = "" + $Ts;
$cgr(RequestType) = "*prepaid";
$cgr(Destination) = $rU;
cgrate_cmd("SMGenericV1.GetMaxUsage");
cgrates_cmd("SMGenericV1.GetMaxUsage");
xlog("Call is allowed to run $cgrret seconds\n");
...
</programlisting>
Expand Down

0 comments on commit 502347e

Please sign in to comment.