Hello everyone,
I'd like to know if anyone here installed Kamailio in a docker image. I've
found several kamailio images on docker hub but they don't have enough
explanation on their description. So I couldn't use them. Can someone help
me to build kamailio server or share an image that I can use?
I tried tutorials here <https://sonnguyen.ws/install-kamailio-debianubuntu/>
and here
<https://kamailio.org/docs/tutorials/5.0.x/kamailio-install-guide-git/> but
something wrong probably and I don't see any kamdbctl file under any
installation. Then it stucks and I can't proceed in configuration.
Sincerely,
*Fatih Yıldız*
*Delivery Engineer,*
*Phone *: +90 212 285 7575 (ext 117)
*Skype* : fatihyldz1
*Team* : dt1(a)defne.com.tr
*HelpDesk*: +90 555 996 96 12
This communication is confidential. We only send and receive email on the
basis of the terms set out at defne email disclaimer
<http://www.defne.com.tr/#%21email-disclaimer/cmjv>
Think before you speak. Read before you think. Think before you print.
<http://www.defne.com.tr/#!email-disclaimer/cmjv>
Hello All,
I am looking for a Diagram or such that shows the flow of SIP traffic for a WebRTC Client1 => WebRTC Client2 call using Kamailio in front of Asterisk.
I am unable to get Asterisk to find the correct registered clients, which are registered in Kamailio and am hoping verifying the flow will help give me a clue as to what is going on. E.g. Using chrome and tryit-pjsip I have Client1, and Client2 registered in Kamailio. However when I try to connect Client1 to Client2 (make a call), Asterisk has no clue where Client1 and Cleint2 are registered to.
Thank you!
Hi All,
I'd lie to ask the difference between these two modules and get
opinion about their use cases.
I saw several configuration examples of Kamailio that use RTPProxy. Is
it necessary to use RTPProxy?
(scenario: public network ---> behind the Kamailio I have FreeSwitch).
Clients are behind of NAT & firewall
Any thoughts, tips, tricks would be much appreciated.
Regards,
Angel
Thanks for your answer.
It doesn't go away when i delete those lines. In fact, i'm using them only
to avoid this kind of errors.
If i comment out msg_apply_changes() the changes to $rU don't get
persistent and i can't find another method to change it.
Hey everyone.
I'm doing some Calling Number and Called Number normalization at the
beggining and end of the Kamailio. At the end, i'm doing it in the Dispatch
Route.
In order to change the numbers, i use uac_replace_to() and
uac_replace_from(). However, i don't have a function like this for the
R-URI username. I'm trying to change the $rU variable, but i can't apply
changes since i get this error from msg_apply_changes() : "cannot apply
msg changes after adding record-route header - it breaks conditional 2nd
header"
Is there any other way to do this operation?
Thanks in advance.
Cheers
Hi,
I have problem to enable TLS on just installed Kamailio server
openSUSE 42.3 (x86_64)
VERSION = 42.3
CODENAME = Malachite
version: kamailio 5.0.4 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 18:06:25 Dec 3 2017 with gcc 4.8.5
I get this on debug log:
0(11336) DEBUG: <core> [core/cfg.y:1642]: yyparse(): loading modules under /usr/lib64/kamailio/modules/
loading modules under config path: /usr/lib64/kamailio/modules/
0(11336) DEBUG: <core> [core/cfg.y:1623]: yyparse(): loading module tls.so
0(11336) DEBUG: <core> [core/sr_module.c:575]: load_module(): trying to load </usr/lib64/kamailio/modules/tls.so>
0(11336) DEBUG: <core> [core/mem/q_malloc.c:189]: qm_malloc_init(): qm_malloc_init: QM_OPTIMIZE=16384, /ROUNDTO=2048
0(11336) DEBUG: <core> [core/mem/q_malloc.c:191]: qm_malloc_init(): qm_malloc_init: QM_HASH_SIZE=2099, qm_block size=235152
0(11336) DEBUG: <core> [core/mem/q_malloc.c:193]: qm_malloc_init(): qm_malloc_init(0x7f6e001cb000, 67108864), start=0x7f6e001cb000
0(11336) DEBUG: <core> [core/mem/q_malloc.c:202]: qm_malloc_init(): qm_malloc_init: size= 67108864, init_overhead=235256
0(11336) ERROR: tls [tls_init.c:595]: tls_pre_init(): Unable to set the memory allocation functions
0(11336) ERROR: tls [tls_init.c:597]: tls_pre_init(): libssl current mem functions - m: 0x7f6e055b33d0 r: 0x7f6e055b3a30 f: 0x7f6e055b39a0
0(11336) ERROR: tls [tls_init.c:599]: tls_pre_init(): Be sure tls module is loaded before any other module using libssl (can be loaded first to be safe)
0(11336) ERROR: <core> [core/sr_module.c:607]: load_module(): /usr/lib64/kamailio/modules/tls.so: mod_register failed
0(11336) CRITICAL: <core> [core/cfg.y:3411]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 150, column 12-19: failed to load module
for resolving have compiled openssl from 1.0.2j-fips to
openssl version
OpenSSL 1.0.2n 7 Dec 2017
Is this information enough to see what we are missing
Will provide more info if needed.
Any help and suggestions are appreciated.
Regards,
T
Hello all,
I'm new here and trying to test kamailio. After creating users, I noticed
that I made a mistake and create new users. Then I wanted to delete old
users but no luck. When I try to delete, it was giving me 2 different
errors. I found a way to fix one or skip one, I don't know. It was about
CTLENGINE parameter and I uncommented it. :) But second error says that
"ERROR: This command requires a database engine - none was loaded"
I checked the config files if there is something written like database
engine. I found DBENGINE parameter in kamctl file and it was set to MYSQL.
Below are the used parameters in kamctl. Could you please check if I'm
missing something here? I plan to make some test calls in my local test
environment and I installed kamailio 5.0.4 on ubuntu by using Docker. Any
help would be appreciated, thanks in advance.
SIP_DOMAIN=192.168.99.100
DBENGINE=MYSQL
DBHOST=localhost
DBNAME=kamailio
DBRWUSER="root"
DBRPW="password"
DBROUSER="root"
DBROPW="password"
ALIASES_TYPE="db"
CTLENGINE="FIFO"
OSER_INFO="FIFO"
VERBOSE=1
PID_FILE="somewhere"
*Fatih Yıldız*
*Delivery Engineer,*
*Phone *: +90 212 285 7575 (ext 117)
*Skype* : fatihyldz1
*Team* : dt1(a)defne.com.tr
*HelpDesk*: +90 555 996 96 12
This communication is confidential. We only send and receive email on the
basis of the terms set out at defne email disclaimer
<http://www.defne.com.tr/#%21email-disclaimer/cmjv>
Think before you speak. Read before you think. Think before you print.
<http://www.defne.com.tr/#!email-disclaimer/cmjv>
Hello Everyone,
We are using Kamailio IMS (version 5.0.4). We are using Jitsi for making
calls.
Our SIP clients are behind NATed network.
When clients and P-Server is configured to UDP mode, we are able to make
calls sucessfully.
When clients and P-Server is configured to TCP mode, call is not getting
through.
>From logs I found that ACK is not being sent from P-Server to Client.
On googling i found that this is known problem.
Can anyone kindly clarify whether this problem is resolved?
Is there is work around.
Am i not setting any parameter properly?
Let us know if further information is needed.
Kindly some answer, we are newbies... :)
Regards
GS Kumar
Probably not the problem though it could be. ...try:
"python /usr/local/etc/kamailio/script.py arg1 arg2 arg3"
instead--kamailio doesn't have your shell env and might not pass the script to python even if the script has the #! declaration.
Also, if you pasted the exact command I think there's no space between .py and arg1 (or that could just be my phone).
Hth.
Sent from Samsung Mobile
-------- Original message --------
From: "Daniel W. Graham" <dan(a)cmsinter.net>
Date: 12/10/2017 1:04 PM (GMT-06:00)
To: "Kamailio (SER) - Users Mailing List" <sr-users(a)lists.kamailio.org>
Subject: [SR-Users] Exec - call python script with arguments
Trying to call a python script using exec_msg and haven’t had any luck.
The following works:
exec_msg("echo ‘TEST’ > /usr/local/etc/kamailio/test.txt");
The following works from shell:
/usr/local/etc/kamailio/script.py arg1 arg2 arg3
The following does not work from kamailio:
exec_msg("/usr/local/etc/kamailio/script.py arg1 arg2 arg3");
(The arguments are just strings for test purposes)
Kamailio is running as kamailio user
Permissions:
755 script.py
Any idea what could be going wrong?
-dan