Hi!
In xlog I used to use $$ to escape the dollar sign to not be interpreted
as PV, eg:
xlog("L_INFO"," $$ru\n");
Current HEAD gives an error:
ERROR: <core> [pvapi.c:757]: error searching pvar ""
ERROR: <core> [pvapi.c:961]: wrong char [$/36] in [$] at [0 (0)]
ERROR: xlog [xlog.c:363]: wrong format[ $$ru#012]
ERROR: <core> [route.c:1214]: fixing failed (code=-1) at
cfg:/etc/kamailio/kamailio.cfg:627
Where there some changes?
Thanks
Klaus
Hi,
I'm migrating from sip-router/Kamailio 3.1, SER flavour to the latest dev
version, with MySQL support.
I need to add attributes to domains, and therefore use the domain_attrs
table. A handy command I used for that was ser_attr :
ser_attr add domain=anydomain.voip attr=value
Is there something similar I can use under the Kamailio flavour? kamctl
does not seem to help here, unless I missed an option.
Regards,
Philippe
Hello Kamailio guys,
I have the following setup
Internet -----> REAL STATIC IP -----> Kamailio Virtual IP(10.2.45.101)
I have setup everything and when I try to connect to kamailio from the
inside I can successfully register. When I try to register to the REAL
STATIC IP which is forwarded to 10.2.45.101 I get unauthorized. I have
narrowed down the problem to this:
auth_check("$fd", "sip", "1")
as I said I can authenticate from the internal network but not from
the Internet. What do I need to alter ?
Side problem... why when using xlog("L_WARN","$Cxx TEST") kamailio
fails to start ? seems that my version does not support the colored
output...
Thank you for your help guys...in advance.
Best regards,
Rumen
http://itradebg.com
Dear Support,
We are using IPTEL SIP services. Now we are getting Error message on our
VOIP software is " Server sip.iptel.org did not respond to register".
Moreover, we can successfully ping and complete trace route the
sip.iptel.org from our server but failed to register through sip.iptel.org
server. Kindly suggest what is the cause and look into this matter. I am
sending you our IPTEL SIP ID/Username and please find below.
(1) 196211
(2) 195404
Regards,
Faisal
Hi
I have trouble loading modules from a custom lib directory. It works fine if the libraries are located under PREFIX/lib/Kamailio/ (PREFIX is the path that I gave while building Kamailio). But on the target I will have to keep the libraries in a custom directory.
I tried by changing the mpath in kamailio.cfg. Also I tried by giving the path in -L option while invoking kamailio. It is not working. It fails with the following errors, even if the libraries are present at the location where it compains.
I searched but couldn't find any answer why it is failing, though it is supposed to work. Please help me.
$ ./sbin/kamailio -E -d -f /home/ajay/projects/video_conf/etc/kamailio/kamailio.cfg -c
loading modules under /home/ajay/projects/video_conf/lib/kamailio/:/home/ajay/projects/video_conf/lib/kamailio/modules/:/home/ajay/projects/video_conf/lib/kamailio/modules_k/
0(27896) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </home/ajay/projects/video_conf/lib/kamailio/modules_k/mi_fifo.so>: libkmi.so.1: cannot open shared object file: No such file or directory
0(27896) : <core> [cfg.y:3591]: parse error in config file /home/ajay/projects/video_conf/etc/kamailio/kamailio.cfg, line 222, column 12-23: failed to load module
0(27896) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </home/ajay/projects/video_conf/lib/kamailio/modules_k/kex.so>: libkmi.so.1: cannot open shared object file: No such file or directory
0(27896) : <core> [cfg.y:3591]: parse error in config file /home/ajay/projects/video_conf/etc/kamailio/kamailio.cfg, line 223, column 12-19: failed to load module
0(27896) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </home/ajay/projects/video_conf/lib/kamailio/modules_k/tmx.so>: libkmi.so.1: cannot open shared object file: No such file or directory
0(27896) : <core> [cfg.y:3591]: parse error in config file /home/ajay/projects/video_conf/etc/kamailio/kamailio.cfg, line 225, column 12-19: failed to load module
0(27896) ERROR: <core> [sr_module.c:572]: ERROR: load_module: could not open module </home/ajay/projects/video_conf/lib/kamailio/modules/sl.so>: libkcore.so.1: cannot open shared object file: No such file or directory
$ ls -l /home/ajay/projects/video_conf/lib/kamailio/modules_k/mi_fifo.so
-rwxr-xr-x 1 ajay ajay 155651 Jan 16 09:58 /home/ajay/projects/video_conf/lib/kamailio/modules_k/mi_fifo.so
$ ls -l /home/ajay/projects/video_conf/lib/kamailio/libkmi.so*
lrwxrwxrwx 1 ajay ajay 13 Jan 16 09:56 /home/ajay/projects/video_conf/lib/kamailio/libkmi.so -> libkmi.so.1.0
lrwxrwxrwx 1 ajay ajay 13 Jan 16 09:56 /home/ajay/projects/video_conf/lib/kamailio/libkmi.so.1 -> libkmi.so.1.0
-rwxr-xr-x 1 ajay ajay 78111 Jan 16 09:56 /home/ajay/projects/video_conf/lib/kamailio/libkmi.so.1.0
Regards,
Ajay
Hi,
I need to build a simple Kamailio server that could do just registration and basic call routing. I don't need database support, it is fine if it loses data during reboot. The only other option I may need is NAT support.
So far I was building the server using make all as given below:
$ make FLAVOUR=kamailio PREFIX="$HOME/projects/video_conf/sipserver" cfg
$make all
$make install
I noticed that the total size of library and binary files is huge, little less than 30MB. I have to port and test the server on a target where I don't have much space.
Can somebody please suggest me what make option would be appropriate for me? Is it fine to not build the ser modules under modules_s/ and what is make option to do so? I tried "make" instead of "make all", but it somehow builds everything during the step "make install" and the final result is same.
Thanks,
Ajay
Hi, we need to implement TLS in our current setup and have some questions about it:
1- We have a farm of Asterisk servers behind our kamailio proxy. The call flow is Customers/Providers <--> Proxy <--> Asterisks.
Is it possible to have TLS only between the Customers/Providers and the Proxy and then just regular SIP over UDP between the Proxy and
the Asterisks?
2- Can we have TLS over both TCP and UDP at the same time?
Thank you a lot
fborot