Hello
i'm running tls conf over PCSCF, register and audio calls works fine, but
when it comes to video calls it's dropped when it comes to video
second-invite
it worked when the call is initiated from the beginning as video call
should i enable tls also on icscf and scscf ?
or the video is not supported over tls ?
Hi All,
Quick question with regards the lua_run function in app_lua module.
The documentation for v5.0.x states:
"Execute the Lua function 'func' giving params as parameters. There can
be up to 3 string parameters. The function must exist in the script
loaded at startup via parameter 'load'. Parameters can be strings with
pseudo-variables that are evaluated at runtime."
Does this mean that lua_run can only have 3 parameters, or, does it mean
that the function within the lua script can have up to 3 parameters?
I have a function within lua that currently needs 3 parameters, so I'm
hoping I can do the following:
lua_run("some_function", "param_1", "param_2", "param_3")
However, I'm not sure, from the documentation, if I can do this.
On a side note, but related, can I pass defined variables/constants as
parameters to lua_run too, for example, something like:
#!define VAR_1 1234
#!define VAR_2 hello
lua_run("some_function", "$rd", VAR_1, VAR_2)
Some clarification would be greatly appreciated.
Thanks for reading.
Hello,
I have Kamailio 5.1.4 (from deb.kamailio.org) running on a Debian 9
AMD64 VM with 1 CPU and 1G of RAM on ESXi. For KEMI I am using the
liblua5.1-0:amd64 package, version 5.1.5-8.1+b2.
The configuration is rather simple - dispatcher module reading the
gateways from a file and forwarding everything to them based on a custom
variable. There are 2 gateways in the file being pinged with OPTIONS
packets every 10 seconds. Only a single SIP user is connecting to the
machine (besides the occasional scanner). I can post the config if
necessary, but I don't think that is the issue (see below).
The crash has happened twice already - once on 2018-08-07 19:45 and
2018-08-08 14:33 EEST. You can find an excerpt from the Kamailio debug
log at https://paste.fedoraproject.org/paste/bvyUMj3s5g2CcBN3JSBt5A/raw.
As you can see, it crashes when trying to run the Lua route on an
incoming packet. I am assuming the problem is this:
Aug 8 14:33:14 lb-dev1 kamailio[13209]: *** Error in
`/usr/sbin/kamailio': realloc(): invalid next size: 0x00005573dbff1ef0 ***
However, I could not find any (direct) `realloc()` calls in the source
for app_lua, so maybe this is an issue somehwere in liblua...
Thoughts?
Ivaylo
I am currently using multiple instances of Kamailio with a common database
and using the usrloc module with db_mode=4 and server_id to filter the
contacts that get loaded at startup on each server.
The problem I seem to have is that using the RPC call ul.add there I cannot
see any parameter to send to specify the server_id. The server_id that the
contact is given is 0. If I manually go into the db and modify the
server_id everything works as expected. I think I must be missing something
somehwere as I'mn sure you shouldn't need to do this.
Can anyone help please.
Thanks
Daz
Hello
i'm wondering if i can generate tls certificate for kamailio
using letsencrypt with test domain name, in testing enviroment
following this post :
https://www.fredposner.com/1836/kamailio-tls-and-letsencrypt/
got an error by letsecrypt because of checking of the domain name authority
and no certificate was generated.
Regards
Dear list,
on my kamailio 4.4.7 i use interactions with MYSQL.
For example .. i use it for some black list control and other like this..
sql_query("cb", "select id from blacklist where cli='$var(g2)'
and (ippeer = '$si' or ippeer = 'ALL')", "rabl");
if($dbr(rabl=>rows)>0){
sql_result_free("rabl");
sl_send_reply("403","Forbidden blacklist");
exit;
}
sql_result_free("rabl");
I was wonder what was the best method to prevent the query going on if
mysql don't respond for high load or other situation..
If Mysql is not able to reply to the query tight now the call continue
over the configuration... what is the best way to prevent this and for
examples drop it with a standard SIP 503 error.
I have search on docs.. but i haven't found any valid way.
Thanks
Laura
If I manually pass a string value to rewriteuri it works, but if I pass the same string from a database value it doesn't:
if ($dbr(ra=>[0,4]) == "callfwd_noanswer") { $
does not work --> rewriteuri("$dbr(ra=>[0,6])");
works --> rewriteuri("sip:someone@somewhere");
append_branch();
route(0);
Eric Hosch
Chief Engineer
KLBK-TV | KAMC-TV
7403 S. University Ave.
Lubbock, TX 79423
O * 806.748.2208<tel:806.748.2208>
F * 806.748.2269<tel:806.748.2269>
ehosch(a)klbk13.tv<mailto:ehosch@klbk13.tv>
www.everythinglubbock.com<http://www.everythinglubbock.com/>
[Nexstar Media Group, Inc. | everythinglubbock.com | KLBK-TV | KAMC-TV]
Nexstar Media Group, Inc. provides services for KAMC-TV and Mission Broadcasting, Inc. through an Outsourcing Agreement. KLBK and KAMC do not discriminate in advertising contracts on the basis of race, ethnicity or gender and further requires that in the performance of all KLBK/KAMC advertising agreements. KLBK/KAMC requires that each party not discriminate on the basis of race or ethnicity. This e-mail and any files transmitted with it are the property of NexstarMedia Group, Inc., are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed and/or as indicated in the applicable file. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited.
hello dears
when i'm using kamailio 5.2 as IMS i'm facing the following NAT issue :
* when p-cscf handle a call from user1 to user2 that pre-registered on private address "192.X.X.X" (on another LAN) the user can't receive the invite message .
in another word:
proxy ip : 10.192.X.X
user1 ip : 10.X.X.X
user2 ip : 192.X.X.X
the call scenario : user1 ---invite----> user2 (not arrived)
* when p-cscf handle a call from user2 that pre-registered on private IP "192.X.X.X" (on another LAN) to user1 the user receive the invite message .
the call scenario : user2 ---invite----> user1 (arrived)
* when both of the user on different LANs the message 200 OK doesn't arrive to proxy :\
so based on that does any one has an experiment with NAT handling & nathelper module and how to configure it on P-cscf .
thanks in advance
Hello,
We're here to ask you what's the ratio between cpu cores/ghz, ram and how many contemporary calls kamailio can manage before it maxes out its capabilities and crash.
Kind Regards
Renato Gallo
System Engineer
sede legale e operativa: Via San brunone, 13 - 20156 - Milano (MI)
Tel. +39 02 - 87049490
Fax +39 02 - 48677349
Mobile. +39 342 - 6350524
Wi | FreeNumbers: https://freenumbers.way-interactive.com
Wi | SMS: https://sms.way-interactive.com
Wi | Voip: https://voip.way-interactive.com
Asterweb: http://www.asterweb.org
Le informazioni contenute in questo messaggio e negli eventuali allegati sono riservate e per uso esclusivo del destinatario.
Persone diverse dallo stesso non possono copiare o distribuire il messaggio a terzi.
Chiunque riceva questo messaggio per errore è pregato di distruggerlo e di informare immediatamente [ mailto:info@sigmaware.it | info@ ] asterweb.org