Re: [OpenSIPS-Users] opensips 3.2 and latest github rtpengine

2022-03-23 Thread Artiom Druz
Hello, Alberto. You can modify it by using an optional parameter in rtpengine_offer (sdp_var - https://opensips.org/html/docs/modules/3.2.x/rtpengine#func_rtpengine_offer ). Logic: You can write new sdp body to the variable instead of rewrite of existing SDP. After that you can modify "s"

Re: [OpenSIPS-Users] mid_registrar multi domains

2022-03-23 Thread Artiom Druz
Hello, Andrei. You can do that by taking $tU (user from "To" header) and using some transformation function. In your example can be used s.select function. ( https://www.opensips.org/Documentation/Script-Tran-3-2#toc7) Best regards, Artiom Druz ср, 23 мар. 2022 г., 21:11 Andrei G. : > Hey guys,

Re: [OpenSIPS-Users] mysql_db installation fails ...

2022-03-23 Thread Stefan Carlsson
Found the "problem" Forgot the -module in modulename ... Problem solved... From: Users On Behalf Of Stefan Carlsson Sent: Wednesday, 23 March, 2022 20:00 To: users@lists.opensips.org Subject: [OpenSIPS-Users] mysql_db installation fails ... Hi ! A fresh install of opensips 3.2.5

[OpenSIPS-Users] Opensips 3 module names...

2022-03-23 Thread Stefan Carlsson
Hi Where can I find the modules names so I can install the via yum. Is it in the form: opensips-[modulename]-module Need the proto modules It seems to be changed a bit after rel.2 Kind Regards Stefan ___ Users mailing list

[OpenSIPS-Users] opensips 3.2 and latest github rtpengine

2022-03-23 Thread Alberto
Hi, I'm trying to change the session name, the s= line, while using rtpengine. If I remove rtpengine and do replace_body_all("^s=.*$", "s=abczzz"); it works just fine and I see the new session name in the second leg of the call. But when rtpengine_offer is called, the original sdp body is used

[OpenSIPS-Users] OpenSIPS timers

2022-03-23 Thread Ovidiu Sas
Hello all, I'm working on tuning an opensips server. I get this pesky: WARNING:core:utimer_ticker: utimer task already scheduled I was trying to get rid of them by playing with the tm timer_partitions parameter and the timer_workers core param. By increasing any of them doesn't increase

[OpenSIPS-Users] mysql_db installation fails ...

2022-03-23 Thread Stefan Carlsson
Hi ! A fresh install of opensips 3.2.5 (x86_64/linux) , now I try to install mysql_db module, but fails. Tried to install via yum, got this yum install opensips-mysql Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftpmirror.infania.net * centos-sclo-rh:

[OpenSIPS-Users] mid_registrar multi domains

2022-03-23 Thread Andrei G.
Hey guys, I successfully tested opensips with mid_registrar for one domain Is it possible to use opensips in front of 2 asterisk boxes and redirect registrations based on a prefix username, not domain prefix? Something like asterisk1-user@mid-registrar.domain - where opensips manage

Re: [OpenSIPS-Users] rtp_relay module implementation help .

2022-03-23 Thread Răzvan Crainea
Hi, Sasmita! There is no auto-switching mode, you will have to do it manually. You need to monitor rtpengine through external scripts, and when it breaks, run the opensips-cli rtp_relay_update command. Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On

Re: [OpenSIPS-Users] Upgrade OpenSIPS version 2.3 to 3.2

2022-03-23 Thread Răzvan Crainea
Hi, Sumit! You need to gradually migrate the DB from 2.3 to 2.4, then 3.0, etc. You don't need to install opensips for that, all you need is the database schema. Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 3/23/22 16:00, Sumit Birla wrote: Hi

[OpenSIPS-Users] Upgrade OpenSIPS version 2.3 to 3.2

2022-03-23 Thread Sumit Birla
Hi all, A couple of questions about upgrading an old instance on OpenSIPS: Is it possible to update OpenSIPS database from version 2.3 to 3.2 in one shot? Or do I have to go through the steps: 2.3 -> 2.4 -> 3.0 -> 3.1 -> 3.2 If I install version 3.2, will it have the capability to migrate

[OpenSIPS-Users] rtp_relay module implementation help .

2022-03-23 Thread Sasmita Panda
Hi All , I was going through the doc and did a simple POC on rtp_relay module and the media server is rtpengine . My config file looks like below . loadmodule "dialog.so" loadmodule "rtp_relay.so" loadmodule "rtpengine.so" modparam("rtpengine", "rtpengine_sock", "udp:20.0.x.x:22000=3")

Re: [OpenSIPS-Users] Python functions

2022-03-23 Thread Alberto
Hi, 3.2 Sorry for not mentioning it earlier On Wed, 23 Mar 2022, 08:22 Răzvan Crainea, wrote: > What OpenSIPS version are you using? > > Răzvan Crainea > OpenSIPS Core Developer > http://www.opensips-solutions.com > > On 3/22/22 01:41, Alberto wrote: > > Hi lads and ladies, > > I'm working on a

Re: [OpenSIPS-Users] inject_dtmf

2022-03-23 Thread Johan De Clercq
I spoke with sipwise yesterday and according to them, the problem is that I send the dtmf too early (immediately in reply route after rtpengine_answer). I will try this evening with setting up a call and then injecting the dtmf with curl or something. This leads me to the follow up question : how

Re: [OpenSIPS-Users] SQL Cacher full caching auto reload specific key

2022-03-23 Thread Răzvan Crainea
Your assumption is correct - for full caching mode, only the entire table can be reloaded. If you want to reload per record, you should be using on demand caching. Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 3/21/22 17:47, Mehdi Shirazi wrote: Hi

Re: [OpenSIPS-Users] Python functions

2022-03-23 Thread Răzvan Crainea
What OpenSIPS version are you using? Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 3/22/22 01:41, Alberto wrote: Hi lads and ladies, I'm working on a python script called via python_exec, but I can't see any function to do debug logs, except LM_ERR. I tried

Re: [OpenSIPS-Users] inject_dtmf

2022-03-23 Thread Răzvan Crainea
Hi, Johan! Can you post opensips logs of rtpengine module? Are there any errors. Also, what version of OpenSIPS are you using? Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 3/22/22 13:34, Johan De Clercq wrote: Hi, for one reason or another I