I am trying to setup Kamailio server with topoh module (I want to extend
topoh module and develop my own module) but when I start kamailio, the
errors in attached error.log appear.
I attach also my kamailio.cfg. I build Kamailio from source code by this
guide: http://www.kamailio.org/wiki/install/4.0.x/git
Could someone please help me to resolve these errors? Thanks in advance
Hello Everyone,
I am trying set hash table for geoip and put countries code which is not a customers. Currently I have working as static for single country code.
#!ifdef WITH_GEOIP
route[GEOIP]
geoip_match("$si", "src");
if($gip(src=>cc)=="TH") {
xlog("SIP message not from allowed customer (ip: $si) - drop it\n");
send_reply("403", "Forbidden");
exit;
}
#!endif
I though replace single value on restricted countries with
modparam("htable", "geoip", "country_code=>TH;")
modparam("htable", "geoip", "country_code=>IN;")
if($gip(src=>cc)=="$sht(geoip=>country_code)");
but not sure if it good approach or which way to go. Any help thank you.
Slava.
Hi. I have configured Kamailio with Websockets. I want to add TLS. I
generated certifikates with openssl and configured tls.cfg. But when i try
to run kamailio, it gives me error, failed to start.
This my syslog <http://paste2.org/KdYsGE9f> . Can anybody help me please?
Thanks.
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Kamailio-TLS-tp126046.html
Sent from the Users mailing list archive at Nabble.com.
Hello,
I have kamailio implemdented on two machines in my local network. Both are using the same database implemented on a third machine in the same network.
As my servers are on local domain so given fake domain names. How can calls be routed between the two domains ?? I asked this question and got reply to use "t_relay ". I read about it but it is for stateful processing of SIP messages. I cant relate my problem to this t_relay module. What can be the solution for this ?
Regards.
Hi,
Scenario:
Our kamailio server normally has a debug level of 2.
The server gets a segmentation fault and dies when we run a certain demo. The error message is:
"[4097]: ALERT: <core> [main.c:789]: child process 4098 exited by a signal 11"
And we got a lot of these before it dies:
"error reading: Connection reset by peer (104)"
"ERROR: tcp_read_req: error reading"
Because of the low debug level, I have no idea of what child process 4098 was doing before it died.
Here is the wired bit:
The problem goes away if I set debug level to 5.
But always occurs at debug level 2.
Two questions:
1, I noticed that the main thread was 4097 and 4098 died. what is the child process created straight after main? My guess is this 4098 child process manages TCP connections. Is this correct?
2, Why does debugging level has an impact on this? Is it because higher debugging level introduces some delay?
Regards,
Allen
Hi Guys,
Hope your all well?
Apologies for the post, however I wondered if anyone had successfully integrated Cisco 7945/7960 handsets running SIP firmware with Kamailio?
I appreciate these handsets have some issues, whereby they expect responses on port 5060, even though they initiate transactions from a dynamic port, I just wondered if anyone had a working model or some pointers they could share?
As we are pondering a VPN connection to remove NAT, however Id like to consider other alternatives before then.
Many thanks
Jon
Hi all
We updated from kamailio 3.1 to kamailio 3.3.
As shown in module description the function rtpproxy_manage() should be available starting version 3.2
But if the update is done to 3.3 - we get the following error when trying to start kamailio
* Not starting Kamailio SIP server: invalid configuration file!
*
* 0(24558) ERROR: <core> [cfg.y:3455]: cfg. parser: failed to find command rtpproxy_manage
0(24558) : <core> [cfg.y:3594]: parse error in config file /etc/kamailio/kamailio.cfg, line 905, column 17: unknown command, missing loadmodule?
In request_route we have the command :
Rtpproxy_manage() ;
Any idea ?
Kind regards,
Oli
Hi,
I am trying to install Kamailio on Ubuntu 12.04,but hitting the below
issue.
root@test:/usr/local# apt-get install kamailio kamailio-mysql-modules
kamailio-tls-modules
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package kamailio
E: Unable to locate package kamailio-mysql-modules
E: Unable to locate package kamailio-tls-modules
Can anybody point me the right steps to do the same
Thanks
Hi,
What are the requirements for connecting with tls/wss.
I have not come across any information or example for this.
My config is working when the client uses ws. However if I change this to use wss, (this is it only paramter I change) it does not work.
I understand Kamailio does not support DTLS, I set the jssip client DtlsSrtpKeyAgreement to false to disable this, I also set the tls option to not require or verify certicficates and it still does not work.
What if other considaerstion do I need to check?
thanks