[SR-Users] Kamailio 4.4 with 2 Asterisk 13

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 20 14:29:34 CET 2017


Hello,

can you share the relevant parts of your configuration file related to
use of dispatcher module? Can you check again if the proper load
balancing algorithm is used?

Cheers,
Daniel


On 19/02/2017 09:56, Graham Brown wrote:
> I'm trying to load balance 2 Asterisk servers with Kamailio offloading
> the registration to Kamailio using the Asterisk real-time database
> tables. 
> I have a problem with the dispatcher module, if there is a
> t_on_failure route it always goes into that, if I remove that then I
> would expect every call to round robin but I'm only ever hitting the
> same server from the same extension (seems like sticky session based
> on source ip).
>
> 1. how do I fix my failure route so I can reboot server 1 and server 2
> will be used
> 2. how to I change the sticky session behaviour.
>
> Another issue I am facing with extensions registering to Asterisk are
> only avaliable on the server they routed to My assumption was if using
> the Asterisk real-time database I would get the contact on both
> servers.  Maybe my architecture is incorrect, I'm open to suggestions.
> Currently Kamailio is not storing locations (assuming that is the
> extension contact) maybe that is a better solution, but I dont know
> how to configure Asterisk to forward everything to Kamailio then or
> integrate via the database or something.
>
> Thanks in advance for any help
>
> Regards
> Graham
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20170220/8c48025f/attachment.html>


More information about the sr-users mailing list