Hi,
I was wondering if Kamailio can support FQDN endpoint which resolves to multiple IPs, checks if the first IP is not reachable, try the next one in the list.
Thanks,
AL
Hello! In 5.4 release announce there is a line about contact rewriting.
"new Contact address encoding/decoding functions – replace/restore
Contact address with SIP server address, by encoding/decoding old
address in a parameter"
Where can I find some documentation or examples about NEW functions?
At present we handle this task exactly the same way via parameters
manually. It is kinda verbose and hard to understand. Maybe new
functions will simplify this. Please advise!
Thanks!
--
Best regards,
Dmitry Sytchev,
IT Engineer
Hi Team,
We are using sipwise rtpengine on platform centos 7. To get call related
statistics from rtpengine. We tried to use utils "rtpengine-ng-client" and
"rtpengine-ctl". But for us both of them are not working.
*Rtpengine process status:*
[root@ctl utils]# ps -ef |grep rtpengine
root 3924 668 0 00:11 pts/0 00:00:00 grep --color=auto rtpengine
root 20502 20499 0 Jan19 ? 00:10:02 ../sbin/rtpengine -f
--num-threads 4 -i pub/10.211.160.132 -i priv/10.211.160.132 -n
127.0.0.1:8500 -c 127.0.0.1:8500 -m 32001 -M 32500 -T 184 -o 90 -d 4 -s 900
-p /var/run/rtpengine1.pid --scheduling rr --priority 37
[root@ctl utils]#
* rtpengine-ng-client:*
When i ran rtpengine-ng-client, I was getting Bencode.pm missing so I have
manually installed perl bencode library
"perl-Convert-Bencode-1.03-9.el7.noarch.rpm"
Now when i ran rtpengine-ng-client i am getting below error
[root@ctl utils]# ./rtpengine-ng-client list
*Undefined subroutine &Bencode::bencode called at
/usr/local/lib64/perl5/NGCP/Rtpengine.pm line 33. *
*rtpengine-ctl:*
When i ran ./rtpengine-ctl -ip 127.0.0.1:8500 list , We are not getting
any valid response from rtpengine.
[root@ctl utils]# ./rtpengine-ctl -ip 127.0.0.1:8500 list
*Inside do while after call socket->recv(response, 1024*1024*10)*
Please find the below attached source code for rtpengine-ng-client and
rtpengine-ctl.
Any help and suggestion will be highly appreciated.
Thanks,
Mahesh
Hello,
I was pretty sure there was a way to call a route from config file from Kemi, but I can’t find documentation about it.
Does that really exists or did I dreamed it ?
Regards,
David
Hi all
Have any of you experienced problems using MySQL(Not MariaDB) on a debian machine, with caching_sha2_password?
I am having some trouble:
Jan 21 08:13:41 MobileValue-Kamailio systemd[1]: Starting Kamailio (OpenSER) - the Open Source SIP Server...
Jan 21 08:13:42 MobileValue-Kamailio kamailio: INFO: <core> [core/tcp_main.c:4983]: init_tcp(): using epoll_lt as the io watch method (auto detected)
Jan 21 08:13:42 MobileValue-Kamailio kamailio[24260]: Listening on
Jan 21 08:13:42 MobileValue-Kamailio kamailio[24260]: udp: 185.31.176.39:5060
Jan 21 08:13:42 MobileValue-Kamailio kamailio[24260]: tcp: 185.31.176.39:80
Jan 21 08:13:42 MobileValue-Kamailio kamailio[24260]: Aliases:
Jan 21 08:13:42 MobileValue-Kamailio kamailio[24260]: tcp: voipgw01.evercall.dk:80
Jan 21 08:13:42 MobileValue-Kamailio kamailio[24260]: udp: voipgw01.evercall.dk:5060
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: INFO: rr [../outbound/api.h:52]: ob_load_api(): unable to import bind_ob - maybe module is not loaded
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: INFO: rr [rr_mod.c:185]: mod_init(): outbound module not available
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: ERROR: db_mysql [km_my_con.c:163]: db_mysql_new_connection(): driver error: Plugin caching_sha2_password could not be loaded: /usr/lib/x86_64-linux-gnu/mariadb19/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: ERROR: <core> [db.c:319]: db_do_init2(): could not add connection to the pool
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: ERROR: dispatcher [dispatch.c:903]: ds_connect_db(): cannot initialize db connection
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: ERROR: dispatcher [dispatch.c:937]: ds_init_db(): unable to connect to the database
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: ERROR: dispatcher [dispatcher.c:404]: mod_init(): could not initiate a connect to the database
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: ERROR: <core> [core/sr_module.c:849]: init_mod(): Error while initializing module dispatcher (/usr/lib/x86_64-linux-gnu/kamailio/modules/dispatcher.so)
Jan 21 08:13:42 MobileValue-Kamailio /usr/sbin/kamailio[24262]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Jan 21 08:13:42 MobileValue-Kamailio systemd[1]: kamailio.service: Control process exited, code=exited, status=255/EXCEPTION
Jan 21 08:13:42 MobileValue-Kamailio systemd[1]: kamailio.service: Failed with result 'exit-code'.
Jan 21 08:13:42 MobileValue-Kamailio systemd[1]: Failed to start Kamailio (OpenSER) - the Open Source SIP Server.
I can get around the problem, by making the kamailio & kamailioro user use mysql_native_password instead.
But am i wrong to belieave that it should Work out of the box?
Here are the installed packages from APT:
kamailio/unknown,now 5.4.3+bpo10 amd64 [installed]
kamailio-json-modules/unknown,now 5.4.3+bpo10 amd64 [installed]
kamailio-mysql-modules/unknown,now 5.4.3+bpo10 amd64 [installed]
kamailio-outbound-modules/unknown,now 5.4.3+bpo10 amd64 [installed]
default-libmysqlclient-dev/stable,now 1.0.5 amd64 [installed]
default-libmysqld-dev/stable,now 1.0.5 amd64 [installed]
libmariadb-dev/stable,now 1:10.3.27-0+deb10u1 amd64 [installed,automatic]
libmariadb-dev-compat/stable,now 1:10.3.27-0+deb10u1 amd64 [installed,automatic]
mysql-apt-config/unknown,now 0.8.16-1 all [installed]
mysql-client/unknown,now 8.0.23-1debian10 amd64 [installed,automatic]
mysql-common/unknown,now 8.0.23-1debian10 amd64 [installed,automatic]
mysql-community-client/unknown,now 8.0.23-1debian10 amd64 [installed,automatic]
mysql-community-client-core/unknown,now 8.0.23-1debian10 amd64 [installed,automatic]
mysql-community-client-plugins/unknown,now 8.0.23-1debian10 amd64 [installed,automatic]
mysql-community-server/unknown,now 8.0.23-1debian10 amd64 [installed,automatic]
mysql-community-server-core/unknown,now 8.0.23-1debian10 amd64 [installed,automatic]
mysql-server/unknown,now 8.0.23-1debian10 amd64 [installed]
Thanks in advance
Nicki Bo Otte
Hi guys;
I have some rtpproxy questions:
- When a proxy is in a failed state, what happens to the active sessions /
streams?
- How many times the module should retry to send and receive after timeout
was
generated?
- *How often are the control messages sent to the rtp proxy’s in the pool?*
*- I would like to know the exact nc message that’s used for the control
messages*
*Thank you.*
Hi All,
I would like to ask you if there is any way how to track usrloc location cleaning operation with some event route, so I can broadcast the change with for example kafka message.
If no, how do you keep track of online/offlice status of the user?
I am trying to avoid using change data capture in mysql proxy for location table.
Michal
Hi to all,
Does anyone have experience using Kamailio in front of some Lambda / Cloud functions? For example, passing call info with JSON to functions.Please share your ideas.
Regards,HYavari