Hello ,
You can run a query to mysql like below to choose random lcr_id and then input it to load_gws
query : select lcr_id from lcr_table order by rand() limit 1
Thanking You, Sunil More Ph : 9503338275
On Thu, Sep 7, 2017 at 9:41 AM, Logeshwaran G logeshwarangs@gmail.com wrote:
Input Please
Thanks & Kind Regards, *Logeshwaran G*
*"Be Hunger, Stay Foolish"*
On Wed, Sep 6, 2017 at 4:07 PM, Logeshwaran G logeshwarangs@gmail.com wrote:
Hi,
I am handling Two Different Account holders and Two Different Gateways with the different lcr_ids:
id :1 lcr_id:1 gw_name:car1 ip_addr : 1.2.3.4
id :2 lcr_id:2 gw_name:car2 ip_addr : 1.2.5.3
In kamailio config file I am using load_gws(1), Here Comes my doubt, I need to Pass the lcr_id value inside the load_gws(lcr_id) Dynamically, Is it Possible , Please Guide me.
Thanks & Kind Regards, *Logeshwaran G*
*"Be Hunger, Stay Foolish"*
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users