ApierV1.DebitUsage method, rename ApierV1.GetMaxSessionTime->ApierV1.GetMaxUsage

This commit is contained in:
DanB
2015-07-01 13:47:18 +02:00
parent be59d92ee4
commit 2659742310
4 changed files with 69 additions and 30 deletions

View File

@@ -133,7 +133,7 @@ route[CGR_AUTH_REQ] {
# Code to produce the json
$json(cgr_auth) := "{}";
$json(cgr_auth/id) = "1";
$json(cgr_auth/method) = "ApierV1.GetMaxSessionTime";
$json(cgr_auth/method) = "ApierV1.GetMaxUsage";
$json(cgr_auth/params) := "[{}]";
$json(cgr_auth/params[0]/ReqType) = $avp(cgr_reqtype);
$json(cgr_auth/params[0]/Account) = $avp(cgr_account);