Re: [SR-Users] Detecting calls with missing ACK (Lazy SIP scanners)

2016-04-11 Thread Daniel-Constantin Mierla
On 10/04/16 21:57, Marrold wrote: > I've been doing some experimentation with t_any_timeout() > and t_branch_timeout(), and I've observed they return true if either > the initial invite receives no response, or if the 200 OK is not > acknowledged by the UAC. > > Is there any way of differentiatin

Re: [SR-Users] Detecting calls with missing ACK (Lazy SIP scanners)

2016-04-11 Thread Daniel-Constantin Mierla
Hello On 06/04/16 01:57, Marrold wrote: > Hi Charles, > > I can confirm that t_any_timeout(), and t_branch_timeout() return true > when these un-ACKd transactions occur. by un-ACKed, do you mean they didn't receive any response or they didn't receive the ACK following a response to an INVITE? Ch

Re: [SR-Users] 4.4 crash at start

2016-04-11 Thread Daniel-Constantin Mierla
On 07/04/16 02:08, Anthony Messina wrote: > On Wednesday, April 06, 2016 09:22:21 PM Juha Heinanen wrote: >> Daniel-Constantin Mierla writes: >>> Thanks! Can you try with the patch >>> 1545b8de396e8e5d0ef24c9102beff18b3cf36e5? >> I tried and there was no crash. >> >>> Also, check that all listen

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-11 Thread Olle E. Johansson
> On 11 Apr 2016, at 12:35, Grant Bagdasarian wrote: > > Hi Daniel, > > I used the regexp sub, and it works! > > If anyone is interested, here is the code: > >$var(p_asserted_identity) = > $(hdr(P-Asserted-Identity)[*]); >

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-11 Thread Grant Bagdasarian
Hi Daniel, I used the regexp sub, and it works! If anyone is interested, here is the code: $var(p_asserted_identity) = $(hdr(P-Asserted-Identity)[*]); xlog("L_INFO", "P-Asserted-Identity: $var(p_asser

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-11 Thread Daniel-Constantin Mierla
Hello, there is a transformation for regexp substitutions, see the transformations cookbook on kamailio.org/wiki. Also, if you just want everything after 'tel:', then you can use string transformations like substring or select. Cheers, Daniel On 11/04/16 11:13, Grant Bagdasarian wrote: > > Hi D

Re: [SR-Users] Help with Kamailio java module

2016-04-11 Thread Daniel-Constantin Mierla
I am not using the app_java module, so not familiar with how was built. log_stderr is a variable inside kamailio. Can you share the java code you try to run? Cheers, Daniel On 11/04/16 10:53, Bonjour Madame wrote: > > Thanks for responding. I followed the steps in the readme documents > and was

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-11 Thread Grant Bagdasarian
Hi Daniel, Yes, you are absolutely right! Thank you for pointing that out! Is it possible to use regex inside the cfg script and use groups to extract the value? Quick regex example (needs tweaking): tel:(\+\d{1,20}) and then use a pseudo-variable to get the first group? https://regex101.com/r

Re: [SR-Users] Help with Kamailio java module

2016-04-11 Thread Bonjour Madame
Thanks for responding. I followed the steps in the readme documents and was able to compile my application. However, when I try to run it, I get the error unsatisfiedlinkerror undefined symbol: log_stderr. I don't know what is the reason and how I can solve it. On Apr 11, 2016 1:05 AM, "Daniel-Con

[SR-Users] Next Kamailio IRC Devel Meeting, Apr 20, 2016

2016-04-11 Thread Daniel-Constantin Mierla
Hello, I am proposing a new IRC meeting to discuss the current major issues and the plans for next Kamailio release, on Wednesday, April 20, 2016, with alternative for next day, April 21. If many developers are not available, we can postpone it to another date in the near future (make proposals if

Re: [SR-Users] Error in USERLOCDB

2016-04-11 Thread Daniel-Constantin Mierla
On 08/04/16 08:43, Alberto Sagredo wrote: > Thanks Daniel > > That was exactly my issue. Solved! Welcome, good it was sorted out quickly! Daniel > > 2016-04-08 8:27 GMT+02:00 Daniel-Constantin Mierla >: > > Hello, > > it seems you created the location table a w

Re: [SR-Users] Extracting P-Asserted-Identity value

2016-04-11 Thread Daniel-Constantin Mierla
Hello, this should work unless there are parameters with the same name in userpart, or uri part or header body part. Perhaps the safest mode is to apply first the tobody transformation to extract the part you want then apply the params transformation. Cheers, Daniel On 08/04/16 17:41, Grant Bag

Re: [SR-Users] Help with Kamailio java module

2016-04-11 Thread Daniel-Constantin Mierla
Hello, I see the module has some txt docs in the folder: https://github.com/kamailio/kamailio/tree/master/modules/app_java Is it what you have tried? Cheers, Daniel On 09/04/16 08:10, Bonjour Madame wrote: > > Hi! > > > > I am a newbie and I need help understanding how to use the java module