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

2010-08-31 Thread Ross Beer
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 se

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

2010-09-01 Thread Bogdan-Andrei Iancu
Hi Ross, as a hint (as the docs state) - to use dlg_vals, you MUST have a dialog created for the current call, otherwise the dlg_val assigment will fail. So, if you put set the dlg vals before LB, if you do not explicitly create the dialog, the set will fail.The LB function internally crea