Hi members,
I run into a problemm with htable.
For user push notifications I need a loop.
So I did the following for a first test:
modparam("htable", "htable", "user=>size=3;autoexpire=5")
...
event_route[htable:mod-init] {
xinfo("htable init");
$sht(user=>testkey) = "testvalue";
}
event_route[htable:expired:user] {
xinfo("Record expired $shtrecord(key) => $shtrecord(value)");
$sht(user=>$shtrecord(key)) = $shtrecord(value);
}
I see the htable init, and I reach Record expired, but only once.
The 'new' entry
$sht(user=>$shtrecord(key)) = $shtrecord(value);
seams not to be re-added, because I never reach the expired event again.
I expected to see cyclic expired events.
Also strange:
expire is set to 5 seconds I get:
Nov 21 08:34:50 xxx /usr/sbin/kamailio[254662]: INFO: <script>: htable init
...
Nov 21 08:35:10 xxx /usr/sbin/kamailio[254671]: INFO: <script>: Record
expired testkey => testvalue
If I'm right, this are 20 seconds and not 5.
Any ideas what's wrong?
Best regards
Hi,
I have P-CSCF, I-CSCF, and S-CSCF instances of Kamailio running with
rtpengine. I can have a VoLTE call over a 4G network (using Open5GS) using
Kamailio with two phones on the same IMS network, no problem. I have
leveraged the docker_open5gs project to do this.
For Kamailio, I have some IMS-related questions for when the Called-Party
is not within the IMS network as I'm interested in what may be required to
interconnect two Kamailio IMS networks.
- Does Kamailio (or anyone you may know) have example configuration files
for instances of a BGCF, IBCF, or TrGW?
- If the S-CSCF determines that the Called-Party is not within the IMS
network, is there an example configuration file of where the S-CSCF can
forward the SIP INVITE to a BGCF / contact the IBCF directly?
- If "no" to the above, are the BGCF, IBCF, and TrGW instances necessary to
facilitate a call between two networks? Can Kamailio emulate multiple
networks and instead have the S-CSCF of the originating network simply send
the SIP request to the I-CSCF of the destination network (selected via DNS
lookup) and use the single rtpengine instance between the two networks
rather than using a BGCF, IBCF, and TrGW?
Thank you very much for your help,
Derek
Hi,
for the first time we tried to build all routing in kemi with
app_python3, and it works well.
But app_python.reload only reloads the file in:
modparam("app_python3", "load", "/etc/kamailio/kemi/kamailio.py")
And that is a little problem for us, since we are using multiple files
to use modules etc. At the moment we have 8 files besides kamailio.py.
Is there a way to reload all of them, without restarting kamailio?
/niklas
Hello,
as some of you may know from previous announcements, a few of us meet
tomorrow and the day after in Dusseldorf at sipgate.de for a Kamailio
development event. Should anyone want to join remotely, we can make
available a video conference bridge.
Join if you want to work together to add new features to Kamailio or
help improving existing tools and documentation. It is not an event for
discussing about Kamailio or how to use it.
Reply to this email (can be only to me this time) if you want to join
remotely and eventually provide the time you think you would be around
and, if you have something in mind, what you would like to work on. You
can also join if you don't have already something to work on, you can
become part of another team and help them.
You will receive privately the details of how to join the video
conference room.
Tomorrow we plan to to start the day around 10:30 Berlin time zone (UTC
+ 1), probably wrapping up around 17:00. The schedule for Thursday will
be given tomorrow once it is decided.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Hello NG,
we are using Kamailio 5.4.2 with the USRLOC module configured with db_mode 2 (Write-Back scheme). The database is Postgres 11. Sometimes some records are not written to the database, however I can lookup them by "kamcmd ul.lookup ..." . There are no database errors (like constraint violations or value too large errors) to see in the postgres.log. Not even when I execute "kamcmd ul.flush" manually. There are also no related error messages to see in the Kamailio.log during "kamcmd ul.flush".
Has anyone else seen that issue or is this might already fixed in a newer version?
Thanks and regards
Markus
Hi
I am wondering, if a profile with value can on the same time be used as
profile without value of this usages exclude each other.
Like doing:
set_dlg_profile("caller");
set_dlg_profile("caller","$si");
get_profile_size("caller","$var(c_total)");
get_profile_size("caller","$si","$var(c_ip)");
xlog("L_INFO", "$cfg(route): Total Caller: $var(c_total)\n");
xlog("L_INFO", "$cfg(route): Caller from $si: $var(c_ip)\n");
I fear this is not possible, as I keep getting:
w_set_dlg_profile_helper(): invalid value parameter
and
w_get_profile_size_helper(): invalid value parameter
right?
Mit freundlichen Grüssen
-Benoît Panizzon-
--
I m p r o W a r e A G - Leiter Commerce Kunden
______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00
CH-4133 Pratteln Fax +41 61 826 93 01
Schweiz Web http://www.imp.ch
______________________________________________________
Hello all,
Question:
Say there’s a client connecting via websocket, makes a call and then
unregisters. But kamailio sends a 401 expecting the client to authenticate.
If the client doesn’t, and simply stays there, at what point is the socket
closed? Is it the OS timeout?
Thanks!
David
--
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337