Hello,
based on the discussions during the last online devel meeting, the plan
is to release the next major version (Kamailio v5.4.0) around the mid of
this summer.
Therefore I propose to freeze the development on Thursday, June 18,
2020. Then we will have about 4-6 weeks of testing before the release is
out. Master will be unfrozen when the branch 5.4 is created (usually
that was done after 3-4 weeks in the testing phase).
If you are planning to introduce new features in the 5.4 release series,
be sure you push them to master branch or create a pull request till the
freezing date.
If anyone else wants a different time line for 5.4.0 release, let us
know and we can discuss to match the best for everyone.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla
Hello guys,
if i do something like:
$(xavp(my_var)) = "1";
$(xavp(my_var)) = "2";
$(xavp(my_var)) = "3";
it is store like:
$(xavp(my_var)) = "1"; -> index 2
$(xavp(my_var)) = "2"; -> index 1
$(xavp(my_var)) = "3"; -> index 0
and later i need to use and remove from the stack, like this:
use and remove: $(xavp(my_var)) --> would remove index 0
Then the stack would remain like:
$(xavp(my_var)) = "1"; -> index 1
$(xavp(my_var)) = "2"; -> index 0
Simply popping the index 0 and reindex the remaining...
is this possible?
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
Hey All,
I'm attempting to use dispatcher to send probe messages using TLS for two
different domains. I'm providing the socket attribute, which maps to a
certificate in /etc/kamailio/tls.cfg. But, it seems to always select the
default client cert, which is not the certificate I want to use.
My attrs column in dispatcher looks like this:
socket=tls:142.93.159.231:5061;ping_from=sip:mack.dopensource.comsocket=tls:142.93.159.231:5062;ping_from=sip:levin.dopensource.com
Is there some way to force dispatcher to do TLS cert matching based on the
host:ip?
Thanks
-Mack
Hi all,
I am trying to remove a line from the SDP body of INVITE on kamailio 4.4 via SDPOPS module but it does not work even though there is no any error message.
This is how I configure kamailio.cfg, it matches with if condition and executes "sdp_remove_line_by_prefix" function, but when I check sended INVITE, I still see the line that beginning with "a=rtpmap". I thought, in the RELAY function, the sdp body might not prepared yet? Is there any suggestion to remove a line from the SDP body?
route[RELAY] {
...
...
if(is_method("INVITE")) {
if( $ct =~ "0553847<tel:+10553847>aaaa"){
xlog("L_WARN", "$ct check_this \n");
sdp_remove_line_by_prefix("a=rtpmap");
}
}
}
/path/kamailio[10332]: exec: *** cfgtrace:request_route=[RELAY] c=[/path/kamailio.cfg] l=614 a=16 n=if
/path/kamailio[10332]: exec: *** cfgtrace:request_route=[RELAY] c=[/path/kamailio.cfg] l=611 a=26 n=xlog
/path/kamailio[10332]: WARNING: <script>: <sip:0553847<tel:+10553847>aaaa@x.x.x.x:5060> check_this
/path/kamailio[10332]: exec: *** cfgtrace:request_route=[RELAY] c=[/path/kamailio.cfg] l=612 a=25 n=sdp_remove_line_by_prefix
/path/kamailio[10332]: exec: *** cfgtrace:request_route=[RELAY] c=[/path/kamailio.cfg] l=622 a=16 n=if
Regards
Egemen U.
Get Outlook for Android<https://aka.ms/ghei36>
Hello,
As per documentation after lookup() function I have to get the number of
branches from the main branch by using $branch(count) variable, but for
some reason, I'm getting always only <null> value, can someone help me to
understand what I'm doing wrong?
lookup();
xlog("Branch Count: $branch(count)\n");
Kamailio Version: 5.2.7
Thanks.
Hi ,
Could anyone kindly tell me if there is docker images for kamailio IMS.
I can able to see docker images for only Kamailio as a SIP server.
Please help.
Thanks,
Pavithra
Found my answer, use correct version of doc:
https://kamailio.org/docs/modules/5.2.x/modules/ims_usrloc_pcscf.html#idm10…
From: sr-users <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Martin W Woscek
Sent: Wednesday, June 17, 2020 8:47 AM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: [SR-Users] kamailio 5.2.2 enabling hashing_type
Hello,
I'm revisiting some initial issues I had with P-CSCF. I could not set the hashing type in my PCSCF (kamalio 5.2.2) so I simply commented it out and moved on.
But now, I may need it as the P-CSCF is not handling INVITES coming from I-CSCF that originated from external SIP server, where the endpoint (UE) is registered to the IMS but the P-CSCF sends the INVITE back to the S rather that the registered UE and fails.
kamailio.cfg:
modparam("ims_usrloc_pcscf", "hashing_type", 1)
So with that, when I set the hashing_type to 1,1 or 2 I get the following starting the pcscf:
Starting the P-CSCF:
Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]: * Not starting Kamailio IMS P-CSCF: invalid configuration file!
Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]: *
Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]: * 0(5766) ERROR: <core> [core/modparam.c:140]: set_mod_param_regex(): parameter <hashing_type> of type <2> not found in module <ims_usrloc_pcscf>
Jun 17 08:25:30 ubuntu kamailio_pcscf[5753]: 0(5766) CRITICAL: <core> [core/cfg.y:3510]: yyerror_at(): parse error in config file /etc/kamailio/pcscf/kamailio.cfg, line 364, column 47: Can't set module parameter
Am I missing some module that I did not include at compile time? According to the docs, it has no additional dependencies other than the ims_usrloc_pcscf.so
https://kamailio.org/docs/modules/5.0.x/modules/ims_usrloc_pcscf.html#idp35…
Any help is appreciated.
Thanks,
_Martin
Hi,
I am trying to connect EPC with IMS.
EPC is separate installation of comac-in-a-box . IMS is kamailio based. Do
i have SGi interface configurations in kamailio so that i can establish
communication between EPC and IMS.
One more clarification. I have seen PCRF communication can be done using
CDP .Is there any way to build PCRF as part of kamailio.
Kindly help ..
Thanks,
Pavithra
Hi Henning,
The following are the mysql related logging I see on initial spinup of the Kamailio 5.2.2 IMS VM:
Jun 16 06:15:28 ubuntu systemd[1]: Starting MySQL Community Server...
Jun 16 06:15:33 ubuntu systemd[1]: Started MySQL Community Server.
Jun 16 06:16:09 ubuntu /usr/local/sbin/kamailio[1617]: ERROR: db_mysql [km_dbase.c:127]: db_mysql_submit_query(): driver error on query: Table 'scscf.impu_subscriber' doesn't exist (1146)
Jun 16 06:16:09 ubuntu kernel: traps: kamailio[1617] general protection fault ip:7f3dfa2874f0 sp:7ffe387dc8c0 error:0 in libmysqlclient.so.20.3.16[7f3dfa261000+33c000]
Our mysql version:
mysql --version
mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using EditLine wrapper
Thanks,
_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