Hello friends.
I didn't find about it in the documentation, but I will need to update my
database version to MySQL 8.0.32 and I'm using Kamailio version 5.4.
I did some quick tests, and I only needed to adjust the user due to the
authentication mode, and with that, apparently I had no problems.
I would like to know if you are using Kamailio with the latest version of
MySQL, if you have had any problems in production, and if it really is safe
to upgrade.
--
Aviso Legal: Este documento pode conter informações confidenciais e/ou
privilegiadas. Se você não for o destinatário ou a pessoa autorizada a
receber este documento, não deve usar, copiar ou divulgar as informações
nele contidas ou tomar qualquer ação baseada nessas informações.
Disclaimer: The information contained in this document may be privileged
and confidential and protected from disclosure. If the reader of this
document is not the intended recipient, or an employee agent responsible
for delivering this document to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited.
Hi Team
To offer some diagnose functionality I created an API that returns the
location list via JSONRPC
But this creates huge variables.
Jun 12 09:43:32 prod-cpereg02 kamailio[2174548]: ERROR: <core> [core/pvapi.c:1491]: pv_printf_mode(): no more space for spec value - printed:0 token:8599 buffer:8192
Jun 12 09:43:32 prod-cpereg02 kamailio[2174548]: ERROR: <core> [core/pvapi.c:1503]: pv_printf_mode(): buffer overflow -- increase the buffer size...
Already hitting the default limit and not sure this is the right way to
go as we will end up with thousands of registrations.
What is the best way to return larger ammounts of data out of kamailio?
Avoid using the JSONRPC and access the database externally?
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
______________________________________________________
Does the dialog module do anything similar to the htable dmq_init_sync
behavior?
The scenario is restarting the offline member of an HA pair after modifying
the script. We're unsure of the state of the replicated dialogs
post-restart. Will the standby become aware of the dialogs prior to the
restart? In other words, do we need to wait until the pre-restart calls end
before we can safely failover?
-Calvin E.
Hi,
I have been kamailio services working for few months and suddenly I
got this error.
ERROR: <core> [core/kemi.c:2923]: sr_kemi_pv_sets(): unable to set pv [$rp]
ERROR: <core> [core/pvapi.c:352]: pv_cache_add(): could not allocate
private memory from pkg pool
ERROR: <core> [core/kemi.c:2914]: sr_kemi_pv_sets(): cannot get pv
spec for [$dlg_var(BW0930526150606231188928742(a)10.10.16.100)]
ERROR: <core> [core/data_lump.c:544]: dup_lump_list_r(): could not
allocate private memory from pkg pool
ERROR: <core> [core/data_lump.c:582]: dup_lump_list_r(): out of mem
ERROR: tm [t_fwd.c:1759]: t_forward_nonack(): failure to add branches
ERROR: <core> [core/msg_translator.c:2501]:
build_res_buf_from_sip_req(): could not allocate private memory from
pkg pool
ERROR: sl [sl_funcs.c:414]: sl_reply_error(): stateless error reply
used: I'm terribly sorry, server error occurred (1/SL)
ERROR: <core> [core/msg_translator.c:2501]:
build_res_buf_from_sip_req(): could not allocate private memory from
pkg pool
ERROR: tm [t_reply.c:475]: _reply_light(): response building failed
WARNING: tm [t_lookup.c:1499]: t_unref(): generation of a delayed
stateful reply failed
Issue was fixed after the restart of kamailio.
--
Muhammad Danish Moosa
" The core of mans' spirit comes from new experiences. "___
Christopher McCandless
Hello guys,
so i'm doing on a failure_route:
$var(xgws_in_reply) = $T_rpl($hdr(X-GWs));
which when it’s present on the reply is cool…
but when there is NO REPLY, then kamailio sets it to “0”… anyway over this?
i only want to know whether it is present on the reply
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
Beginning in 5.6 new {val.*} transformations are documented as being exported by the pv module, however if I try using it Kamailio fails to start. Wondering if maybe it's actually imported by another module and the documentation is wrong or something like that?
This configuration in 5.6.3 on Alpine Linux installed from packages:
#!KAMAILIO
loadmodule "pv"
loadmodule "xlog"
request_route {
xlog("Null val: $(avp(nothing){val.ne})\n");
exit;
}
Fails to start with the following:
0(114) INFO: <core> [main.c:3055]: main(): processes (at least): 29 - shm size: 67108864 - pkg size: 8388608
0(114) ERROR: <core> [core/pvapi.c:1774]: tr_lookup(): unknown transformation: [val] in [{val.ne}]
0(114) ERROR: <core> [core/pvapi.c:1799]: tr_lookup(): error parsing [{val.ne}]
0(114) ERROR: <core> [core/pvapi.c:1106]: pv_parse_spec2(): bad tr in pvar name "avp"
0(114) ERROR: <core> [core/pvapi.c:1131]: pv_parse_spec2(): invalid parsing in [$(avp(nothing){val.ne})] at (4)
0(114) ERROR: xlog [xlog.c:551]: xdbg_fixup_helper(): wrong format[Null val: $(avp(nothing){val.ne})]
0(114) ERROR: <core> [core/route.c:1169]: fix_actions(): fixing failed (code=-1) at cfg:/etc/kamailio/kamailio.cfg:7
Kaufman
Sr. VoIP Engineer - BCM One
+1.612.735.9309
bkaufman(a)bcmone.com<mailto:bkaufman@bcmone.com>
24 hour client support: +1.855.639.6300
[https://www.bcmone.com/files/bcmone-logo.png]<https://www.bcmone.com/> [https://www.bcmone.com/files/twitter-icon-circle.png] <https://www.facebook.com/bcmonenyc/> [https://www.bcmone.com/files/twitter-icon-circle.png] <https://twitter.com/bcm_one/> [https://www.bcmone.com/files/linkedin-icon-circle.png] <https://www.linkedin.com/company/business-communications-management/>
NOTE: This e-mail and any attachments are from BCM One, Inc. and are intended
solely for the use and review of the individual(s) to whom it is addressed.
If you believe you received this e-mail in error, please notify the sender
immediately, delete the e-mail (and any attachments) from your computer and do
not copy or disclose it to anyone else.
Hello,
https://lists.kamailio.org/pipermail/sr-users/2020-October/110792.html
I read this thread very carefully and I think I managed to implement all
the steps described by Daniel. Thank you so much for the detailed
description.
But it looks like I'm stuck on the last step. I can't delete records from
htable when an incoming call cannot reach the registered device (e.g., no
more internet access, power off at the device). I try to do this from
failure route but looks like i kamailio has not access to htable from it.
failure_route[INTERNAL_TO_EXTERNAL_FAILURE] {
if (t_check_status("408")) {
xlog("L_WARN", "$ci|log| hello \n");
xlog("L_WARN", "$ci|log| mid reg token -
$sht(mid_reg_token=>$fU::$si::$sp) \n");
}
}
I do not see xlog message with mid reg token but i see 'hello'.
Yes, htable record exists in case i check using:
kamcmd htable.dump mid_reg_token
Also I need a way to remove registration at the registrar (Freeswitch in my
case). This means I need to send api request from kamailio or just run some
script that will do this. What is the best way ? module exec ?
Please advice,
Thanks