Hi Volkan,
A possible solution is to have the FS responsible for one (or more) specific 
domain(s) into a dedicated dispatcher set.

e.g.:
Dispatcher set 1 (generic):
- FS1
- FS2

Dispatcher set 2 (for domain1, domain2, etc):
- FS1

Dispatcher set 3 (for domain5, domain6, etc):
- FS2

Then inside your .cfg, you use the right dispatcher set number in the “set” 
variable when using ds_select_dst(), depending on the domain.
e.g. when serving domain5 you use ds_select_dst(“2”, …).

I hope this helps.
Giacomo

From: sr-users-boun...@lists.sip-router.org 
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Volkan Oransoy
Sent: 04 May 2014 10:09
To: Kamailio (SER) - Users Mailing List
Subject: [SR-Users] Dispatcher question

Hi all,

I have a multidomain setup that I share load, among two freeswtich servers with 
a kamailio loadbalancer using dispatcher.

For specific applications like queues, I need to match a sip domain with a 
freeswitch server. A domain should match same freeswitch server on every 
request.

Which algorithm should I use with ds_selecy_dst, or what is the most 
appropriate way to do this?

Thanks.

/Volkan
Truphone Limited, registered in England and Wales (registered company number: 
04187081). Registered office: CityPoint, One Ropemaker Street, London EC2Y 9SS. 
VAT No. GB 851 5278 19

This e-mail, and any attachment(s), may contain information which is 
confidential and/or privileged, and is intended for the addressee only. If you 
are not the intended recipient, you may not use, disclose, copy or distribute 
this information in any manner whatsoever. If you have received this e-mail in 
error, please contact the sender immediately and delete it.
_______________________________________________
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