[SR-Users] LCR Commands Kamctl

2016-03-01 Thread Juha Heinanen
Alberto Sagredo writes: > I have just edited kamctl in order to make lcr commands work. Hope that > helps someone. > > Using Kamailio 4.3.0 > > Please find kamctl attached also Alberto, Thanks for your kamctl contribution. If you like it to be committed to next release, please provide a new

Re: [SR-Users] kamailio 4.3.4 crash

2016-03-01 Thread Daniel-Constantin Mierla
Hello, using packages/tarball of 4.3.4 or the branch 4.3? The were some fixes in the branch to be part of 4.3.5 out tomorrow. Cheers, Daniel On 02/03/16 03:25, Rene Montilva wrote: > Hi list > > i've updated to kamailio 4.3.4 , i work with push wake up config, but > kamailio now crash and

Re: [SR-Users] Fwd: [kamailio]: Querie on ratelimit module

2016-03-01 Thread Prashant Desai
Thanks Sammy, You have correctly understood the requirement. Initially we also thought to use the approach which you have mentioned. But, Since we came across ratelimit module which all ready has inbuilt CPU Monitoring and other techniques so we started using it. If we can we get some help on

[SR-Users] kamailio 4.3.4 crash

2016-03-01 Thread Rene Montilva
Hi list i've updated to kamailio 4.3.4 , i work with push wake up config, but kamailio now crash and display this messages ar 1 19:38:43 proxy6-2 /usr/sbin/kamailio[21630]: WARNING: tm [t_lookup.c:1476]: t_unref(): WARNING: script writer didn't release transaction Mar 1 19:38:43 proxy6-2

[SR-Users] Kamailio as a front-end proxy

2016-03-01 Thread Richard Brady
You have several options: 1. If your SIP server supports an "outbound proxy" configuration, set that parameter to the IP:port of Kamailio, then it will send all INVITEs to Kamailio. You will need to configure RR and you might still need some mangling in Kamailio to work around NAT, depending on

Re: [SR-Users] Kamailio as a front-end proxy

2016-03-01 Thread Anton Tonev
Thank you, for all your replies. I tried to use the add_path() as it is described in the Spanish tutorial however I am still unable to make my sip server pass through the proxy for the second call leg (the one to the destination). However I have one question. In the tutorial it is said that

Re: [SR-Users] change the to_tag on send_reply() or sl_send_reply()

2016-03-01 Thread Uri Shacked
>* On 01 Mar 2016, at 16:29, Uri Shacked > wrote: *> >* Hi, *> >* Is i possible to control the to_tag when i send my own stateless reply from kamailio. * Why would you want to do that? Curious. I did however lack the capability of

Re: [SR-Users] change the to_tag on send_reply() or sl_send_reply()

2016-03-01 Thread Olle E. Johansson
> On 01 Mar 2016, at 16:29, Uri Shacked wrote: > > Hi, > > Is i possible to control the to_tag when i send my own stateless reply from > kamailio. Why would you want to do that? Curious. I did however lack the capability of accessing the Kamailioi defined to-tag in the

[SR-Users] change the to_tag on send_reply() or sl_send_reply()

2016-03-01 Thread Uri Shacked
Hi, Is i possible to control the to_tag when i send my own stateless reply from kamailio. Thanks, Uri ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

[SR-Users] mariadb and sql_query_async: the db driver module doesn't support async query

2016-03-01 Thread Daniel Tryba
So trying to push some inserts/updates to the background I added: async_workers=1 and replaced sql_xquery("ca", "$var(query)", "ra"); sql_result_free("ra"); with sql_query_async("ca", "$var(query)"); where: $var(query)="insert into CDR.callogs (accountcode,number) values

Re: [SR-Users] Fwd: [kamailio]: Querie on ratelimit module

2016-03-01 Thread SamyGo
Hi Prashant, If I were to do it the lazy way and if I have understood your requirement completely. I might've ended up using snmp monitoring of the CPU and set a memcache/redis variable to be 0 or 1 in case CPU goes above or below 70. In my kamailio.cfg I would just check that redis variable and

[SR-Users] Fwd: [kamailio]: Querie on ratelimit module

2016-03-01 Thread Prashant Desai
Hi Kamailio, We are using Kamailio V4.2.3 for our project and we are trying to address the performance requirement. We have following queries and need some inputs from Kamailio. *Requirement :* CPU Utilization Limit to 70%, If the limit is crossed Kamailio has to reject the

Re: [SR-Users] Facing issue in Registration of SIP Client

2016-03-01 Thread sainath.ellendula
Hi Franz, Thanks for your response. Now, SIP Client is Registered with Xlite softphone and call has been established between SIP Client(X-lite) and IMS Client(Boghe). Now I was trying to configure Hard phone same as SIP Client configurations to make a call between soft phone and hard phone.

Re: [SR-Users] Kamailio as a front-end proxy

2016-03-01 Thread Alberto Sagredo
You could find something related also on this link Its in spanish https://blog.irontec.com/integracion-kamailio-y-asterisk-con-path/ 2016-03-01 11:25 GMT+01:00 Jurijs Ivolga : > Hi, > > I would recommend you to take a look on path module: > >

Re: [SR-Users] Kamailio as a front-end proxy

2016-03-01 Thread Jurijs Ivolga
Hi, I would recommend you to take a look on path module: http://kamailio.org/docs/modules/1.4.x/path.html I think this is what you need. With kind regards, Jurijs 2016-03-01 12:02 GMT+02:00 Anton Tonev : > Hello everybody, > > I am a new user of Kamailio (4.3.1), I am

Re: [SR-Users] Kamailio as a front-end proxy

2016-03-01 Thread Marrold
In the case of Asterisk you can set outboundproxy= On 1 Mar 2016 10:03, "Anton Tonev" wrote: > Hello everybody, > > I am a new user of Kamailio (4.3.1), I am working with it since 1-2 > months. The thing that I'm trying to do is to build the following system: > > same LAN

[SR-Users] Kamailio as a front-end proxy

2016-03-01 Thread Anton Tonev
Hello everybody, I am a new user of Kamailio (4.3.1), I am working with it since 1-2 months. The thing that I'm trying to do is to build the following system: same LAN 192.168.0.1 Alice proprietary SIP Server [Public_IP_X] [Public_IP_Y] Kamailio

[SR-Users] RFC: Kamailio 5.0

2016-03-01 Thread Daniel-Constantin Mierla
Hello, at Fosdem and other events this year, while meeting many of Kamailio devs, the topic of what's next for Kamailio came into discussions, with suggestions that after 4.4 it may be time for some major leap to 5.0. I created a page where I collected the main ideas put on table so far - rather

[SR-Users] Branching v4.4

2016-03-01 Thread Daniel-Constantin Mierla
Hello, I am considering to branch v4.4 latest on March 10, after that the master branch can be used again for adding new features and fixes will be backported to branch 4.4. If it proves to worth branching earlier, it can be done. As an estimate date for the release of v4.4.0, a good candidate

Re: [SR-Users] catching lost websocket ua

2016-03-01 Thread Daniel-Constantin Mierla
On 01/03/16 08:59, Juha Heinanen wrote: > Juha Heinanen writes: > >> So the index would be: >> >> CONSTRAINT connection_idx UNIQUE (`server_id`, `connection_id`) > I added the index. Should also version number be updated in case some > people do db upgrades automatically when version changes? >

[SR-Users] catching lost websocket ua

2016-03-01 Thread Juha Heinanen
Juha Heinanen writes: > The function that is run at the close has ws_connection_t argument: > > static void wsconn_run_route(ws_connection_t *wsc) > > ws_connection_t record has these two fields: > > int id; /* id and id_hash are identical to the values */ >

Re: [SR-Users] catching lost websocket ua

2016-03-01 Thread Juha Heinanen
Juha Heinanen writes: > So the index would be: > > CONSTRAINT connection_idx UNIQUE (`server_id`, `connection_id`) I added the index. Should also version number be updated in case some people do db upgrades automatically when version changes? -- Juha