Hi,
I had configured load balancer for outdialing. load_balancer table information mentioned below. +----+----------+------------------+-----------+---------------+ | id | group_id | dst_uri | resources | description | +----+----------+------------------+-----------+---------------+ | 1 | 1 | sip:10.128.22.38 | pstn=2 | standby gw | | 2 | 1 | sip:10.128.22.45 | pstn=3 | production gw | +----+----------+------------------+-----------+---------------+ The load balancer is working correctly for the first cycle, I try to make five calls and it makes two calls to .38 gateway and then three calls to .45 gateway. After completing one cycle the $du value is setting as null if I try to make subsequent calls and the calls were failing. If I issue lb_reload using MI from command line ( opensipsctl fifo lb_reload ) it starts again. I want this to run continuously without issuing any MI commands. >From the logs I can see that $du is set to null. I am not sure whether I am making any mistake. I think something is wrong in setting the profile and fetching data for the profile using get_profile_size in do_load_balancer function in lb_data.c. The profile is getting set as lbXpstn, but when I tried to print the value res[k]->profile it always displays a junk value. Thanks, Leo Thomas Selvaraj T: +1 609-987-0044 x 139 | F: +1 609-987-9787 _____ cid:[email protected] The information contained in this e-mail message or messages (which includes any attachments) is confidential and may be legally privileged. It is intended only for the use of the person or entity to which it is addressed.
<<image001.gif>>
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
