[OpenSIPS-Users] Dispatcher algorithm question

Olle E. Johansson oej at edvina.net
Mon Feb 29 19:12:11 CET 2016


> On 29 Feb 2016, at 18:58, Gunjan Korlekar <gunjan at switch.co> wrote:
> 
> Hello,
> 
> I have a dispatcher table with about 10 destinations and was using the round-robin algorithm to route to destinations since we wanted to have an even spread of traffic across the destinations. However I recently observed that with the round-robin, re-INVITEs with the same call id get routed to different destinations which we thought the dispatcher would handle. So we figured that if we want to circumvent this problem we need to use the hash over call-id algorithm. 
> 
> Does the 'hash over call-id' give a fair way of distributing the calls over different destinations in the dispatcher like the round robin so that the traffic is spread evenly over the destinations?
> Is there a way we can combine the two algorithms for one set of destinations? 

Re-invites are in-dialog and should not be handled with dispatcher normally. Dispatcher is used to dialog-forming requests only. I would like to suggest you review your script.

/O

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2374 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20160229/0daffd0b/attachment.bin>


More information about the Users mailing list