Greetings,
Is there a way to choose the encoding algorithm that builds the vsf and vst
parameters in the Record-Route?
What is the default method that Kamailio uses for this ?
Thanks in advance,
Duarte Rocha
Hi everyone,
i am trying to start kamailio 5.1.4 after the migration from Kamailio 3.0.3
but getting newly the following error:
ERROR: <core> [db.c:450]: db_check_table_version(): invalid version 8 for
table aliases found, expected 9 (check table structure and table "version")
Allegedlly, this error is because of a wrong version of "aliases" table. I
followed the Upgrade process starting from 3.0.3 till 5.1.x and I altered
the structure of my aliase table accordinglly.
The last new version of aliases is 8 as it is described at the upgrade from
4.2.x to 4.3.0
Even though, the error here says that the newest version is 9:
May someone help me to find out if the aliases table's structure was
renewed in between ?? Is there any modification in the data types?
Thanks in advance
Abdulaziz
Greetings,
i am at the final stages of emigrating from kamailio 3.0.3 to 5.1.0
including our own module. Unluckily, after writing the command " kamctl
start", the following error is popping up:
* PID file /var/run/kamailio.pid does not exist -- Kamailio start failed*
Thus, I used the command " kamailio -M 8 -E -e -dd " to get more debugging
Info and the output is detailing the following:
0(10334) ERROR: db_mysql [km_my_con.c:129]: db_mysql_new_connection():
driver error: Can't connect to MySQL server on '192.168.1.207' (4)
0(10334) ERROR: <core> [db.c:318]: db_do_init2(): could not add connection
to the pool 0(10334) ERROR: ABDUL_functions [ABDUL_chk.c:1069]: init_db():
failed to connect database URL=mysql://ABDUL:ABDUL@192.168.1.207/ABDUL
0(10334) ERROR: ABDUL_functions [ABDUL_functions_mod.c:296]: mod_init():
Module ABDUL_functions not correktly initialized, pid[10334]
0(10334) ERROR: <core> [core/sr_module.c:991]: init_mod(): Error while
initializing module ABDUL_functions
(//lib64/kamailio/modules/ABDUL_functions.so)
Seemingly the error relates to old databases url ( "URL=mysql://
ABDUL:ABDUL@192.168.1.207/ABDUL" ) inside an old Kamailio.cfg file from my
3.0.3 package which I put under another different directory. This old
Kamailio.cfg file #includes my own module, so he is exporting this url.
Consequently, my module is trying to connect again to this databases.
I do not know why both kamailio.cfg (new: /etc/kamailio/kamailio.cfg and
old one out of /etc/kamailio) are both seen for kamctl or (/sbin/kamailio).
I know that my new url inside the new /etc/kamailio/kamailio.cfg is read
and connected but again not sure why my hidden old kamailio.cfg is still
being read as well.
the attached shows my init file for "SUSE Linux Enterprise Server 11
(x86_64)" and my used kamailio *default *file under /etc/default.
Thanks in advance and best regards
Abdulaziz
Hello Team,
I want to install Kamailio SIP server on centOS server...do we need to
download kamailio ISO file and install on server..pls provide the
installation procedure/guidelines.
Regards
Pravin
Hello,
I'm not sure to understand in which situation "pr" value is used. For
example: if I have two identical rules except pr value: 1 with 1 and the
second with 2, then the rule with pr 2 is never used.
Someone can help me to understand? Thank you.
The finality I'd like to accomplish is having some kind of load balacing
between two values into "repl_exp" with the same inputs conditions.
Thank you.
Regards,
Igor.
Hi All,
I am using kamailio and freeswitch in my setup. While all users are
registered on Kamailio, calls are routed to Freeswitch back to kamailio and
then upstream providers.
I can make user to user calls but in cases of transfer I am stuck. I am
using a Polycom IP phone to test this scenario. While I initiate a attended
transfer and click on transfer all the legs hangup.
When I register all users on Freeswitch this works well. I am missing
something on Kamailio side.
Please point me in the right direction.
Thanking You,
Sunil More
Ph : 9503338275
Hi,
In the documentation of "tcp_wq_max" option it is written that :
> It has no effect if *tcp_write_buf *is not enabled.
>
> The interesting fact is that, there is not description of what it is and how one can enable it. There is even a question about it in the mailing lists:
https://lists.kamailio.org//pipermail/sr-dev/2011-June/011521.html
It seems that it is an inaccuracy in the documentation. If there is such an
option how to enable it? Can anyone tell?
Regards
HI SR-Users
Scenario: clients registered by TCP/TLS dropping off the network,
kamailio stil thinks the client is registered and relays the INTIVE.
The error occurs at the TCP layer so no failure route is called.
ERROR: <core> [core/tcp_main.c:2690]: tcpconn_1st_send(): connect
127.0.0.1:48338 failed (RST) Connection refused
ERROR: <core> [core/tcp_main.c:2700]: tcpconn_1st_send():
127.0.0.1:48338: connect & send for 0x7f5494e906c0 failed: Connection
refused (111)
ERROR: tm [../../core/forward.h:251]: msg_send_buffer(): tcp_send failed
WARNING: tm [t_fwd.c:1567]: t_send_branch(): sending request on branch 0 failed
ERROR: sl [sl_funcs.c:362]: sl_reply_error(): stateless error reply
used: I'm terribly sorry, server error occurred (1/SL)
I want to send the caller instead a graceful failure route type
message as if the callee is not registered (404/486/603/408 type) but
don't understand how to hook a routing block for TCP errors.
Anthony
Hello everyone!
I have system with Kamailio v5.1 which needs to send OPTIONS packets to all
active clients. Here is full Nathelper module configuration:
*modparam("nathelper", "received_avp", "$avp(s:received)")*
*modparam("nathelper", "natping_interval", 30)*
*modparam("nathelper", "ping_nated_only", 0)*
*modparam("nathelper", "sipping_bflag", FLB_SIPPING)*
*modparam("nathelper", "sipping_from", "sip:pinger@kamailio.org
<sip%3Apinger(a)kamailio.org>")*
It works fine if client is connected over UDP. But as soon as I will switch
to TCP or register with client that uses WS, Kamailio stops generating
OPTIONS.
Does anyone know if it is correct behavior or something is wrong?
Thanks a lot!