[SR-Users] load balancing redirect
kaiser
kaiser at gentrice.net
Sat Apr 17 17:22:04 CEST 2010
it's ok.
This is just an issue we found, you can do it anytime you are available.
kaiser
在 2010/4/16 上午5:44 時, Iñaki Baz Castillo 寫到:
> 2010/4/15 Benjamin Lawetz <benjaminlawetz at gmail.com>:
>> Hi,
>>
>> I'm trying to setup Kamailio to act as a load-balancer in front of
>> asterisk servers.
>>
>> I want it to do the following:
>> - The UA sends an invite to Kamailio
>> - Kamailio sends a 30x redirect to the UA (dispatcher)
>> - The UA sends it's invite to the asterisk server
>
>
> I strongly suggest not to do that. Instead:
>
> - The UA sends an invite to Kamailio
> - Kamailio uses LCR module to randomly select asterik-1 or asterisk-2.
> - Kamailio sends the request to the selected asterisk.
> - If there is a failure (to inspect in failure_route) Kamailio uses
> next_ge() (LCR module) and routes the INVITE to the other asterisk.
>
> This will work really better.
>
> --
> Iñaki Baz Castillo
> <ibc at aliax.net>
>
> _______________________________________________
> 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
More information about the sr-users
mailing list