Hello
I have debian 11 with kamailio 5.6.4 (x86_64/linux).
The kamailio is working fine.
Now I need to setup rtprngine to relay RTP.
I have installed the rtpengine using this guide: https://dfx.at/rtpengine/
Version: 10.5.4.3-1+b1
When I run: systemctl status rtpengine-daemon
I got:
● rtpengine-daemon.service - RTP/media Proxy Daemon
Loaded: loaded (/lib/systemd/system/rtpengine-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-08-01 20:58:23 -05; 51min ago
Docs: man:rtpengine(8)
Process: 468 ExecStartPre=/usr/sbin/rtpengine-iptables-setup start (code=exited, status=0/SUCCESS)
Main PID: 535 (rtpengine)
Tasks: 22 (limit: 2323)
Memory: 42.1M
CPU: 720ms
CGroup: /system.slice/rtpengine-daemon.service
└─535 /usr/bin/rtpengine -f -E --no-log-timestamps --pidfile /run/rtpengine/rtpengine-daemon.pid --config-file /etc/rtpengine/rtpengine.conf
Aug 01 20:58:22 debian systemd[1]: Starting RTP/media Proxy Daemon...
Aug 01 20:58:23 debian rtpengine[535]: INFO: [crypto] Generating new DTLS certificate
Aug 01 20:58:23 debian rtpengine[535]: INFO: [core] Startup complete, version 10.5.4.3-1+b1
Aug 01 20:58:23 debian systemd[1]: Started RTP/media Proxy Daemon.
Aug 01 20:58:23 debian rtpengine[535]: INFO: [http] Websocket listener thread running
I edited /etc/kamailio/kamailo.cfg with:
#!define WITH_RTPENGINE
#!ifdef WITH_RTPENGINE
loadmodule "rtpengine.so"
modparam("rtpengine", "rtpengine_sock", "udp:127.0.0.1:2223")
systemctl restart kamilio
To check if the rtpengine module is running:
kamcmd core.modules
I got:
permissions
auth_db
auth
counters
acc
cfg_rpc
ctl
sanity
xlog
siputils
textopsx
textops
registrar
usrloc
maxfwd
pv
rr
sl
tmx
tm
corex
kex
jsonrpcs
db_mysql
The point is that I don't see the rtpengine module.
There is another way to check if the rtpengine module is running ?
Regards
Hello,
I am researching how I could communicate from Kamailio (which runs on an AWS EC2 instance) with AWS services (e.g. DynamoDB) using HTTP API.
My Kamailio logic is written in Kamailio configuration files.
I would like to ask you if anyone has some experience with such a setup and if so how did you manage to connect it?
My current options are:
* HTTP connection to DynamoDB API with HTTP module
I would create a Python script that would generate signature headers for the [AWS API request](https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-req….
Then I would use the headers in the HTTP request.
(I am using the Kamailio module to keep the connection open to DynamoDB).
* Middleman service
Small service that provides HTTP API to Kamailio and manages the communication with DynamoDB.
Easiest solution but it's harder to maintain it in high availability mode.
* API gateway with VPC endpoint attached to the EC2
API gateway would be a proxy to DynamoDB and we would call the VPC endpoint from the Kamailio.
We would use resource policies to allow requests without auth through the VPC endpoint.
Any help or feedback would be valuable to me.
Thank you very much!
Regards,
Jakub
Hello,
I'm looking to change the A number (from number) to a number selected randomly from a pool of existing numbers (hundreds) and then relay the call to a certain gateway.
What is the best and more efficient way to do it in kamailio?
Thanks in advance
Hello guys,
I have kamailio behind a TLS->TCP Load Balancer. I'm having problems
because the outgoing packets have a record has the correct advertise BUT
kamailio is assuming that because the outgoing socket is TCP, it adds
";transport=tcp"... is it possible to set that parameter to tls?
Thanks!
David
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
Hello all, I want to save some credentials for different users I have that are being used in a digest authorization (INVITE),
with different realms (I don't want the credentials to be hardcoded).
I tried to look at how can I read into my kamalio.cfg from yaml/txt file, but haven't found the right module for this.
Thanks in advance,
Max