ngs familiar ones sometimes cannot.
Lewis
From: Daniel-Constantin Mierla
Sent: 31 August 2022 11:21
To: Kamailio (SER) - Users Mailing List ; Lewis
Hutchinson
Subject: Re: [SR-Users] Intermittent delays relaying BYE (up to 1s)
First, most of the module functions return negative or posit
Thanks Daniel, I have looked at that so many times and not noticed the missing
> 0 and because it always looped RTPengine in I didn't see anything out of
place...
I did check the path it executed with debug logging which led me to this point,
so I am happy I am on top of the issue
Again,
First, most of the module functions return negative or positive integer
values, not boolean. You have to check with <0 for what's usually false
in native kamailio.cfg if conditions and >0 for true.
Then, also double check it does not execute it via a different config
path, like the branch route
Ok so making progress but still a little confused, hopefully this forum can
shed some light on this behaviour.
Using the hints provided (thanks all so far) and the latency logging from the
cookbook I have managed to isolate the issue down to RTPengine introducing the
delay.
INFO: app_python3
Hello,
if the delay comes on some internal callback that is not due to a config
function/action, the benchmark may not be much useful, but if it is
about database, look at the core cookbook, there are latency related
parameters for db operations and config actions, they might be more
suitable to
You’re very welcome!
It may be that the DB operation for BYEs is different in nature and more latent
than for INVITEs, as odd as that would seem.
If the inherent latency of the operation is unavoidable as a matter of
technical design or insurmountable realities of server performance or
Thanks Alex and Kaufman,
As you said there is an element of db blocking for accounting, but I don't see
the same impact when the INVITE goes through and sets the accounting flags.
I will look to disable accounting and see if it improves things. If not, I will
have a look at benchmark to try
Hi,
While you have not said much about how your BYEs are processed, I would
speculate that the operation in your config script does not consist purely of
relaying these on the network, but also some sort of blocking database
operation that is delaying execution of the config script.
— Alex
>
-Users] Intermittent delays relaying BYE (up to 1s)
I have a situation where I am seeing intermittently Kamailio having delays when
relaying the BYE received from an external party
This is only affecting the BYE
We have 6 Kamailios stood up
3 linked to the SIP Providers (SBC)
3 for Registration
I have a situation where I am seeing intermittently Kamailio having delays when
relaying the BYE received from an external party
This is only affecting the BYE
We have 6 Kamailios stood up
3 linked to the SIP Providers (SBC)
3 for Registration (REG)
Language KEMI | Python
version: kamailio
10 matches
Mail list logo