Re: [SR-Users] DBURL password in clear

2017-11-17 Thread Daniel-Constantin Mierla
On 15.11.17 18:27, Robert wrote: > Thank you Daniel. This provides me with some capability, but I can’t > seem to consume the result in the configuration, I just get lots of > errors. The issue seems to be that the value of the define, passed via > -A doesn’t seem to be processed in anyway. > > I

Re: [SR-Users] DBURL password in clear

2017-11-17 Thread Daniel-Constantin Mierla
On 16.11.17 10:34, Daniel Tryba wrote: > On Wed, Nov 15, 2017 at 08:46:58AM +0100, Daniel-Constantin Mierla wrote: >>> I???m working for a UK high street bank and our Kamailio implementation has >>> been challenged because we???ve got database passwords held in clear in the >>> configuration fi

Re: [SR-Users] DBURL password in clear

2017-11-17 Thread Daniel-Constantin Mierla
Hello, just remembered that a while ago I added support for the config file name '-' (dash/minus char) which means kamailio reads the config from standard input. This can be used to direct content of the kamailio.cfg from a safe system. For example, if one stores the config file on a web server, c

Re: [SR-Users] max_contacts does not work as expected

2017-11-17 Thread Dmitri Savolainen
One of them is expired in my mind and wiating for "usrloc" "timer_interval" for clearing in DB. Expired contact will ignore while calling. Like this MariaDB [kamailio_dev]> select username, expires, UNIX_TIMESTAMP(expires) - UNIX_TIMESTAMP(now()), user_agent from location where username='000*888

Re: [SR-Users] SUBSCRIBE NAT Keep-Alive

2017-11-17 Thread Charles Chance
Hello, Just a thought, have you looked at the nat_traversal module? It's worked well for us in similar scenarios. Cheers, Charles On 15 November 2017 at 09:11, Asgaroth <00asgarot...@gmail.com> wrote: > Hi, > > On 15/11/2017 07:59, Daniel-Constantin Mierla wrote: > >> Hello, >> >> you have pre

[SR-Users] kamailio 4.4 - jansson_get_field parse error actions

2017-11-17 Thread Jonathan Hunter
Hi Guys, I am looking to send calls to a default route should we have issues when connecting to our API which provides routing instructions. On scenario is handling an invalid JSON response , which would result in a parse error. Is it possible to capture when there is a failed to parse error w

Re: [SR-Users] kamailio 4.4 - jansson_get_field parse error actions

2017-11-17 Thread Jonathan Hunter
Hi Guys, Looks like return code = -1 does the trick for me?! Sorry for noise please comment if there is a better way. thanks Jon From: sr-users on behalf of Jonathan Hunter Sent: 17 November 2017 14:56 To: Kamailio (SER) - Users Mailing List Subject: [S

Re: [SR-Users] max_contacts does not work as expected

2017-11-17 Thread Gholamreza Sabery
Thank you very much Dimitri, good point. On Fri, Nov 17, 2017 at 2:38 PM, Dmitri Savolainen wrote: > One of them is expired in my mind and wiating for "usrloc" > "timer_interval" for clearing in DB. Expired contact will ignore while > calling. Like this > MariaDB [kamailio_dev]> select userna