Hi,
1. Does Kamailio work with ICE? What does Kamailio do with ICE candidates
in SDP ?
2. Does rtpproxy acts as TURN server ?
Many thanks. Please help
--
Khoa Pham
HCMC University of Science
Faculty of Information Technology
Hi
I am storing accounting entries in the db, and I am also inserting some
custom AVP values, however I also need to store the GeoIP value that I am
extracting using gip. I did try the below, but it is not working, any other
ideas how I could achieve this ?
modparam("acc", "log_extra",
"src_user=$fU;src_domain=$fd;dst_ouser=$tU;dst_user=$rU;dst_domain=$rd;CountryCode=$gip(src=>cc)")
Regards
Hi,
I want to enable TLS in Kamailio, as in here
http://kamailio.org/docs/modules/stable/modules/tls.html
But how can I get the certificate and private key ?
--
Khoa Pham
HCMC University of Science
Faculty of Information Technology
Hi Barry,
Thanks for trying to help me out.
Unfortunately your suggestion didn't work out. Not sure why. I tried a few other functions like t_relay_to.
Guess I still have a lot to learn about this kamailio stuff in more complex setups.
Any other ideas, anyone?
Ttyl,
Dave
-----Original Message-----
From: Barry Flanagan <barry(a)flanagan.ie>
Date: Thu, 21 Mar 2013 12:01:18
To: <sr-users(a)lists.sip-router.org>
Subject: Re: [SR-Users] 2 kamailio servers sharing one database and one dns
name
On 20 March 2013 03:05, David Thomson <jdavidthomson(a)hotmail.com <mailto:jdavidthomson@hotmail.com> > wrote:
hi,
I have two kamailio 3.3.4 servers sharing one database. usrloc module is loaded on both machines. The DNS name for the machines is shared (i.e siptest.testdomain.com <http://siptest.testdomain.com> with 2 public ip's - one for Server1 and one for Server2) and setup in round robin mode.
The scenario is as follows:
User 1 registers to Server1
User 2 registers to Server2
User1 tries to call User2 but Server1 throws an error and the call doesn't ever connect to User2:
WARNING: usrloc [udomain.c:321]: non-local socket <udp:xxx.xxx.xxx.xxx:5060>...ignoring.
Hi
I think you can use the t_replicate function within your register route so that each server will replicate the registration request to the other.
I did this many years ago on OpenSER using the following just before the consume_credentials() line.
On each of the servers you want to check that the src_ip is not that of the OTHER sever so they don't keep sending back and forth forever :-) So in the example below 10.0.1.1 is the IP of the other server.
--------8<-----------------------------------------
if (!src_ip==10.0.1.1) {
t_replicate("udp:10.0.1.1:5060 <http://10.0.1.1:5060> ");
xlog("L_INFO", "Replicating $ct, URI = $ru");
};
consume_credentials();
--------8<-----------------------------------------
Have a look at http://www.kamailio.org/docs/modules/3.3.x/modules/tm.html#t_replicate
Hope this helps.
-Barry
Hi
I did setup geoIP module and got the latest geoipcity free dat file and csv
file and did setup all parameters in kamailio, when doing a test the
instead of showing the country name the code is showing the region name,
while region name is empty "I only need the country name", see :
Config :
if(geoip_match("$si", "src"))
xlog("L_ERR","SIP message from: $gip(src=>cc) $gip(src=>regn)
$gip(src=>regc)\n");
Log :
SIP message from : A2 <null> <null>
>From the CSV file of geoipcity just for cross reference :
locId,country,region,city,postalCode,latitude,longitude,metroCode,areaCode
190132,"FR","A2","Lézardrieux","",48.7851,-3.1059,,
As you can see above A2 is the region it is the 3rd column, src=>CC should
show FR instead of A2.
Working on Kamailio 3.3.4. Is there anything I missed here ?
Regards
hi,
I have two kamailio 3.3.4 servers sharing one database. usrloc module is loaded on both machines. The DNS name for the machines is shared (i.e siptest.testdomain.com with 2 public ip's - one for Server1 and one for Server2) and setup in round robin mode.
The scenario is as follows:User 1 registers to Server1User 2 registers to Server2
User1 tries to call User2 but Server1 throws an error and the call doesn't ever connect to User2:
WARNING: usrloc [udomain.c:321]: non-local socket <udp:xxx.xxx.xxx.xxx:5060>...ignoring.
Any ideas?
ttyl,Dave
Hi,
was on the chat channel, so emailed as no activity.
I have a new Cisco/Linksys EA-2700 and port forwarding is the same as my
old Linksys WRT-610N.
However my VoIP and website don't work.
I tried DMZ aswell.
Confused?
Unfortunately, this router isn't compatibel for DD-WRT firmware.
Thanks if anyone answers.