Re: [SR-Users] LCR Module Question

2016-05-09 Thread Alberto Sagredo
Thanks Both Fred/Juha

System is in production when i have a "free slot" i will check repeating
each rule with lower priority. I think that would work as i expect

Thanks for your tips guys!

Have a nice week

Alberto

2016-05-06 13:44 GMT+02:00 Juha Heinanen :

> Alberto Sagredo writes:
> >
> > I do not know if its enough to add under same lcr_id or its better to add
> > with different one and add several lcr_rule and lcr_rule_target
> >
> > Acordding to next_gw() function, what is better to be used? In my case. a
> > primary providers is used and only a backup one for the momment.
>
> If your rules would be the same for both, then you can add a backup gw
> to each rule with lower priority.  You can also use defunct_gw()
> function to make failing gws inactive for a period.
>
> If the rules are not the same, then in failure route you would need to
> call load_gws() with another lcr id.
>
> -- Juha
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] LCR Module Question

2016-05-06 Thread Juha Heinanen
Alberto Sagredo writes:
> 
> I do not know if its enough to add under same lcr_id or its better to add
> with different one and add several lcr_rule and lcr_rule_target
> 
> Acordding to next_gw() function, what is better to be used? In my case. a
> primary providers is used and only a backup one for the momment.

If your rules would be the same for both, then you can add a backup gw
to each rule with lower priority.  You can also use defunct_gw()
function to make failing gws inactive for a period.

If the rules are not the same, then in failure route you would need to
call load_gws() with another lcr id.

-- Juha

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] LCR Module Question

2016-05-06 Thread Fred Posner
Have you considered either dispatcher or just using a failure route?

-- Fred

> On May 6, 2016, at 7:15 AM, Alberto Sagredo  
> wrote:
> 
> Hi
> 
> I have it working but i have re-read documentation and do not see how to do 
> what i need. 
> 
> I explain it :)
> 
> Now i have only one LCR provider and i need to add a backup one.
> 
> I do not know if its enough to add under same lcr_id or its better to add 
> with different one and add several lcr_rule and lcr_rule_target 
> 
> Acordding to next_gw() function, what is better to be used? In my case. a 
> primary providers is used and only a backup one for the momment.
> 
> Thanks for your help
> 
> Alberto
> 
> 
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@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@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] LCR Module Question

2016-05-06 Thread Alberto Sagredo
Hi

I have it working but i have re-read documentation and do not see how to do
what i need.

I explain it :)

Now i have only one LCR provider and i need to add a backup one.

I do not know if its enough to add under same lcr_id or its better to add
with different one and add several lcr_rule and lcr_rule_target

Acordding to next_gw() function, what is better to be used? In my case. a
primary providers is used and only a backup one for the momment.

Thanks for your help

Alberto
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users