Re: [SR-Users] cfg_lock_helper(): lock set not initialized

2018-11-07 Thread Daniel-Constantin Mierla
Hello, if you use lock/unlock functions inside kamailio.cfg, you have to set lock_set_size parameter for cfgutils module. Cheers, Daniel On 07.11.18 23:45, Kjeld Flarup wrote: > Hi > > What does this error actually mean? I get it with 5.1.4 > > Nov  6 13:27:02 scantronpbx /usr/sbin/kamailio[214

Re: [SR-Users] Custom authentication

2018-11-07 Thread Alex Balashov
Hi João, It is certainly possible. Specifically, you can use values stored in pseudovariables for authentication challenges instead of going to the standard authentication database backing. Have a look at the pv_* functions in the `auth` module, e.g. https://kamailio.org/docs/modules/5.1.x/module

[SR-Users] Custom authentication

2018-11-07 Thread João Sávio
Hello! I was reading the documentation of Kamailio, And, although there are some authentication modules, I couldn't find a way to implement a custom authentication for SIP Register. Something that allows me, for example, to call a web server and returns if the user is authenticated, or the user da

[SR-Users] cfg_lock_helper(): lock set not initialized

2018-11-07 Thread Kjeld Flarup
Hi What does this error actually mean? I get it with 5.1.4 Nov  6 13:27:02 scantronpbx /usr/sbin/kamailio[2149]: ERROR: cfgutils [cfgutils.c:708]: cfg_lock_helper(): lock set not initialized (attempt to do op: 1 on: u1) -- Med Liberalistiske Hilsner

Re: [SR-Users] Phone does not set "Expire-header" but "Contact expire", immediately expires

2018-11-07 Thread Kevin Olbrich
For anyone interested: server_header="Server: Mitel Border GW" This effectively forges the header to the one from the firmware. There are many other: Aastra 800 OpenCom Aastra 400 MiVoice Office 400 Aastra MX-ONE Forum 5 Telepo Mitel-5000-ICP Mitel Border GW Mitel-3300-ICP Source: - binwalk -e 69

Re: [SR-Users] Phone does not set "Expire-header" but "Contact expire", immediately expires

2018-11-07 Thread Kevin Olbrich
Hi! I have found the problem. It is indeed desired behaviour! Current FW is 5.1.0. I have now browsed the realease notes from latest to oldest and release 5.0.0 (first for Mitel 6900 series) states, that this phone only works, if registered to Mitel call servers. This remark is only listet there a

Re: [SR-Users] failure route is not executed when suspended invite is cancelled

2018-11-07 Thread Daniel-Constantin Mierla
Hello, On 07.11.18 06:46, Koray Vatansever wrote: > Hi all, > > I'm trying to upgrade kamailio from 4.2.7 to 5.1.5 and I realized that > when CANCEL is received for a suspended INVITE, failure route is not > executed in release 5.1.5.  > In 4.2.7 failure route is executed for this scenario. > > I