Re: [SR-Users] Rx Interface connected, get error code: SIP/2.0 403 Forbidden - You must register first with a S-CSCF

2016-07-15 Thread Jason Penton
Hi Kristian, I will look into your pcaps this weekend. One point to look out for in the meantime. Make sure that the "contact" can be found for the subscribe. The 403 is issued because we cannot find a contact based on the SUBSCRIBE message. depending on your cfg, usrloc will try to use contact h

Re: [SR-Users] Segfault in dialog.so with 4.4.2 stable

2016-07-15 Thread Daniel-Constantin Mierla
The content of dlg is not valid, likely freed. Can you run with -x qm and see if you get new error messages? Also, what modules are you using, specially interested in those using dialog module, such as cnxcc or presence dialog info?!?! Cheers, Daniel On 15/07/16 13:06, Dirk Teurlings - Signet B

Re: [SR-Users] Rx Interface connected, get error code: SIP/2.0 403 Forbidden - You must register first with a S-CSCF

2016-07-15 Thread Federico Favaro
Dear Kristian, Just take a look at the value you have at "Auth Lifetime" or "Session Timeout" AVPs on AAR request from P-CSCF through PCRF. Those are (afaik) Base Diameter AVPs. Those values are referring to a timeout to cleanup the diameter session. It seems like, when this timer will expire, the

Re: [SR-Users] Rate limiting

2016-07-15 Thread Alex Balashov
I have never used pipelimit with a database. The essence is the ability to pass a dynamic pipe to pl_check() which is created if it doesn't exist. On July 15, 2016 4:59:01 AM EDT, NITESH BANSAL wrote: >Hi Alex, > > >I looked at the pipelimit module and apparently it relies on database, >for

Re: [SR-Users] tls with ubuntu 16.04

2016-07-15 Thread Jayesh Nambiar
Hi Daniel, Here are the logs: http://pastebin.com/tGRWr9JS Thanks, - Jayesh On Fri, Jul 15, 2016 at 12:29 PM Daniel-Constantin Mierla wrote: > Yes, put them on pastebin. > > Daniel > > On 15/07/16 07:53, Jayesh Nambiar wrote: > > The libssl version is as follows: > > 1.0.2g-1ubuntu4.1 > > And

Re: [SR-Users] Segfault in dialog.so with 4.4.2 stable

2016-07-15 Thread Dirk Teurlings - Signet B.V.
(gdb) frame 1 #1 dlg_unref (dlg=dlg@entry=0x7f585c494b40, cnt=cnt@entry=1) at dlg_hash.c:921 921 dlg_lock( d_table, d_entry); (gdb) p *dlg $1 = {ref = 793790803, next = 0xa0d4b4f20303032, prev = 0x504953203a616956, h_id = 808333871, h_entry = 1346655535, state = 774976288, lifetime = 7

Re: [SR-Users] Segfault in dialog.so with 4.4.2 stable

2016-07-15 Thread Daniel-Constantin Mierla
From the second crash, can you get: frame 1 p *dlg So far it looks like either to a double free or some buffer overflow... Cheers, Daniel On 15/07/16 10:51, Dirk Teurlings - Signet B.V. wrote: > Just got another segfault. > > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db

Re: [SR-Users] Websocket Path Issues

2016-07-15 Thread Colin Morelli
Daniel, That's looks like it should get what I want, but is there any way to suppress the error message? It seems like a lot of noise for what would be a common occurrence. Best, Colin On Fri, Jul 15, 2016 at 3:01 AM Daniel-Constantin Mierla wrote: > Hello, > > see if this parameter gets what y

Re: [SR-Users] Segfault in dialog.so with 4.4.2 stable

2016-07-15 Thread Dirk Teurlings - Signet B.V.
Hi, first crash: (gdb) info locals cb = __FUNCTION__ = "run_dlg_callbacks" (gdb) bt full #0 run_dlg_callbacks (type=type@entry=64, dlg=dlg@entry=0x7fceb400e2f0, req=req@entry=0x7fced4f093c8, rpl=rpl@entry=0x0, dir=, dlg_data=dlg_data@entry=0x0) at dlg_cb.c:253 cb = __FUNCTIO

Re: [SR-Users] Segfault in dialog.so with 4.4.2 stable

2016-07-15 Thread Daniel-Constantin Mierla
Hello, can you send the output of gdb commands: info locals bt full Cheers, Daniel On 15/07/16 10:06, Dirk Teurlings - Signet B.V. wrote: > Hi, > > Running Kamailio on Debian from the Kamailio repository with 4.4.2 > stable (unpatched). Getting some random segfaults with it now, here's > the

Re: [SR-Users] Rate limiting

2016-07-15 Thread NITESH BANSAL
Hi Alex, I looked at the pipelimit module and apparently it relies on database, for performance reasons, I want to avoid DB looks and want to maintain something in-memory, just like 'Pike' does for source-ip limiting. Is there any way to do that in Kamailio? Nitesh _

Re: [SR-Users] Segfault in dialog.so with 4.4.2 stable

2016-07-15 Thread Dirk Teurlings - Signet B.V.
Just got another segfault. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/kamailio -f /etc/kamailio/kamailio.cfg -P /var/run/kamailio/kamailio.'. Program terminated with signal 11, Segmentation fault. #0 atomic_get (v=0x7f6264d11378) at

[SR-Users] Segfault in dialog.so with 4.4.2 stable

2016-07-15 Thread Dirk Teurlings - Signet B.V.
Hi, Running Kamailio on Debian from the Kamailio repository with 4.4.2 stable (unpatched). Getting some random segfaults with it now, here's the relevant backtrace from the generated core. Core was generated by `/usr/sbin/kamailio -f /etc/kamailio/kamailio.cfg -P /var/run/kamailio/kamailio.'. Pro

Re: [SR-Users] Determining if request is from a local domain

2016-07-15 Thread Daniel-Constantin Mierla
Hello, kamcmd can list the aliases -- see 'kamcmd help' for the list of commands that it can execute -- that can be handy to spot such issues in the future. Cheers, Daniel On 13/07/16 05:02, Shane Harrison wrote: > Hi all, > > Solved! > > As is often the case, after working all morning on the

Re: [SR-Users] kamcmd & route[REMOTE_TEST]

2016-07-15 Thread Daniel-Constantin Mierla
Hello, On 14/07/16 11:02, Marino Mileti wrote: > > Hi guys, > > > > I've two question regarding rpc command. > > > > Is it possible to "execute" a specific route (for example my > route[REMOTE_TEST]) using a rpc command by kamcmd? > > > > If not exist some other tricks to do this? > you can

Re: [SR-Users] Websocket Path Issues

2016-07-15 Thread Daniel-Constantin Mierla
Hello, see if this parameter gets what you are looking for: - https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.p.failure_exec_mode Cheers, Daniel On 14/07/16 19:34, Colin Morelli wrote: > Hey all, > > I'm using Kamailio as an outbound edge proxy for websocket > connections. Wh

Re: [SR-Users] tls with ubuntu 16.04

2016-07-15 Thread Daniel-Constantin Mierla
Yes, put them on pastebin. Daniel On 15/07/16 07:53, Jayesh Nambiar wrote: > The libssl version is as follows: > > 1.0.2g-1ubuntu4.1 > > And openssl version shows this: > > OpenSSL 1.0.2g-fips 1 Mar 2016 > > As for the logs with debug 3, kamailio scans each and every line in > the config and ge