[OpenSIPS-Users] Load balance problem

Miha miha at softnet.si
Wed Jun 19 08:29:20 CEST 2013


Is logs I am getting this:

ERROR:load_balancer:do_load_balance: failed to remove from profile

br,
miha

Dne 6/18/2013 3:59 PM, piše Miha:
> Hi,
>
> I am having one problem regarding loadbalance. I am doing it in routes 
> for invites which works ok.
> Right now I am tying to implement call FWD after some period of time. 
> I am doing fail_route and chacking 408.
>
> my code:
>
> failure_route[CFW_NR]
> {
> if(t_check_status("408")){
> xlog(" CFW_NR $avp(cfw_nr_timeout): $avp(cfw_nr)");
> $rU=$avp(cfw_nr);
> route(number_translation_to_sbc);
> if (!load_balance("1","tran")) {
> xlog("gre v !load_balance");
> send_reply("503","Service Unavailable");
> exit;
> }
>
> #route(from_sbc_slo);
>
>
> }
> }
>
> In mysql table I have set ip and group I. I have same code for 
> load_balance in other routers and it works like it should but in this 
> case I am sending 503.
>
> Thanks
> Miha
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list