Re: [SR-Users] JSON Error

2021-11-24 Thread Ovidiu Sas
Add a log in the config on each location and correlate with the error log. -ovidiu On Wed, Nov 24, 2021 at 22:37 Daniel W. Graham wrote: > That’s what I’m looking to do, but there are lots of locations in the > config file json is used and the error doesn’t give any indication what > call to

Re: [SR-Users] JSON Error

2021-11-24 Thread Daniel W. Graham
That’s what I’m looking to do, but there are lots of locations in the config file json is used and the error doesn’t give any indication what call to jansson_get is causing the error. -dan From: sr-users on behalf of Fred Posner Date: Wednesday, November 24, 2021 at 10:11 PM To:

Re: [SR-Users] JSON Error

2021-11-24 Thread Fred Posner
Are you verifying the document is valid JSON? Fred Posner | palner.com Matrix: @fred:matrix.lod.com o: +1 (212) 937-7844 On 11/24/21 7:47 PM, Daniel W. Graham wrote: > My log is filled with this and have been unsuccessful locating > additional information by increasing debug level. > >   > >

[SR-Users] JSON Error

2021-11-24 Thread Daniel W. Graham
My log is filled with this and have been unsuccessful locating additional information by increasing debug level. Any thoughts on how to quickly isolate? /usr/local/sbin/kamailio[7678]: ERROR: jansson [jansson_funcs.c:48]: janssonmod_get_helper(): json error at line 1, col 0: '[' or '{'

Re: [SR-Users] How to not write logs to journald with kamailio

2021-11-24 Thread Sergey Safarov
you need configure journald config file /etc/systemd/journald.conf [root@bcf-b ~]# grep RateLimit /etc/systemd/journald.conf RateLimitIntervalSec=0 RateLimitBurst=0 On Wed, Nov 24, 2021 at 7:50 PM Daniel-Constantin Mierla wrote: > Hello, > > kamailio uses internally openlog() and syslog()

[SR-Users] Problem with 302

2021-11-24 Thread nathan Kirk
Hello, First time poster and I am stuck. I am using K as a mid registar to several AST boxes. The problem I am having is if AST or the END USER DEVICE sends a 302 for some reason I am getting a 500 THEN the 302 to the END USER DEVICE or AST depending which direction the call flow is. Example

Re: [SR-Users] t_suspend() / t_continue() create new branches

2021-11-24 Thread Sebastian Damm
Hi Daniel, thanks for the explanation. I played around, and when setting fr_timer to 30s and fr_inv_timer to 500ms by default and setting the fr_inv_timer to 120s in branch route, it works as expected. At least when I call my mobile and reject the call there. So indeed it looks like the

Re: [SR-Users] How to not write logs to journald with kamailio

2021-11-24 Thread Daniel-Constantin Mierla
Hello, kamailio uses internally openlog() and syslog() functions from standard libc. It has not control of what the syslog daemon does, it is a matter of OS configuration, so what you mention might be the required configuration, not a workaround. Anyhow, maybe others can comment more. There are

Re: [SR-Users] KEMI Golang

2021-11-24 Thread Daniel-Constantin Mierla
Hello, KEMI is for interpreted scripting languages, like lua, python, ruby. Golang compiles to native executable. In golang one can write libraries which can then be used by kamailio modules, like it is done now by secsipid/secsipid_proc. Cheers, Daniel On 23.11.21 13:02, Eugeniu Istrati

Re: [SR-Users] [uac] How to force outbound registration?

2021-11-24 Thread Sergiu Pojoga
If you do unregister (without disable), then you'll need to do reg_refresh followed by reg_enable to get the registration resumed. Cheers comrad. On Wed, Nov 24, 2021 at 9:52 AM Denys Pozniak wrote: > As far as I tested, after unregistering the account, new registration no > longer occurs

Re: [SR-Users] t_suspend() / t_continue() create new branches

2021-11-24 Thread Daniel-Constantin Mierla
Hello, a suspend of a request is practically a branch that is not sent out, which can also time out, if not resumed before retransmission timeout value and can get in failure route if requested. On continue, the suspended branch is closed like when a negative response is received on that branch

Re: [SR-Users] [uac] How to force outbound registration?

2021-11-24 Thread Denys Pozniak
As far as I tested, after unregistering the account, new registration no longer occurs regardless of the reg_timer_interval. What command should be used to enable it again? ср, 24 нояб. 2021 г. в 15:40, Sergiu Pojoga : > You can't immediately register back. Registration scheduler runs at >

Re: [SR-Users] t_suspend() / t_continue() create new branches

2021-11-24 Thread Sebastian Damm
After spending more hours of unsuccessful debugging, I can add to my problem: My call enters the branch_route_failure route, where I can get the 486 status with t_get_status_code(). However, I cannot issue a t_reply() in this phase of the call. And after some more seconds, when the transaction

[SR-Users] Kamailio v5.5.3 Released

2021-11-24 Thread Daniel-Constantin Mierla
Hello, Kamailio SIP Server v5.5.3 stable release is out. This is a maintenance release of the latest stable branch, 5.5, that includes fixes since the release of v5.5.2. There is no change to database schema or configuration language structure that you have to do on previous installations of

Re: [SR-Users] [uac] How to force outbound registration?

2021-11-24 Thread Sergiu Pojoga
You can't immediately register back. Registration scheduler runs at certain intervals, defined by reg_timer_interval modparam. https://kamailio.org/docs/modules/stable/modules/uac.html#uac.p.reg_timer_interval Regards, --Sergiu On Wed, Nov 24, 2021 at 7:11 AM Denys Pozniak wrote: > Hello! > >