Re: [SR-Users] Query in LCR

2017-09-06 Thread Sunil More
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 wrote: > Input

Re: [SR-Users] Query in LCR

2017-09-06 Thread Logeshwaran G
Input Please Thanks & Kind Regards, *Logeshwaran G* *"Be Hunger, Stay Foolish"* On Wed, Sep 6, 2017 at 4:07 PM, Logeshwaran G wrote: > Hi, > > I am handling Two Different Account holders and Two Different Gateways > with the different lcr_ids: > > id :1 > lcr_id:1 >

Re: [SR-Users] Doubt in Lcr_table

2017-09-06 Thread Logeshwaran G
Got it.. Thank You Thanks & Kind Regards, *Logeshwaran G* *"Be Hunger, Stay Foolish"* On Thu, Sep 7, 2017 at 12:02 AM, Juha Heinanen wrote: > Logeshwaran G writes: > > > May I know the Difference between the "prefix" column in Lcr_gw table and > > lcr_rule table. > > From

[SR-Users] How can client get registered users list from Kamailio server or server may broadcast this actively?

2017-09-06 Thread Jack Wang
Hey guys, As indicated by the title, is there any module providing the related function? My server version is 4.2. Thanks. :) ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org

[SR-Users] Doubt in Lcr_table

2017-09-06 Thread Juha Heinanen
Logeshwaran G writes: > May I know the Difference between the "prefix" column in Lcr_gw table and > lcr_rule table. From README: Name of the column holding prefix of Request-URI user part and prefix of gateway. I'll add names of tables to the above. -- Juha

[SR-Users] Help to understand kamailio error msgs

2017-09-06 Thread José Seabra
Hello there, I'm facing some error msg on my kamailio server in production that i would like to understand what they means in order to avoid them. The msg are: - *ERROR: tm [t_reply.c:1270]: t_should_relay_response(): ERROR: t_should_relay_response: status rewrite by UAS: stored: 408,

Re: [SR-Users] crash after using async_route()

2017-09-06 Thread Daniel-Constantin Mierla
OK, I will wait a bit and then backport. Thanks for testing and assisting with troubleshooting. Daniel On 06.09.17 14:29, Vitaliy Aleksandrov wrote: > Thanks for the quick fix. > > Installed the latest 5.0 branch with the mentioned patch and had no > crashes so far. > Will do an additional

Re: [SR-Users] crash after using async_route()

2017-09-06 Thread Vitaliy Aleksandrov
Thanks for the quick fix. Installed the latest 5.0 branch with the mentioned patch and had no crashes so far. Will do an additional testing and inform if find any issues. On Wed, Sep 6, 2017 at 12:25 PM, Daniel-Constantin Mierla wrote: > I think I caught the issue and fixed

Re: [SR-Users] Loading keys with key_type="1" from database for htable - Module params help needed

2017-09-06 Thread George Diamantopoulos
Hello Daniel! Yes, it seems to be working with single value column. I'll create a view in the database if I need all values available for each key. Thanks! BR, George On 30 August 2017 at 22:04, Daniel-Constantin Mierla wrote: > Hello, > > can you try with a single value

[SR-Users] Query in LCR

2017-09-06 Thread Logeshwaran G
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

Re: [SR-Users] crash after using async_route()

2017-09-06 Thread Daniel-Constantin Mierla
I think I caught the issue and fixed with commit b672d8ef63715cf816390a05ce7a441377c3e468 in master branch. It was caused by not resetting the T_ASYNC_CONTINUE flag after t_continue(), which caused other parts of code to not reset the reply field of any branch. The reply field could have been set

[SR-Users] Call pickup with feature code

2017-09-06 Thread Cyrille Demaret
Hi, I'm trying to implement call pickup with a feature code for phones that doesn't support "Replaces" header. User has to dial for example *8 to pickup a call who is in the same group pickup. My idea is to loop for each members of the group (coming from a SQL table using sqlops) and check

[SR-Users] SQL for ordered LCR rules

2017-09-06 Thread Juha Heinanen
Patrick Wakano writes: > I am trying to ease the management of LCR routing rules, since once we > begin to have multiple prefixes, multiple GWs and so on, the visualization > and management of the rules priorities becomes exponentially hard to > do. I have written a simple web based interface