Hi all,
I'm doing this and getting OK, but even after clearing cache and reloading I'm still seeing this balance. It's added as part of a ActionPlan. I guess I should set a new action plan instead using account_set ?
cgr> balance_remove BalanceUuid="4045fe6a-e336-418e-bbcb-d3e3df913768" Tenant="surevoip" Account="XXXX"
"OK"
cgr> accounts Tenant="surevoip" AccountIds=["XXXX"]
[
{
"ID": "surevoip:XXXX",
"BalanceMap": {
<snip>
"*voice": [
{
"Uuid": "4045fe6a-e336-418e-bbcb-d3e3df913768",
"ID": "B_UK_MOBILE_UK_LANDLINE_5000",
"Value": 299975000000000.06,
"ExpirationDate": "0001-01-01T00:00:00Z",
"Weight": 10,
"DestinationIDs": {
"DST_UK": true,
"DST_UK_Mobile_Cloud9_074409_077000_078722": true,
"DST_UK_Mobile_O2_GBRCN": true,
"DST_UK_Mobile_Orange_GBROR": true,
"DST_UK_Mobile_T_Mobile_GBRME": true,
"DST_UK_Mobile_Three_GBRHU": true,
"DST_UK_Mobile_Vodafone_GBRVF": true
},
"RatingSubject": "",
"Categories": {
"mo_call_UK_Mobile_O2_GBRCN": true,
"mo_call_UK_Mobile_Orange_GBROR": true,
"mo_call_UK_Mobile_T_Mobile_GBRME": true,
"mo_call_UK_Mobile_Vodafone_GBRVF": true
},
"SharedGroups": {},
"Timings": null,
"TimingIDs": {},
"Disabled": false,
"Factor": null,
"Blocker": false
}
]
},
"UnitCounters": null,
"ActionTriggers": null,
"AllowNegative": false,
"Disabled": false
}
]