Telcobridges - Session Border Controllers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

LCR Priority Routing

Go down

LCR Priority Routing Empty LCR Priority Routing

Post by Guest Thu Mar 04, 2021 7:59 am

Hello,

Can you provide all of the documentation in setting a Least Cost Routing, please?

I actually found this https://docs.telcobridges.com/tbwiki/Tmedia_Routing


Guest
Guest


Back to top Go down

LCR Priority Routing Empty Re: LCR Priority Routing

Post by Guest Thu Mar 04, 2021 8:00 am

Hi,

The link below is correct,

https://docs.telcobridges.com/tbwiki/Tmedia_Routing

further, you can find the routing script, least_cost_routing.rb,

under the ‘main script’ section at web portal -> routing scripts, with comments, and script to do it.

Guest
Guest


Back to top Go down

LCR Priority Routing Empty Re: LCR Priority Routing

Post by Guest Thu Mar 04, 2021 8:01 am

Hello,

Thanks for your response.

I did look at the simple lease cost routing script in the main script. I also see this
 Least Cost Routing (least_cost_routing.rb): This script routes calls according to the cost values (which may depend on the time) of the routes. This is useful for cases when a route's popularity (cost) depends on the time of the day. This is done by adding different columns to the static routing tables (for example [:cost_0_6]) and filling them up with values for each route.

Not 100% sure what I need to do to use that script. Do you have detailed instruction?

thanks

Guest
Guest


Back to top Go down

LCR Priority Routing Empty Re: LCR Priority Routing

Post by Guest Thu Mar 04, 2021 8:01 am

Hi,

From here,

# A sorting method for route cost. It will order routes giving priority to routes
# who's cost is lower. Three dynamic route attributes are required:
#
# * <tt>cost_0_6</tt>: Cost of the route between 0-6 o'clock.
# * <tt>cost_7_9</tt>: Cost of the route between 7-9 o'clock.
# * <tt>cost</tt>: Cost of the route for all other time.
#
def order_by_cost( routes, nap_list )
sorted_routes = routes.sort do | route_a, route_b |
case Time.now.hour
when 0..6
route_a[:cost_0_6].to_i <=> route_b[:cost_0_6].to_i
when 7..9
route_a[:cost_7_9].to_i <=> route_b[:cost_7_9].to_i
else
route_a[:cost].to_i <=> route_b[:cost].to_i
end
end

it will give priority to routes based on the time of the day when routing taking place.

So, three dynamic routes should contain values and  comparing the values, and prioritize after...

0 – 6 hr, 7-9 hr, and the reset of hr.

Guest
Guest


Back to top Go down

LCR Priority Routing Empty Re: LCR Priority Routing

Post by Guest Thu Mar 04, 2021 8:02 am

Hello,

So this LCR is defined using time of day?

We have a rate deck and I’d like to use the rate deck to determine the route for a particular call.

Would that be a professional service?

Guest
Guest


Back to top Go down

LCR Priority Routing Empty Re: LCR Priority Routing

Post by Guest Thu Mar 04, 2021 8:02 am

Hi,

LCR is giving priority to the routes based on the cost associated with the routes, at a certain time of the day, when using the routes.

After, the system will know which route to use first when seeing priority.

For routing script development, normally, it is a professional service.

Perhaps, if you could provide more details of the requirement, and we can see the scope, and whether we have some sample scripts, and you could modify and adjust at your side.

Guest
Guest


Back to top Go down

LCR Priority Routing Empty Re: LCR Priority Routing

Post by Guest Thu Mar 04, 2021 8:12 am

Hello,

So basically the requirement is this.

I have a CSV deck rate for each Carrier(NAPS). So based on the cost of the called number, I want the system to refer to the deck rate and determine the route.

Based on my understanding of your implementation, the cost is associated based on what?

Guest
Guest


Back to top Go down

LCR Priority Routing Empty Re: LCR Priority Routing

Post by Guest Thu Mar 04, 2021 8:13 am

Hi,

From that sample script, the cost is based on the time of the day as seen in the script.

With your requirement, professional service would be required, for routing script development and we can help to work on this development with you. Would you be considering this?

Guest
Guest


Back to top Go down

LCR Priority Routing Empty Re: LCR Priority Routing

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum