Hello,
I’m having problem with RPC socket that stops answering after approximatively one or two hours.
Version is 5.2.7
My principal host with exact same version and configuration has no problem, only the backup node (Keepalived + DMQ) encounters the problem.
I could catch this log about the problem, but didn’t find any reason for this :
Jun 18 10:53:33 sbc-kam-partner-b kamailio[83170]: ERROR: ctl [binrpc_run.c:600]: rpc_send(): ERROR: binrprc: rpc_send: send failed
My configuration about rpc :
loadmodule "jsonrpcs.so"
modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl")
modparam("ctl", "binrpc_max_body_size", 1024)
Do you have any idea to troubleshoot this ?
Regards,
David
Hello
I would like to ask if someone already tried to build Kamailio for the
Embedded Distribution Buildroot. I tried it myself but it looks like
Kamailio is not that easy to cross compile.
Thanks
Benjamin
Excuse me i already made integration for kamailio with asterisk but i want to make sip calls through kamailio and media fuctions through asterisk , i want kamailio to make calls away from asterisk , i just wanted asterisk to use its dahdi module .’
Thank you.
Hello,
Yesterday, there was a new release of Linphone IOS app, but i need help
from some kamailio expert how to add PUSH notification to the application
to receive incoming calls when the phone is not in use (wake up required)
from a kamailio server.
I have read on internet old tutorials (tsilo module) but most of them are
incomplete or do not explain in an easy way how to do it (for an average
kamailio user).
Anyone could do an easy to understand tutorial ?
Regards,
William Anderson
Hi ,
I am facing below error in s-cscf when i send a BYE from alice to bob in
kamailio IMS. The problem is in only call termination .Kindly help .
Error log in scscf :
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: <core>
[core/mem/q_malloc.c:526]: qm_free(): freeing frag. 0x7f4746f89148 alloc'ed
from core: core/rvalue.c: rval_new_empty(224)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: <core>
[core/socket_info.c:630]: grep_sock_info(): checking if host==us: 11==11 &&
[10.244.0.57] == [10.244.0.54]
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: <core>
[core/socket_info.c:637]: grep_sock_info(): checking if port 4080
(advertise 0) matches port 5060
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: <core> [core/name_alias.h:62]:
grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:sip.example.com:0)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: <core> [core/name_alias.h:62]:
grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:sip.example.com:5060)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: <core> [core/name_alias.h:62]:
grep_aliases(): matching (0:10.244.0.57:5060) vs. (0:
scscf.sip.example.com:4080)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: <core> [core/forward.c:423]:
check_self(): *host (0:10.244.0.57:5060 <http://10.244.0.57:5060>) != me*
Jun 30 08:40:22 scscf kamailio[557]: ERROR: <script>: sip:bob at
sip.example.com
Jun 30 08:40:22 scscf kamailio[557]: ERROR: <script>: *Domain not served
403*
Jun 30 08:40:22 scscf kamailio[557]: ERROR: <script>: *BYE *(
sip:alice@sip.example.com (10.244.0.52:4060) to sip:bob@sip.example.com,
-ARSjM.TTZgxhzwDjKRN0DtENWD4bKl0)
Jun 30 08:40:22 scscf kamailio[557]: DEBUG: <core>
[core/mem/q_malloc.c:374]: qm_malloc(): qm_malloc(0x7f4746dd7010, 30)
called from core: core/ut.c: as_asciiz(161)
I am not getting what it checks ..
10.244.0.57 -> UE bob
10.244.0.52 -> pcscf
10.244.0.53 -> icscf
10.244.0.54 -> scscf
10.244.0.56 -> UE alice
Kindly help
Thanks,
Pavithra
Greetings,
I'm trying to clean a SQL result using "sql_result_free()" but i'm not
having success.
Can you please verify if i'm doing anything wrong here?
This is my code :
xerr("Pre clean [0] = Iterator 0 =
$xavp(Cli_PICKER_Default_Search_Result[0]=>Code)");
sql_result_free("Cli_PICKER_Default_Search_Result");
xerr("Pos clean [0] = Iterator 0 =
$xavp(Cli_PICKER_Default_Search_Result[0]=>Code)");
The result is the following :
ERROR: <script>:Pre clean [0] = Iterator 0 = 111111111111
ERROR: <script>:Pos clean [0] = Iterator 0 = 111111111111
Am i using sql_result_free correctly or doing something wrong?
Best Regards,
Problem:
The mysql db issues with the scscf db include: table version, disappearing impu and/or UE data retained in tables when none are registered
Workarround:
In order to get over those various mysql issues listed causing the S-CSCF not to come up properly as boot up,
1. create a fresh new scscf database (kamadbctl [drop|create] scscf and import the msql script from the scscf configs)
2. back up the new scscf db
3. modify the init.d startup script for the scscf to restore the fresh db upon each start/restart of the S-CSCF
/etc/init.d/kamailio_scscf
..
case "$1" in
start|debug)
mysql -u root --database=scscf < /etc/kamailio/ims_databases/scscf.sql
The S-CSCF has been stable and dependable on each boot.
_Martin
From: Henning Westerholt <hw(a)skalatan.de>
Sent: Monday, June 8, 2020 4:50 PM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Cc: Martin W Woscek <mwoscek(a)mitre.org>
Subject: [EXT] RE: kamailio 522 S-CSCF failing to start
Hello,
the error message below is from the DB startup version check. So do you have sometimes DB errors on this virtual machine?
Cheers,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org<mailto:sr-users-bounces@lists.kamailio.org>> On Behalf Of Martin W Woscek
Sent: Monday, June 8, 2020 2:46 PM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org<mailto:sr-users@lists.kamailio.org>>
Subject: [SR-Users] kamailio 522 S-CSCF failing to start
Hello,
There are times that our S-CSCF module just wont start. I’ve tried correlating the issue with some operation such as not de-registering an IMS client (Boghe or imsdroid) prior to shutting down the Kamailio server. But this isn’t always the case. Being that we are running this an a Ubuntu Virtual Machine, simply overwriting the image with a backed up VM is the temporary solution.
I’ve dropped and created the db for S (kamdbctl) and rearranged the order of loading the presence module with same result.
Status of the S-CSCF daemon on failure to start:
# systemctl status kamailio_scscf
● kamailio_scscf.service - LSB: Start the Kamailio SIP proxy server
Loaded: loaded (/etc/init.d/kamailio_scscf; generated)
Active: inactive (dead)
Docs: man:systemd-sysv-generator(8)
Jun 08 08:22:55 ubuntu /usr/local/sbin/kamailio[16511]: INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping ...
Jun 08 08:22:55 ubuntu /usr/local/sbin/kamailio[16511]: INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child stopped
Jun 08 08:22:55 ubuntu /usr/local/sbin/kamailio[16511]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Jun 08 08:22:55 ubuntu kamailio_scscf[16495]: * already running
Jun 08 08:22:55 ubuntu kamailio_scscf[16495]: ...done.
Jun 08 08:22:55 ubuntu systemd[1]: Started LSB: Start the Kamailio SIP proxy server.
Jun 08 08:24:03 ubuntu systemd[1]: Stopping LSB: Start the Kamailio SIP proxy server...
Jun 08 08:24:03 ubuntu kamailio_scscf[16517]: * Stopping Kamailio IMS S-CSCF: kamailio_scscf
Jun 08 08:24:03 ubuntu kamailio_scscf[16517]: ...done.
Jun 08 08:24:03 ubuntu systemd[1]: Stopped LSB: Start the Kamailio SIP proxy server.
root@ubuntu:~/IMS_manual_scripts# systemctl start kamailio_scscf
root@ubuntu:~/IMS_manual_scripts# systemctl status kamailio_scscf
● kamailio_scscf.service - LSB: Start the Kamailio SIP proxy server
Loaded: loaded (/etc/init.d/kamailio_scscf; generated)
Active: active (exited) since Mon 2020-06-08 08:27:23 EDT; 58s ago
Docs: man:systemd-sysv-generator(8)
Process: 16543 ExecStart=/etc/init.d/kamailio_scscf start (code=exited, status=0/SUCCESS)
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: ERROR: <core> [db.c:457]: db_check_table_version(): invalid version 0 for table presentity found, expected 5 (check table structure and ta
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: ERROR: presence [presence.c:367]: mod_init(): error during table version check
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: ERROR: <core> [core/sr_module.c:898]: init_mod(): Error while initializing module presence (/usr/local/lib64/kamailio/modules/presence.so)
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: WARNING: <core> [core/mem/q_malloc.c:480]: qm_free(): WARNING: free(0) called from cdp_avp: cdp_avp_mod.c: cdp_avp_destroy(226)
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: INFO: cdp [cdp_mod.c:255]: cdp_exit(): CDiameterPeer child stopping ...
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: INFO: cdp [cdp_mod.c:257]: cdp_exit(): ... CDiameterPeer child stopped
Jun 08 08:27:23 ubuntu /usr/local/sbin/kamailio[16559]: INFO: <core> [core/sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Jun 08 08:27:23 ubuntu kamailio_scscf[16543]: * already running
Jun 08 08:27:23 ubuntu kamailio_scscf[16543]: ...done.
Jun 08 08:27:23 ubuntu systemd[1]: Started LSB: Start the Kamailio SIP proxy server.
Any insight is appreciated.
Thanks,
_Martin
Hello guys,
I've got a kamailio on a docker and kamailio on another docker on different
boxes.
The issue i'm having is that when kamailio tries to enable rtpengine it
tries pinging it.
The ping arrives at the actual container where rtpengine is running, but
for some reason i haven't figured out, rtpengine (or the container) is not
responding to the ping.
I'm writing here in the hopes that someone has already implemented this an
come across this and a solved (for sure)
I'd appreciate some help.
Many thanks!
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337