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

On Fri, Apr 16, 2010 at 5:20 AM, Daniel-Constantin Mierla
<mico...@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 j...@10.10.10.3:5060
And I call dst_select_domain()
it will rewrite it as j...@10.10.10.1:5060
If I call dst_select_dst()
it will send j...@10.10.10.3:5060  to the IP 10.10.10.1

Is this correct?

Thanks,
-- 
Benjamin

_______________________________________________
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

Reply via email to