[SR-Users] Dispatcher on 5.2

Igor Olhovskiy igorolhovskiy at gmail.com
Fri Nov 23 18:04:30 CET 2018


Hi!

Yes, on 5.2.0~rc1+0~20181121003826 works as expected.

Thanks!

Regards, Igor
On Nov 19, 2018, 4:59 PM +0200, Daniel-Constantin Mierla <miconda at gmail.com>, wrote:
> Hello,
> can you try with latest branch 5.2? Recently it was a fix related to finding next destination.
> Cheers,
> Daniel
> On 19.11.18 15:29, Igor Olhovskiy wrote:
> > Hi!
> >
> > Am I missing something or it’s a bug?
> >
> > Idea is following. I’m using dispatcher to load-balance calls. Using same weight destinations, order like in a file.
> >
> > So, dispatcher.list looks like
> > 1 sip:172.28.11.6:5060
> > 1 sip:172.28.11.4:5060
> >
> > I’m using round-robin algo with
> >
> > ds_select_dst(«1», «4»)
> >
> > But when it selects 172.28.11.4 and it for a reason not working, it will never come back to 172.28.11.6.
> >
> > Log:
> > … Relaying packet du: sip:172.28.11.4:5060
> > … BYE/INVITE timeout with no reply
> > … 49(59) WARNING: dispatcher [dispatch.c:2314]: ds_update_dst(): no xavp uri field in next destination record ((nil))
> >
> > modparam("dispatcher", "list_file", "/tmp/kamailio/dispatcher.list")
> > modparam("dispatcher", "flags", 2)
> > modparam("dispatcher", "force_dst", 1)
> > modparam("dispatcher", "ds_hash_size", 9)
> >
> > Kamailio: version: kamailio 5.2.0-pre0
> >
> > Regards, Igor
> >
> > _______________________________________________
> > Kamailio (SER) - Users Mailing List
> > sr-users at lists.kamailio.org
> > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> --
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda
> Kamailio World Conference -- www.kamailioworld.com
> Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181123/97509b94/attachment.html>


More information about the sr-users mailing list