[OpenSIPS-Users] Using Load balance get_dialog_info("callee", "$var(x)", "caller", "$fu")

Ross Beer beer.ross at googlemail.com
Wed Sep 1 00:41:05 CEST 2010


Hi,

When using load balance & $dlg_val(caller) = $fu; the load balance
only selects the first gateway.

I try to check for an existing dialogue and if one exists route to the
server address stored as a dlg_val which works fine, but calling
load_balance after setting the new dialogue values only selects the
first gateway.

Load balancing does work if load_balance is called before the
get_dialog_info()  check, however I don't wish to load balance if a
dialogue exists.

Is this a bug? What is the best way of achieving load balancing &
keeping devices talking to the same server if a dialogue exists?

Thanks,

Ross



More information about the Users mailing list