[SR-Users] Re: Wrong code in the websocket examples cfg

2024-04-26 Thread Pavan Kumar via sr-users
Thanks Fred. If I understand correctly, when a document says "function returns FALSE", it means it will return one of the negative numbers. I assume the expresion "if(negative_number)" will be evaluated to be true in kamailio cnf. In that case, the code if (loose_route()) { > ... > } else {

[SR-Users] Re: Wrong code in the websocket examples cfg

2024-04-26 Thread Fred Posner via sr-users
On Apr 26, 2024, at 9:30 PM, Pavan Kumar wrote: > > Thanks Fred. If I understand correctly, when a document says "function > returns FALSE", it means it will return one of the negative numbers. I assume > the expresion "if(negative_number)" will be evaluated to be true in kamailio > cnf. > >

[SR-Users] Re: Wrong code in the websocket examples cfg

2024-04-26 Thread Fred Posner via sr-users
> On Apr 26, 2024, at 5:17 PM, Pavan Kumar via sr-users > wrote: > > Hello everyone, > > While going through the WebRTC example configuration (cfg) to better > understand and implement it in my setup, I came across a potential issue in > the code block. The code in question can be found at

[SR-Users] Wrong code in the websocket examples cfg

2024-04-26 Thread Pavan Kumar via sr-users
Hello everyone, While going through the WebRTC example configuration (cfg) to better understand and implement it in my setup, I came across a potential issue in the code block. The code in question can be found at this link:

[SR-Users] Re: Kamailio works but voice is not present during the calls!

2024-04-26 Thread Sergio Charrua via sr-users
I have no experience with Ubuntu Server, so i'm afraid I can't help you much on this For question #1, try this how-to https://nickvsnetworking.com/rtpengine-installation-configuration-ubuntu-20-04-22-04/ As

[SR-Users] Re: Kamailio, Asterisk and Parked calls

2024-04-26 Thread Barry Flanagan via sr-users
26 Apr 2024 19:14:53 Social Boh via sr-users : > Thank's all for your replies. > > The problem is I can't find a pattern to do this. The Asterisk configuration > is multitenant using chan_sip Channel. The customers parking the calls using > the transfer sipphone button and pick up using BLF or

[SR-Users] Re: Kamailio, Asterisk and Parked calls

2024-04-26 Thread Social Boh via sr-users
Thank's all for your replies. The problem is I can't find a pattern to do this. The Asterisk configuration is multitenant using chan_sip Channel. The customers parking the calls using the transfer sipphone button and pick up using BLF or calling the parking slot. Each tenant have first 5

[SR-Users] Re: Kamailio works but voice is not present during the calls!

2024-04-26 Thread christian.marinelli--- via sr-users
Sergio Charrua wrote: > The best solution is to use RTPEngine. Just don't reinvent the wheel, do as > "best practices". > Also, setting up and configuring RTPEngine is really easy and you would > just need to add a couple of lines of code on the kamailio script. > Here are a couple of links to

[SR-Users] Re: kamailio dispatcher module not loading

2024-04-26 Thread tfayomi--- via sr-users
Thank you! I assumed the file was auto generated, but creating it solved the issue. __ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-le...@lists.kamailio.org Important: keep the mailing

[SR-Users] Re: kamailio dispatcher module not loading

2024-04-26 Thread Barry Flanagan via sr-users
> On 26 Apr 2024, at 16:38, tfayomi--- via sr-users > wrote: > > Hello, > > I'm trying to set up the dispatcher module from kamailio, but I'm running > into errors just loading the dispatcher module and setting the params in my > config file and would like to know where I'm going wrong. > >

[SR-Users] kamailio dispatcher module not loading

2024-04-26 Thread tfayomi--- via sr-users
Hello, I'm trying to set up the dispatcher module from kamailio, but I'm running into errors just loading the dispatcher module and setting the params in my config file and would like to know where I'm going wrong. I've added destinations through kamctl as well and whenever I try to use

[SR-Users] Re: optimization in process

2024-04-26 Thread Alexis Fidalgo via sr-users
Thanks, ill set up the lab with that module and see how it behaves. > On 26 Apr 2024, at 11:16 AM, Ihor Olkhovskyi via sr-users > wrote: > > Alexis, > > I'd switch to http_async, but this is a general advice. > > As for switching to KEMI, I'd not expect increasing in performance as native

[SR-Users] Re: optimization in process

2024-04-26 Thread Ihor Olkhovskyi via sr-users
Alexis, I'd switch to http_async, but this is a general advice. As for switching to KEMI, I'd not expect increasing in performance as native script is the fastest so far. KEMI will give you "comfort of writing on a high-level language" and config reload, but performance should not be the

[SR-Users] optimization in process

2024-04-26 Thread Alexis Fidalgo via sr-users
Hello all, little and fast context, we have 8 docker swarm clusters (4 nodes each) where there are deployed as global service 4 kamailio per cluster. Each cluster runs 8 replicas of a call processing service/app (for the sake of this question we’ll assume the performance of this app is ok, no

[SR-Users] tls_threads_mode and app_python3 module

2024-04-26 Thread Ihor Olkhovskyi via sr-users
Hello, Just to confirm, as I quickly checked into a code of 5.8.x branch, there were no modification on app_python3 module to comply with tls_threads_mode mechanism? Asking this beforehand posting a bug, that if using a quite simple script into module, with tls_threads_mode = 2 Kamailio just

[SR-Users] Re: Kamailio works but voice is not present during the calls!

2024-04-26 Thread Sergio Charrua via sr-users
The best solution is to use RTPEngine. Just don't reinvent the wheel, do as "best practices". Also, setting up and configuring RTPEngine is really easy and you would just need to add a couple of lines of code on the kamailio script. Here are a couple of links to help you on that quest:

[SR-Users] Re: Kamailio works but voice is not present during the calls!

2024-04-26 Thread christian.marinelli--- via sr-users
christian.marinelli@hotmail.it wrote: > Hi Sergio, > thank you for you support and thank you about the three posibilities you > suggest to me! > > I prefer the second one because the third could create problems with other > services in the > VPN and the first one is a little bit difficult for a

[SR-Users] Re: ERROR: [core/ppcfg.c:275]: pp_ifdef_level_error(): different number of preprocessor directives: 1 more #!if[n]def as #!endif

2024-04-26 Thread Daniel-Constantin Mierla via sr-users
Hello, can you add an extra EoL at the end of the file and try again? iirc, at some point there was an issue counting the #!endif at the end of the file if it was not followed by a new line. I think that was fixed. Also, kamailio has a cli parameter to print the config after evaluating