Re: [SR-Users] Kamailio P-CSCF error on INVITE

2016-09-19 Thread Owais
There was a sample configuration issue. Upgrading on git master solved it. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-P-CSCF-error-on-INVITE-tp151614p151951.html Sent from the Users mailing list archive at Nabble.com. _

Re: [SR-Users] event_route[uac:reply] question

2016-09-19 Thread Julia Boudniatsky
I found in the module uac documentation: "6.1. event_route[uac:reply] Event route executed for the* final* reply to the request set with uac_req_send(). Thanks, Julia On Mon, Sep 19, 2016 at 1:34 PM, Julia Boudniatsky wrote: > I send INVITE via uac_send_req() and receive "183" and "200"respon

Re: [SR-Users] OOM Errors

2016-09-19 Thread Phil Lavin
There’s a second identical leak in the presence module patch that I did. Sorry about that. I’ve fixed up that one and the purple leaks in a new Pull Request - https://github.com/kamailio/kamailio/pull/788 Cheers From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Phil

Re: [SR-Users] OOM Errors

2016-09-19 Thread Phil Lavin
Thanks, Daniel. That seems to be the logical explanation. I’ll apply the patch and see how it goes. Looking back, that code was based on a bit of code from modules/purple/mapping.c which also does not free the result, in a few places, in the case of 0 rows in the result. We don’t use “purple” b

[SR-Users] Presence: Empty reginfo NOTIFY bodies

2016-09-19 Thread Stefan Kohlhauser
Hey everyone! Problem: At startup the presence module for reginfos can get into a state where it is not adding bodies to reginfo NOTIFYs. Setup: We are using the pua_reginfo to let the Kamailio (4.2.6) PUBLISH the current registration state to itself. The body is correctly added to the present

Re: [SR-Users] how to access reply headers

2016-09-19 Thread Daniel Tryba
On Mon, Sep 19, 2016 at 11:29:47AM +, mjbemail2000-s...@yahoo.co.uk wrote: > How do I access the Contact header in the reply message? $T_rpl($ct) ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.o

Re: [SR-Users] OOM Errors

2016-09-19 Thread Daniel-Constantin Mierla
Hello, yes, the db related allocated chunks look to be quite high in number. That can be possible if there are db results with lots of records, but in this case there are more related to column structure than row structure. Tracing back in the history of commits, I noticed a place where db result

Re: [SR-Users] OOM Errors

2016-09-19 Thread Phil Lavin
Nevermind – I found this in the docs. kamcmd cfg.set_now_int core mem_dump_pkg 17645 kamcmd cfg.set_now_int core mem_dump_pkg 1 There were 27526 allocations. I have taken and parsed the output, summing the memory usage, grouping it by file/function. Parsed output is at https://gist.github.com/p

Re: [SR-Users] OOM Errors

2016-09-19 Thread Phil Lavin
4.3 From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: 19 September 2016 17:47 To: Phil Lavin ; Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] OOM Errors The rpc command is in 4.4, what version are you using? Cheers, Daniel On 19/09/16 18:11, Phil Lavin wrote: Havi

Re: [SR-Users] OOM Errors

2016-09-19 Thread Daniel-Constantin Mierla
The rpc command is in 4.4, what version are you using? Cheers, Daniel On 19/09/16 18:11, Phil Lavin wrote: > > Having adding some graphing, I see this memory issue on another > production Kamailio server. A few of the processes are using > significantly more pkg memory than others. What I assume

Re: [SR-Users] OOM Errors

2016-09-19 Thread Phil Lavin
Having adding some graphing, I see this memory issue on another production Kamailio server. A few of the processes are using significantly more pkg memory than others. What I assume is happening is that memory is leaking and will eventually start hitting OOM errors. See https://gist.github.com/

[SR-Users] yum install modules

2016-09-19 Thread mjbemail2000-seti
Hi, I've installed Kamailio on CentOS using yum but it's not installed the geoip2 module, amongst others. I'm I correct in saying that to install this module I'd need to install Kamailio from the source code? Regards, Mark.___ SIP Express Router (SER) a

[SR-Users] how to access reply headers

2016-09-19 Thread mjbemail2000-seti
Hi, I have a registered handset which replies to an INVITE message from Kamailio with a "302 Moved Temporarily" message. The reason for this is because the user has set their handset to forward the call to another telephone number.  In a wireshark trace I can see the forwarded telephone number in

[SR-Users] Debian 4.4.3 reproducable crashes in rtpengine.so

2016-09-19 Thread Daniel Tryba
With kamctl fifo nh_enable_rtpp udp:rptipaddr:7723 1 kamailio will begin to crash: Sep 19 16:00:08 sipcluster-backend2 kernel: [1658593.859081] kamailio[22992]: segfault at 4 ip 7f5a4d44e11f sp 7ffcac5293e0 error 4 in rtpengine.so[7f5a4d446000+41000] Sep 19 16:00:12 sipcluster-backend2 /

Re: [SR-Users] OOM Errors

2016-09-19 Thread Phil Lavin
Thanks, Daniel. Kamailio has been restarted now so there’s not much of any use in the pkg memory output. I’m going to add some monitoring/graphing on this and see if there’s an upward trend in usage. From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin

Re: [SR-Users] OOM Errors

2016-09-19 Thread Daniel-Constantin Mierla
Hello, it seems that the pkg is out of free space, not shm. You can check it with: kamcmd pkg.stats and look for the same pid that printed the log messages. To troubleshoot, it is good to print the pkg summary, see: - https://www.kamailio.org/docs/modules/stable/modules/corex.html#corex.rpc.

Re: [SR-Users] tls with ubuntu 16.04

2016-09-19 Thread Daniel-Constantin Mierla
Hello, the issue was reported by others to ubuntu and a fix should be pushed these days, as I got it by reading: - https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1594748 There you can find also details of getting packages with the fix from ppa or proposed repository. There is nothing k

Re: [SR-Users] Extract param from RPID header

2016-09-19 Thread Grant Bagdasarian
That worked! Thank you! Why do you need to apply the tobody.params first? From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Carsten Bock Sent: maandag 19 september 2016 14:25 To: Kamailio (SER) - Users Mailing List Subject: Re: [SR-Users] Extract param from RPID header

Re: [SR-Users] tls with ubuntu 16.04

2016-09-19 Thread Jayesh Nambiar
Hi Daniel, The latest stable release still shows up the TLS related problems. Is there a way to load tls modules such that these errors get corrected? - Jayesh On Mon, Aug 1, 2016 at 5:10 PM Daniel-Constantin Mierla wrote: > Hello, > > not yet ... I didn't get the chance before starting a rathe

Re: [SR-Users] Extract param from RPID header

2016-09-19 Thread Carsten Bock
Hi, you should try the following: $(hdr(Remote-Party-ID){tobody.params}{param.value,privacy}) Thanks, Carsten 2016-09-19 14:03 GMT+02:00 Grant Bagdasarian : > Hello, > > > > I’m trying to extract the privacy param from the RPID header, but without > success. > > Could someone point me in the

[SR-Users] Extract param from RPID header

2016-09-19 Thread Grant Bagdasarian
Hello, I'm trying to extract the privacy param from the RPID header, but without success. Could someone point me in the right direction? Remote-Party-ID: "Cullen Jennings" ;party=calling;privacy=off;screen=no. I've tried the following ways: 1) TEXTOPSX: $var(rpid_privacy_value) = @hf_val

[SR-Users] OOM Errors

2016-09-19 Thread Phil Lavin
Hi all, Kamailio stopped performing some functions earlier today, citing OOM errors. An excerpt from the log is below. SHM usage, at the time, looked fine. Also see below for that output. A restart of Kamailio resolved the issue. Is this SHM related or OS memory manager related? root@ua-proxy

[SR-Users] event_route[uac:reply] question

2016-09-19 Thread Julia Boudniatsky
I send INVITE via uac_send_req() and receive "183" and "200"responses. Only "200" appears in the log of event_route[uac:reply]. Is event_route[uac:reply] executed only for final responses? Thank you, Julia ___ SIP Express Router (SER) and Kamailio (Open

Re: [SR-Users] Self challenged packets

2016-09-19 Thread Daniel Tryba
On Sun, Sep 18, 2016 at 11:51:42AM +0200, Torsten Hantzsche wrote: > Bastian, thanks for the explanation. I have Kamailio running on FreeBSD > and never thought of a difference in the routing table compared to Linux. > The option WITH_IPAUTH did the trick. There is no difference in routing to the

Re: [SR-Users] Kamailio P-CSCF error on INVITE

2016-09-19 Thread Dragos Oancea
Hi Try: modparam("ims_registrar_pcscf", "is_registered_fallback2ip", 2) http://www.kamailio.org/docs/modules/devel/modules/ims_registrar_pcscf.html#idp17383820 Use latest kamailio to date (4.4.3) or kamailio master. Regards, Dragos On 19/09/2016 09:11, Owais wrote: > Any ideas? > > > > -- >

Re: [SR-Users] Kamailio P-CSCF error on INVITE

2016-09-19 Thread Owais
Any ideas? -- View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-P-CSCF-error-on-INVITE-tp151614p151896.html Sent from the Users mailing list archive at Nabble.com. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-