Daniel Tryba writes:
Our solution was to switch to the mysql driver in kamailio and use the galera loadbalancer (http://galeracluster.com/documentation-webpages/glb.html) to implement loadbalancing/failover to our mariadb galera master/master cluster.
Thanks for the tip,
-- Juha