Hello,
I have some discount code for IIT RTC Conference & Expo, taking place in
Chicago, IL, USA, during October 6-8, 2015. It gives an 100USD discount,
which can save a bit or make some of the available tickets completely
free (like Expo Plus admission). Should someone be interested, contact
me directly via email.
More details about the event can be found at:
* http://www.rtc-conference.com/
I will be at the event during Oct 7 and 8, presenting on the morning of
Oct 8, if anyone here coming to the event or happening to be in Chicago
area and want to meet and chat about Kamailio, drop me an email as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Hello,
4.3.1 works well for us apart from the issue fixed by 93b297e16134b0e74cf83e3604da01355a52e700. Since 93b297e16134b0e74cf83e3604da01355a52e700 is included in 4.3.2 I tried upgrading one of our servers and now Kamailio won't even start as it apparently finds the way assign_hf_value, hf_value_exists and exclude_hf_value are used in our configuration to be incorrect. I enabled debug logging (WITH_DEBUG) and found the following:
> 0(1894) DEBUG: <core> [route.c:872]: fix_actions(): fixing assign_hf_value()
> 0(1894) ERROR: textopsx [textopsx.c:596]: fixup_hname_param(): ERROR: textops: cannot parse header near 'Privacy'
> 0(1894) ERROR: <core> [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:642
> 0(1894) ERROR: <core> [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:644
> 0(1894) ERROR: <core> [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:661
> ERROR: error -6 while trying to fix configuration
Line 642 looks like this:
assign_hf_value("Privacy", "id")
Commenting it out leads to the following output:
> 0(2217) DEBUG: <core> [route.c:872]: fix_actions(): fixing hf_value_exists()
> 0(2217) ERROR: textopsx [textopsx.c:596]: fixup_hname_param(): ERROR: textops: cannot parse header near 'Privacy'
> 0(2217) ERROR: <core> [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:1016
> 0(2217) ERROR: <core> [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:1019
> 0(2217) ERROR: <core> [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:1023
> ERROR: error -6 while trying to fix configuration
Line 1016 looks like this:
if (hf_value_exists("Privacy", "none")) {
Commenting it out leads to the following output:
> 0(2292) DEBUG: <core> [route.c:872]: fix_actions(): fixing exclude_hf_value()
> 0(2292) ERROR: textopsx [textopsx.c:596]: fixup_hname_param(): ERROR: textops: cannot parse header near 'Accept'
> 0(2292) ERROR: <core> [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:1020
> 0(2292) ERROR: <core> [route.c:1154]: fix_actions(): fixing failed (code=-6) at cfg:/etc/kamailio/kamailio.cfg:1023
> ERROR: error -6 while trying to fix configuration
Lines 1020 and 1021 look like this
exclude_hf_value("Accept", "application/media_control+xml");
exclude_hf_value("Accept", "application/x-broadworks-call-center+xml");
Commenting them out makes Kamailio start without complaining.
Btw, "kamailio -c" thinks the configuration file is fine.
So, is our use of assign_hf_value, hf_value_exists and exclude_hf_value incorrect (looking at the textopsx documentation I can't see how) or was a bug introduced with 4.3.2 which causes this behaviour?
Regards,
Björn Bylander
Hi,
I want to convert a Hex number string into a Dec number string, e.g. Hex
number "123" into Dec number "291". What is the best way? I didn't find any
transformation for this.
Thank you!
Yufei
Hi,
Over last weekend i upgraded one of my test servers from Kamailio
v4.3.1-4d1b65 to latest stable release v4.3.2-07690f and now kamailio goes
crazy even with single call (I am using same db and configuration of
course).
As soon as call establishes system load average (as seen in top command)
starts increasing and soon it increases beyond 6.0 and system becomes
completely unresponsive, sip messages are no longer being processed by
kamailio service. Even after call hangup, system remains under high load.
The "htop" indicates that IO Wait time has increased substantially.
Any idea what is causing this? For now i have reverted by to v4.3.1-4d1b65
but can go to v4.3.2-07690f again if you need further info or testing.
Thank you.
Hello,
I have two UACs registered to kamailio v4.0.4 with the same URI. (bob(a)example.com)
Then a third registered UAC (alice(a)example.com) sends an invite to bob(a)example.com.
Both bob UACs accept the call and respond with a 200 Ok.
The statefull proxy now takes the first one and cancels the second one.
In my case I need both responses to be send back to alice through the proxy.
I want the Invite to be forked in parallel (works) and both calls to get connected concurrently (does not work).
Is there such a feature in the statefull proxy?
Can this be done using a stateless proxy?
I stumbled on some proposal about a "New Dialog Module Design" [1].
This is excetly what I'm looking for.
Is this still just a proposal?
Thanks!
Lukas
PS: I also posted this question in stackoverflow [2]
[1] http://www.kamailio.org/dokuwiki/doku.php/modules-new-design:dialog-module-…
[2] http://stackoverflow.com/questions/32519551/kamailio-concurrent-calls-after…
Hi,
My SIP client only uses the 'ha1' password column from the database to
authenticate users. It does not require the 'password' column. However, I
am not able to register without having the plain text password present in
the 'password' column in the database. I need to change this behaviour so
that user registration will occur using only the ha1 encoded password
column. How can I make this change? I tried commenting out and changing
the 'password_column' attribute in the config but could not get it to work.
Hello,
(cross-posting as it is relevant to user community as well).
I just pushed a bunch of patches to master branch that will allow
selecting the memory manger at kamailio startup, no longer needed to
re-compile sources. There are two new command line parameters:
* -x name: select the memory manager for shm
* -X name: select the memory manager for pkg
* if -x is provided but -X is not provided, then pkg uses same
memory manager as shm
* name can be:
* fm - fast malloc (f_malloc)
* qm - quick malloc (q_malloc)
* default memory manager is fm (what was default so far)
Both f_malloc and q_malloc are now compiled, selecting one or the other
being possible. Other managers expected to be added in the list soon,
especially TLSF, added not that long ago by Camille Oudot. Maybe
reviving Doug Lea malloc (existing in dl_malloc.c) worth a try now that
can be easily used.
The debugging mode for each memory manager is controlled by DB_SR_MEMORY
define via Makefile.defs -- right now it is enabled. All enabled memory
mangers must be compiled either with or without DB_SR_MEMORY (it won't
work to have one memory manger with DB_SR_MEMORY and another one without).
Using system malloc for private (pkg) memory is possible by removing the
define of PKG_MALLOC from Makefile.defs (same as it was before). This is
a mode suitable for troubleshooting using external tools such as
valgrind, because it does inline replacement of pkg_malloc() with
malloc(), so those tools can track the place of allocation. I plan to
add a system malloc custom manager, to allow selecting it with -X
(system malloc won't work for shm management, because it is only for
private memory).
There is no performance impact at runtime, it is only the startup
procedure that replaces the pointers to memory management functions.
Hopefully with the new mechanism will be able to track easier memory
issues -- e.g., qm malloc is better for troubleshooting, using it no
longer requires recompilation, just starting kamailio with -x qm.
Feedback, especially testing, will be very appreciated!
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat
Hello,
Kamailio SIP Server v4.3.2 stable release is out.
This is a maintenance release of the latest stable branch, 4.3, that
includes fixes since release of v4.3.1. There is no change to database
schema or configuration language structure that you have to do on
previous installations of v4.3.x. Deployments running previous v4.x.x
versions are strongly recommended to be upgraded to v4.3.2.
For more details about version 4.3.2 (including links and guidelines to
download the tarball or from GIT repository), visit:
* http://www.kamailio.org/w/2015/09/kamailio-v4-3-2-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda