Hi Adrian,
Thank you for looking into this.
I found that I could use RouteID with FilterIDs to determine which route I would allow a specific customer to take.
Routes.csv
cgrates.org,ROUTE_ACNT_R,,,,,A1RET,FLT_PRE_9008,,,,Stats2,10,,,
cgrates.org,ROUTE_ACNT_R,,,,,B1RET,FLT_PRE_9001,,,,Stats2,20,,,
Filters.csv
cgrates.org,FLT_PRE_9008,*string,~*req.CarrierPrefix,9008,2014-07-29T15:00:00Z
cgrates.org,FLT_PRE_9001,*string,~*req.CarrierPrefix,9001,2014-07-29T15:00:00Z
OpenSIPs:
$cgr(CarrierPrefix) = $avp(CarrierPrefix);
In OpenSIPs I send the CarrierPrefix received from the client to then allow the call to take the specific route.
So if the CarrierPrefix from client was 9008 it would take A1RET.
Let me know your thoughts.
Thank you
Vivian