Hi all,
We were using kamailio 4.4.5 and we enabled only for webrtc.
We were observing two memory crashed in last two weeks.
Oct 10 01:03:03 webrtc /usr/sbin/kamailio[18002]: ERROR: <core>
[tcp_read.c:1321]: tcp_read_req(): ERROR: tcp_read_req: error reading - c:
0x7f21ea8f6198 r: 0x7f21ea8f6218
Oct 10 01:03:04 webrtc /usr/sbin/kamailio[18003]: ERROR: tls
[tls_server.c:190]: tls_complete_init(): tls: ssl bug #1491 workaround: not
enough memory for safe operation: shm=9926856 threshold1=9961472
Oct 10 01:03:04 webrtc /usr/sbin/kamailio[18003]: ERROR: <core>
[tcp_read.c:1321]: tcp_read_req(): ERROR: tcp_read_req: error reading - c:
0x7f21ea8f6198 r: 0x7f21ea8f6218
Oct 10 01:03:05 webrtc /usr/sbin/kamailio[18004]: ERROR: tls
[tls_server.c:190]: tls_complete_init(): tls: ssl bug #1491 workaround: not
enough memory for safe operation: shm=9926856 threshold1=9961472
Oct 10 01:03:05 webrtc /usr/sbin/kamailio[18004]: ERROR: <core>
[tcp_read.c:1321]: tcp_read_req(): ERROR: tcp_read_req: error reading - c:
0x7f21ea8f6198 r: 0x7f21ea8f6218
Is there any known issue for tls module in kamailio_4.4.5 ?. We are using
default 64MB for shared memory and 8MB for private memory. Do we need to
increase this ?.
Regards
Andrew
Hello,
Is pua.publish strictly an MI function, or is it possible nowadays to
call it via the RPC channel, and specifically, using jsonrpc_exec()?
Thanks!
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
FOSDEM is one of the world's premier meetings of free software developers,
with over five thousand people attending each year. FOSDEM 2018
takes place 3-4 February 2018 in Brussels, Belgium. https://fosdem.org
This email contains information about:
- Real-Time Communications dev-room and lounge,
- speaking opportunities,
- volunteering in the dev-room and lounge,
- related events around FOSDEM, including the XMPP summit,
- social events (the legendary FOSDEM Beer Night and Saturday night dinners
provide endless networking opportunities),
- the Planet aggregation sites for RTC blogs
Call for participation - Real Time Communications (RTC)
=======================================================
The Real-Time dev-room and Real-Time lounge is about all things involving
real-time communication, including: XMPP, SIP, WebRTC, telephony,
mobile VoIP, codecs, peer-to-peer, privacy and encryption. The dev-room
is a successor to the previous XMPP and telephony dev-rooms.
We are looking for speakers for the dev-room and volunteers and
participants for the tables in the Real-Time lounge.
The dev-room is only on Sunday, 4th of February 2018. The lounge will
be present for both days.
To discuss the dev-room and lounge, please join the FSFE-sponsored
Free RTC mailing list: https://lists.fsfe.org/mailman/listinfo/free-rtc
To be kept aware of major developments in Free RTC, without being on the
discussion list, please join the Free-RTC Announce list:
http://lists.freertc.org/mailman/listinfo/announce
Speaking opportunities
----------------------
Note: if you used FOSDEM Pentabarf before, please use the same account/username
Real-Time Communications dev-room: deadline 23:59 UTC on 30th of November.
Please use the Pentabarf system to submit a talk proposal for the
dev-room. On the "General" tab, please look for the "Track" option and
choose "Real Time Communications devroom".
https://penta.fosdem.org/submission/FOSDEM18/
Other dev-rooms and lightning talks: some speakers may find their topic is
in the scope of more than one dev-room. It is encouraged to apply to more
than one dev-room and also consider proposing a lightning talk, but please
be kind enough to tell us if you do this by filling out the notes in the form.
You can find the full list of dev-rooms at
https://www.fosdem.org/2018/schedule/tracks/
and apply for a lightning talk at https://fosdem.org/submit
Main track: the deadline for main track presentations is 23:59 UTC
3rd of November. Leading developers in the Real-Time Communications
field are encouraged to consider submitting a presentation to
the main track at https://fosdem.org/submit
First-time speaking?
--------------------
FOSDEM dev-rooms are a welcoming environment for people who have never
given a talk before. Please feel free to contact the dev-room administrators
personally if you would like to ask any questions about it.
Submission guidelines
---------------------
The Pentabarf system will ask for many of the essential details. Please
remember to re-use your account from previous years if you have one.
In the "Submission notes", please tell us about:
- the purpose of your talk
- any other talk applications (dev-rooms, lightning talks, main track)
- availability constraints and special needs
You can use HTML and links in your bio, abstract and description.
If you maintain a blog, please consider providing us with the
URL of a feed with posts tagged for your RTC-related work.
We will be looking for relevance to the conference and dev-room themes,
presentations aimed at developers of free and open source software about
RTC-related topics.
Please feel free to suggest a duration between 20 minutes and 55 minutes
but note that the final decision on talk durations will be made by the
dev-room administrators based on the number of received proposals.
As the two previous dev-rooms have been combined into one, we may decide to
give shorter slots than in previous years so that more speakers can
participate.
Please note FOSDEM aims to record and live-stream all talks.
The CC-BY license is used.
Volunteers needed
=================
To make the dev-room and lounge run successfully, we are looking for
volunteers:
- FOSDEM provides video recording equipment and live streaming,
volunteers are needed to assist in this
- organizing one or more restaurant bookings (dependending upon number of
participants) for the evening of Saturday, 3rd of February
- participation in the Real-Time lounge
- helping attract sponsorship funds for the dev-room to pay for the
Saturday night dinner and any other expenses
- circulating this Call for Participation to other mailing lists
Related events - XMPP and RTC summits
=====================================
The XMPP Standards Foundation (XSF) has traditionally held a summit
in the days before FOSDEM. There is discussion about a similar
summit taking place on the 2nd of February 2018
http://wiki.xmpp.org/web/Summit_22 - please join the mailing
list for details: http://mail.jabber.org/mailman/listinfo/summit
Social events and dinners
=========================
The traditional FOSDEM beer night occurs on Friday, 2nd of February.
On Saturday night, there are usually dinners associated with
each of the dev-rooms. Most restaurants in Brussels are not so
large so these dinners have space constraints and reservations are
essential. Please subscribe to the Free-RTC mailing list for
further details about the Saturday night dinner options and how
you can register for a seat: https://lists.fsfe.org/mailman/listinfo/free-rtc
Spread the word and discuss
===========================
If you know of any mailing lists where this CfP would be relevant, please
forward this email. If this dev-room excites you, please blog or microblog
about it, especially if you are submitting a talk.
If you regularly blog about RTC topics, please send details about your
blog to the planet site administrators:
All projects http://planet.freertc.org planet(a)freertc.org
XMPP http://planet.jabber.org ralphm(a)ik.nu
SIP http://planet.sip5060.net planet(a)sip5060.net
(Español) http://planet.sip5060.net/es/ planet(a)sip5060.net
Please also link to the Planet sites from your own blog or web site as
this helps everybody in the free real-time communications community.
Contact
=======
For any private queries, contact us directly using the address
fosdem-rtc-admin(a)freertc.org and for any other queries please ask on
the Free-RTC mailing list:
https://lists.fsfe.org/mailman/listinfo/free-rtc
The dev-room administration team:
Saúl Ibarra Corretgé <saghul(a)gmail.com>
Iain R. Learmonth <irl(a)debian.org>
Ralph Meijer <ralphm(a)ik.nu>
Daniel-Constantin Mierla <miconda(a)gmail.com>
Daniel Pocock <daniel(a)pocock.pro>
Hello,
I'm trying to replace two old Audiocodes gateways (used to interconnect our Skype for Business infrastructure to the PSTN) with a new Kamailio cluster.
I am having some trouble to get the TLS mutual authentication working with Kamailio. For the moment, I'm just trying to receive the incoming OPTIONS from SfB, but I get all the time certificate verification errors:
ERROR: tls [tls_util.h:42]: tls_err_ret(): TLS accept:error:14089086:SSL routines:ssl3_get_client_certificate:certificate verify failed
ERROR: <core> [tcp_read.c:1330]: tcp_read_req(): ERROR: tcp_read_req: error reading
My tls.cfg is quite simple, with the same config for client and server (and one single listen=tls:<my IP>:5061 in the Kamailio.cfg file)
[server:default]
method = TLSv1+
verify_certificate = yes
require_certificate = yes
private_key = /usr/local/etc/kamailio/tls/key_gw_sfb.pem
certificate = /usr/local/etc/kamailio/tls/cert_gw_sfb.pem # => This certificate's Subject is the DNS alias for the cluster, with all the kamailios in the cluster as Subject Alternative Names
ca_list = /usr/local/etc/kamailio/tls/myca_and_sfbca.pem # => Kamailio and Skype for Business are signed by different CAs, so here I concatenated all intermediate and root CAs
[client:default]
method = TLSv1+
verify_certificate = yes
require_certificate = yes
private_key = /usr/local/etc/kamailio/tls/key_gw_sfb.pem
certificate = /usr/local/etc/kamailio/tls/cert_gw_sfb.pem
ca_list = /usr/local/etc/kamailio/tls/myca_and_sfbca.pem
When I run Kamailio, I can see incoming OPTIONS from Microsoft Exchange Unified Messaging (UM), whose certificate I verify without any issues. UM presents a certificate issued for a single machine, so no Subject Alternative Names (SANs) are involved.
The problem comes with the TLS handshake for the Skype Mediation pool. They have a certificate with Subject = DNS alias and all the physical machines that are behind the alias appear listed as Subject Alternative Names (SANs) in the certificate.
As the only difference between UM and Skype's Mediation is the certificate's Subject, I think I am missing something on my configuration to validate the SANs instead of the subject. Is the TLS module doing any reverse DNS lookup to verify this?
Thanks,
Francisco.
Hi,
My kamailio installation with 5.0.3 was working fine.
I update kamailio source to 5.0.4 and make all; make install
I started receiving error below:
/etc/init.d/kamailio start
[FAIL] Not starting Kamailio SIP Server: invalid configuration file! ...
failed!
failed!
[....] 0(7426) ERROR: <core> [core/sr_module.c:431]: version_control():
module version mismatch for /usr/local/lib64/kamailio/modules/kex.so; core:
kamailio 5.0.3 (x86_64/lin[FAILmodule: kamailio 5.0.4 (x86_64/linux) ...
failed!
failed!
kamailio.cfg is same as earlier.
I removed kamailio sources and modules folder
/usr/local/lib64/kamailio/modules/
I also dropped old kamailio postgres database and created new one after
fresh source install of version 5.0.4 from git.
# git clone https://github.com/kamailio/kamailio kamailio
# cd kamailio
# git checkout -b 5.0 origin/5.0
But this error persists.
Whats the resolution? Is this a bug?
--
regards,
abdul basit
Hi,
Is there a reasonable way, in Kamailio, to determine whether the source
of a given SIP message is equivalent to the IP address to which a given
DNS hostname resolves?
i.e.
if(src_ip == 'fqdn.domain.xyz')
but not src_ip, obviously.
I can't find any core keywords that would seem to fit the bill for a
composite comparison. Any other options?
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Hi all,
I have a question regarding radius accounting. I would like to have a
config where i store local cdr records (and not the ACC records) and
send accounting to radius as well. I have the following config:
# ----- acc params -----
/* General settings */
modparam("acc", "log_level", 0)
modparam("acc", "log_facility", "LOG_LOCAL2")
/* Enable cdr's */
modparam("acc", "cdr_enable", 1)
modparam("acc", "cdr_log_enable", 1)
modparam("acc", "cdr_start_on_confirmed", 0)
modparam("acc", "cdr_facility", "LOG_LOCAL2")
modparam("acc", "cdr_on_failed", 1)
/* what special events should be accounted ? */
modparam("acc", "early_media", 0)
modparam("acc", "report_ack", 0)
modparam("acc", "report_cancels", 0)
modparam("acc", "detect_direction", 1)
/* Accounting triggers (flags) */
modparam("acc", "log_flag", FLT_ACC)
modparam("acc", "log_missed_flag", FLT_ACCMISSED)
modparam("acc", "failed_transaction_flag", FLT_ACCFAILED)
modparam("acc_radius", "radius_flag", FLT_ACC)
modparam("acc_radius", "radius_missed_flag", FLT_ACCMISSED)
modparam("acc_radius", "radius_config",
"/etc/radiusclient-ng/radiusclient.conf")
This works but stores the raw accounting records as well. If i disable
the acc log_flag it stops sending radius accounting records (while the
acc_radius log_flag is still enabled). Is it possible to send only
radius accounting records and disable the local logging of those
records, but leave the cdr logging enabled?
Or is there a option where i can set only the cdr_log_level so
accounting records will only show up when i increase the debug level?
Another option is to use a seperate log facility for accounting and
cdr's, but it would be nice if it is possible to disable the logging of
accounting records and only keep the cdr's.
I'm running kamailio 5.0.3.
Thanks,
Jan