[SR-Users] load balancing redirect

Benjamin Lawetz benjaminlawetz at gmail.com
Fri Apr 16 17:43:42 CEST 2010


Thanks for your help guys.. starting to get a clearer picture

On Fri, Apr 16, 2010 at 5:20 AM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> - ds_select_domain() updates the domain part of R-URI, therefore the address
> selected from dispatcher table is visible in forwarded message
> - ds_select_dst() udpates the destination URI, which is an attribute inside
> Kamailio which specifies the outbound proxy address (i.e., where to send the
> sip request). The sip message itself won't contain that address.

So if we go with an example
with the dispatcher list set to
sip:10.10.10.1:5060
sip:10.10.10.2:5060

If I receive a destination of jane at 10.10.10.3:5060
And I call dst_select_domain()
it will rewrite it as jane at 10.10.10.1:5060
If I call dst_select_dst()
it will send jane at 10.10.10.3:5060  to the IP 10.10.10.1

Is this correct?

Thanks,
-- 
Benjamin




More information about the sr-users mailing list