--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/27416874-e88a-4251-b7f7-dfbf4216e091n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/532399ad-6651-4480-bf66-2bf0f694ae68n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/adf3ecb6-c266-45f4-aa1c-7611cd8351bcn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/a4242338-3594-4f64-a851-0981127aa67cn%40googlegroups.com.
T 127.0.0.1:51462 -> 127.0.0.1:2012 [AP] #4
{"method":"SessionSv1.AuthorizeEvent","params":[{"GetAttributes":true,"AuthorizeResources":true,"GetMaxUsage":true,"ForceDuration":false,"ProcessThresholds":true,"ProcessStats":tr
ue,"GetRoutes":true,"RoutesMaxCost":"","RoutesIgnoreErrors":false,"AttributeIDs":null,"ThresholdIDs":null,"StatIDs":null,"Opts":{},"Tenant":"cgrates.org","ID":"b62a698","Time":"20
21-02-03T14:42:20.916Z","Event":{"Account":"901","Destination":"7999","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","OriginID":"1612363340.1601","RequestType"
:"*prepaid","SetupTime":"2021-02-03T14:42:20.910+0000","Source":"AsteriskAgent","cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid":"901","did":"7999",
"direction":"out","my_disposition":"test"},"Limit":null,"Offset":null}],"id":0}.
##
T 127.0.0.1:51462 -> 127.0.0.1:2012 [AP] #6
{"method":"AttributeSv1.ProcessEvent","params":[{"AttributeIDs":null,"Context":"*sessions","ProcessRuns":null,"Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"b62a698",
"Time":"2021-02-03T14:42:20.916Z","Event":{"Account":"901","Destination":"7999","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","OriginID":"1612363340.1601","Re
questType":"*prepaid","SetupTime":"2021-02-03T14:42:20.910+0000","Source":"AsteriskAgent","cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid":"901","di
d":"7999","direction":"out","my_disposition":"test"}}],"id":1}.
##
T 127.0.0.1:2012 -> 127.0.0.1:51462 [AP] #8
{"id":1,"result":null,"error":"NOT_FOUND"}.
##
T 127.0.0.1:51462 -> 127.0.0.1:2012 [AP] #10
{"method":"ChargerSv1.ProcessEvent","params":[{"Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"b62a698","Time":"2021-02-03T14:42:20.916Z","Event":{"Account":"901","CGR
ID":"5fe3066295bac24ff9141cce44831787e3b705d0","Destination":"7999","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","OriginID":"1612363340.1601","RequestType":"
*prepaid","SetupTime":"2021-02-03T14:42:20.910+0000","Source":"AsteriskAgent","Usage":10800000000000,"cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid
":"901","did":"7999","direction":"out","my_disposition":"test"}}],"id":2}.
#
T 127.0.0.1:2012 -> 127.0.0.1:51462 [AP] #11
{"id":2,"result":null,"error":"NOT_FOUND"}.
#
T 127.0.0.1:2012 -> 127.0.0.1:51462 [AP] #12
{"id":0,"result":null,"error":"CHARGERS_ERROR:NOT_FOUND"}.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/320f0902-770e-42c0-ae05-ff073e924eabn%40googlegroups.com.
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #1
{"method":"SessionSv1.AuthorizeEvent","params":[{"GetAttributes":true,"AuthorizeResources":true,"GetMaxUsage":true,"ForceDuration":false,"ProcessThresholds":true,"ProcessStats":tru
e,"GetRoutes":true,"RoutesMaxCost":"","RoutesIgnoreErrors":false,"AttributeIDs":null,"ThresholdIDs":null,"StatIDs":null,"Opts":{},"Tenant":"cgrates.org","ID":"362ac79","Time":"2021
-02-10T14:53:45.808Z","Event":{"Account":"901","Destination":"79134577371","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","OriginID":"1612968825.14952","Request
Type":"*prepaid","SetupTime":"2021-02-10T14:53:45.800+0000","Source":"AsteriskAgent","cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid":"901","did":"79
134577371","direction":"out","my_disposition":"test"},"Limit":null,"Offset":null}],"id":37}.
#
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #2
{"method":"AttributeSv1.ProcessEvent","params":[{"AttributeIDs":null,"Context":"*sessions","ProcessRuns":null,"Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"362ac79","
Time":"2021-02-10T14:53:45.808Z","Event":{"Account":"901","Destination":"79134577371","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","OriginID":"1612968825.1495
2","RequestType":"*prepaid","SetupTime":"2021-02-10T14:53:45.800+0000","Source":"AsteriskAgent","cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid":"901
","did":"79134577371","direction":"out","my_disposition":"test"}}],"id":38}.
##
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #4
{"id":38,"result":{"MatchedProfiles":["ATTR_CRG_SUPPLIER"],"AlteredFields":["*req.Category"],"Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"362ac79","Time":"2021-02-10
T14:53:45.808Z","Event":{"Account":"901","Category":"reseller","Destination":"79134577371","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","OriginID":"1612968825
.14952","RequestType":"*prepaid","SetupTime":"2021-02-10T14:53:45.800+0000","Source":"AsteriskAgent","cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid"
:"901","did":"79134577371","direction":"out","my_disposition":"test"}},"error":null}.
#
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #5
{"method":"AttributeSv1.ProcessEvent","params":[{"AttributeIDs":["ATTR_CRG_SUPPLIER"],"Context":"*chargers","ProcessRuns":null,"Opts":{"*subsys":"*chargers"},"Tenant":"cgrates.org"
,"ID":"362ac79","Time":"2021-02-10T14:53:45.808Z","Event":{"Account":"901","CGRID":"3f3cf860c3a85ecbc889d43e44c0d59ec9e8b148","Category":"reseller","Destination":"79134577371","Eve
ntName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","OriginID":"1612968825.14952","RequestType":"*prepaid","RunID":"reseller","SetupTime":"2021-02-10T14:53:45.800+0000",
"Source":"AsteriskAgent","Usage":10800000000000,"cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid":"901","did":"79134577371","direction":"out","my_disp
osition":"test"}}],"id":39}.
#
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #6
{"id":39,"result":null,"error":"NOT_FOUND"}.
#
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #7
{"method":"Responder.GetMaxSessionTime","params":[{"Category":"reseller","Tenant":"cgrates.org","Subject":"901","Account":"901","Destination":"79134577371","TimeStart":"2021-02-10T
14:53:45.8Z","TimeEnd":"2021-02-10T17:53:45.8Z","LoopIndex":0,"DurationIndex":0,"FallbackSubject":"","RatingInfos":null,"Increments":null,"ToR":"","ExtraFields":{"EventName":"SMA_A
UTHORIZATION","cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid":"901","did":"79134577371","direction":"out","my_disposition":"test"},"MaxRate":0,"MaxR
ateUnit":0,"MaxCostSoFar":0,"CgrID":"3f3cf860c3a85ecbc889d43e44c0d59ec9e8b148","RunID":"reseller","ForceDuration":false,"PerformRounding":false,"DryRun":false,"DenyNegativeAccount"
:false,"Opts":{"*subsys":"*sessions"}}],"id":40}.
#
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #8
{"id":40,"result":0,"error":null}.
#
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #9
{"method":"Responder.GetMaxSessionTime","params":[{"Category":"reseller","Tenant":"cgrates.org","Subject":"901","Account":"901","Destination":"79134577371","TimeStart":"2021-02-10T
14:53:45.8Z","TimeEnd":"2021-02-10T17:53:45.8Z","LoopIndex":0,"DurationIndex":0,"FallbackSubject":"","RatingInfos":null,"Increments":null,"ToR":"","ExtraFields":{"EventName":"SMA_A
UTHORIZATION","cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid":"901","did":"79134577371","direction":"out","my_disposition":"test"},"MaxRate":0,"MaxR
ateUnit":0,"MaxCostSoFar":0,"CgrID":"3f3cf860c3a85ecbc889d43e44c0d59ec9e8b148","RunID":"*default","ForceDuration":false,"PerformRounding":false,"DryRun":false,"DenyNegativeAccount"
:false,"Opts":{"*subsys":"*sessions"}}],"id":41}.
#
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #10
{"id":41,"result":0,"error":null}.
#
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #11
{"method":"ResourceSv1.AuthorizeResources","params":[{"Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"362ac79","Time":"2021-02-10T14:53:45.808Z","Event":{"Account":"901
","CGRID":"3f3cf860c3a85ecbc889d43e44c0d59ec9e8b148","Category":"reseller","Destination":"79134577371","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","OriginID"
:"1612968825.14952","RequestType":"*prepaid","SetupTime":"2021-02-10T14:53:45.800+0000","Source":"AsteriskAgent","Usage":10800000000000,"cgr_flags":"*accounts,*attributes,*resource
s,*stats,*routes,*thresholds","cid":"901","did":"79134577371","direction":"out","my_disposition":"test"},"UsageID":"1612968825.14952","UsageTTL":null,"Units":1}],"id":42}.
#
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #12
{"id":42,"result":"ResGroup1","error":null}.
#
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #13
{"method":"RouteSv1.GetRoutes","params":[{"IgnoreErrors":false,"MaxCost":"","Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"362ac79","Time":"2021-02-10T14:53:45.808Z","
Event":{"Account":"901","CGRID":"3f3cf860c3a85ecbc889d43e44c0d59ec9e8b148","Category":"reseller","Destination":"79134577371","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.l
eadzvon.ru","OriginID":"1612968825.14952","RequestType":"*prepaid","SetupTime":"2021-02-10T14:53:45.800+0000","Source":"AsteriskAgent","Usage":10800000000000,"cgr_flags":"*accounts
,*attributes,*resources,*stats,*routes,*thresholds","cid":"901","did":"79134577371","direction":"out","my_disposition":"test"},"Limit":null,"Offset":null}],"id":43}.
#
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #14
{"id":43,"result":{"ProfileID":"SIMPLE_ROUTE","Sorting":"*weight","Count":1,"SortedRoutes":[{"RouteID":"simple_route","RouteParameters":"","SortingData":{"Weight":20}}]},"error":nu
ll}.
#
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #15
{"method":"ThresholdSv1.ProcessEvent","params":[{"ThresholdIDs":null,"Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"362ac79","Time":"2021-02-10T14:53:45.808Z","Event":
{"Account":"901","CGRID":"3f3cf860c3a85ecbc889d43e44c0d59ec9e8b148","Category":"reseller","Destination":"79134577371","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon
.ru","OriginID":"1612968825.14952","RequestType":"*prepaid","SetupTime":"2021-02-10T14:53:45.800+0000","Source":"AsteriskAgent","Usage":10800000000000,"cgr_flags":"*accounts,*attri
butes,*resources,*stats,*routes,*thresholds","cid":"901","did":"79134577371","direction":"out","my_disposition":"test"}}],"id":44}.
#
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #16
{"id":44,"result":null,"error":"NOT_FOUND"}.
#
T 127.0.0.1:38604 -> 127.0.0.1:2012 [AP] #17
{"method":"StatSv1.ProcessEvent","params":[{"StatIDs":null,"Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"362ac79","Time":"2021-02-10T14:53:45.808Z","Event":{"Account"
:"901","CGRID":"3f3cf860c3a85ecbc889d43e44c0d59ec9e8b148","Category":"reseller","Destination":"79134577371","EventName":"SMA_AUTHORIZATION","OriginHost":"flypost.leadzvon.ru","Orig
inID":"1612968825.14952","RequestType":"*prepaid","SetupTime":"2021-02-10T14:53:45.800+0000","Source":"AsteriskAgent","Usage":10800000000000,"cgr_flags":"*accounts,*attributes,*res
ources,*stats,*routes,*thresholds","cid":"901","did":"79134577371","direction":"out","my_disposition":"test"}}],"id":45}.
#
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #18
{"id":45,"result":null,"error":"NOT_FOUND"}.
#
T 127.0.0.1:2012 -> 127.0.0.1:38604 [AP] #19
{"id":37,"result":{"Attributes":{"MatchedProfiles":["ATTR_CRG_SUPPLIER"],"AlteredFields":["*req.Category"],"Opts":{"*subsys":"*sessions"},"Tenant":"cgrates.org","ID":"362ac79","Tim
e":"2021-02-10T14:53:45.808Z","Event":{"Account":"901","CGRID":"3f3cf860c3a85ecbc889d43e44c0d59ec9e8b148","Category":"reseller","Destination":"79134577371","EventName":"SMA_AUTHORI
ZATION","OriginHost":"flypost.leadzvon.ru","OriginID":"1612968825.14952","RequestType":"*prepaid","SetupTime":"2021-02-10T14:53:45.800+0000","Source":"AsteriskAgent","Usage":108000
00000000,"cgr_flags":"*accounts,*attributes,*resources,*stats,*routes,*thresholds","cid":"901","did":"79134577371","direction":"out","my_disposition":"test"}},"ResourceAllocation":
"ResGroup1","MaxUsage":0,"Routes":{"ProfileID":"SIMPLE_ROUTE","Sorting":"*weight","Count":1,"SortedRoutes":[{"RouteID":"simple_route","RouteParameters":"","SortingData":{"Weight":2
0}}]},"ThresholdIDs":null,"StatQueueIDs":null},"error":null}.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/60954961-c816-4910-aa14-249c61ffd122n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/0e651248-3adf-4392-8a1c-7f6239d8797en%40googlegroups.com.
Hi
"cgr_flags":"*accounts,*attributes,*resources,*routes"
> What is the request type of the CDRs, are all "*rated"
Yes. All CDRs have "*rated" request type, As soon as I change the request type to "*prepaid" it stops working.
<AsteriskAgent> failed disconnecting channel <1613126957.1767>, err: UNEXPECTED_REPLY_CODE: 404
In fact. I wanna rate both since my goal is to calculate the difference between client and provider tariffs
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/ea93c799-1811-49ef-857d-7fd67fe6308fn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/785e4619-79a1-4e85-9326-e3351474b0d5n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/65e3b020-2224-4a6e-b571-c503f0e5fb42n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/3f117d04-b646-4e71-86fe-e201e8d9cf75n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/714d62be-20ed-430b-9980-2aab8896dacfn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/64c78180-65fb-4bf2-96f2-af496afc0e75n%40googlegroups.com.