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 for question #2, certainly most of those 700Mb are related to outdated packages that need some updates. 


Sérgio Charrua



On Fri, Apr 26, 2024 at 5:42 PM christian.marinelli--- via sr-users <sr-users@lists.kamailio.org> wrote:
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 help you on that quest:
>
> Configuring RTPEngine in Kamailio: A Quick Guide – Blog for the Tech
> Community (voipnuggets.com)
> <https://voipnuggets.com/2023/06/26/configuring-rtpengine-in-kamailio-a-quick-guide/>
>
> And good old Nick's headbutts with networking
> Kamailio Bytes – Setting up rtpengine in Kamailio to relay RTP / Media |
> Nick vs Networking
> <https://nickvsnetworking.com/kamailio-bytes-rtp-media-proxying-with-rtpengine/>
>
>
>
> *Sérgio Charrua*
>
> On Fri, Apr 26, 2024 at 11:48 AM christian.marinelli--- via sr-users <
> sr-users(a)lists.kamailio.org&gt; wrote:
>
> >   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 neophyte user with  SIP concepts.
> >   So i prefer the second one!
> >  Can you suggest me how i can change my Kamailio configuration to do this
> > behavior?
> >   Thanks you so much in advance
> >  Christian
> >  Hi @sergio charrua,
> >  the last days i tryed to search and study how to set my Kamailio server to
> >  modify the SDP content and replace
> >  internal/private IP addresses with the public addresses, but...without
> >  success! :(
> >  Can you help me to understand how can i modify the Kamailio configuration
> >  to do this?
> >  Thank you in advance
> >  Christian
> >  __________________________________________________________
> >  Kamailio - Users Mailing List - Non Commercial Discussions
> >  To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
> >  Important: keep the mailing list in the recipients, do not reply only to
> >  the sender!
> >  Edit mailing list options or unsubscribe:
> >

Hi @Sergio Charrua,
i tried this solution in a testing environment and i can confirm you it semmes not very difficult, but....i have some doubts:

1) To install the package on a Ubuntu 22.04 server, i need to set a specific repository as you can see in this guide:
https://dfx.at/rtpengine/
Moreover, i need to manually install a librery by following this step because it is not available in the standard Ubuntu repository:
https://gist.github.com/joulgs/c8a85bb462f48ffc2044dd878ecaa786
Is it correct? As i can read, it is the only way to install the package without compiling it.

2) To install the package, the APT package manager need to download 250MB of packages and dependencies to a total of 700MB of space on the disk and at the end of the installation it seems to compile something.
I don't know if this is correct but i think that's a bit umcomfortable (install 700MB of packages for a only one need)...

Are you sure the second solution is not possible?
In the production environment i think i can't install all these things....
Thank you a lot
Christian
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: