[SR-Users] LCR Routing - Cost based routing

Alexandru Covalschi 568691 at gmail.com
Sun Aug 9 22:38:05 CEST 2015


you already have cost, just write a script to transform it into weight, I
don't see a hard task here. It can be easily automated

2015-08-09 21:15 GMT+03:00 Arun Kumar <mi2arun at gmail.com>:

> hi Alexandru
>
>            so we have manually  set prefix , weight and priority
> depanding upon rates  ?  is there any avaliable way to automate or we have
> to rewrite/modify  the lcr/drouting module for rate selection  ,
>
>
>
> On Sun, Aug 9, 2015 at 9:22 PM, Alexandru Covalschi <568691 at gmail.com>
> wrote:
>
>> however you can try building LCR based on prefix and weight, why not?
>>
>> 2015-08-09 18:52 GMT+03:00 Alexandru Covalschi <568691 at gmail.com>:
>>
>>> I know CGRateS allow cost-based LCR for Kamailio. Maybe there are some
>>> internal Kamailio modules, but I don't know about them
>>>
>>> 2015-08-09 17:10 GMT+03:00 Arun Kumar <mi2arun at gmail.com>:
>>>
>>>> but above guide is only prefix priority and weight based   , but we
>>>> should involve rate as well.
>>>>  ,
>>>>
>>>> On Sun, Aug 9, 2015 at 3:09 PM, Alexandru Covalschi <568691 at gmail.com>
>>>> wrote:
>>>>
>>>>> Or, well, see that guide
>>>>> http://dopensource.com/least-cost-routing-with-kamailio-v4-1/ - we
>>>>> have priority and weight on LCR module
>>>>>
>>>>> 2015-08-09 12:37 GMT+03:00 Alexandru Covalschi <568691 at gmail.com>:
>>>>>
>>>>>> try using CGRateS
>>>>>>
>>>>>> 2015-08-09 12:06 GMT+03:00 Arun Kumar <mi2arun at gmail.com>:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>>      is there any way to achive following usecase using carrier
>>>>>>> route / LCR / droude module
>>>>>>>
>>>>>>> i have 10 different termination gateways, each gateways will have
>>>>>>> more than 10000 destinations and each gateways will have different rate,
>>>>>>> for example
>>>>>>>
>>>>>>> 91 Destination ( there will be 10000 entries like 91 )
>>>>>>> gw1            gw2   gw3           gw4    gw5
>>>>>>> 0.001 0.007 0.003 0.002 0.003
>>>>>>>
>>>>>>> now need to logic to load the these destination with cost and sort
>>>>>>> gateways in order of longest match of dialled number,cost, priority for the
>>>>>>> dialled destination, which will not use too much CPU and memory
>>>>>>>
>>>>>>> Regards
>>>>>>> Arun
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>>>>>>> list
>>>>>>> sr-users at lists.sip-router.org
>>>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alexandru Covalschi
>>>>>> ABRISS-Solutions
>>>>>> VoIP engineer and system administrator
>>>>>> phone: +37367398493
>>>>>> web: http://abs-telecom.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Alexandru Covalschi
>>>>> ABRISS-Solutions
>>>>> VoIP engineer and system administrator
>>>>> phone: +37367398493
>>>>> web: http://abs-telecom.com/
>>>>>
>>>>> _______________________________________________
>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>>> sr-users at lists.sip-router.org
>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users at lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Alexandru Covalschi
>>> ABRISS-Solutions
>>> VoIP engineer and system administrator
>>> phone: +37367398493
>>> web: http://abs-telecom.com/
>>>
>>
>>
>>
>> --
>> Alexandru Covalschi
>> ABRISS-Solutions
>> VoIP engineer and system administrator
>> phone: +37367398493
>> web: http://abs-telecom.com/
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Alexandru Covalschi
ABRISS-Solutions
VoIP engineer and system administrator
phone: +37367398493
web: http://abs-telecom.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150809/5a42ff05/attachment.html>


More information about the sr-users mailing list