Re: [SR-Users] TOPOH module im REGISTER method.

2018-09-13 Thread Henning Westerholt
Am Donnerstag, 13. September 2018, 06:59:53 CEST schrieb Mojtaba: > Any update please? > Thanks with regards.Mojtaba Hello Mojtaba, (resending a modified version of my reply from last week) an use case for the topoh module is the topology hiding of forwarded messages (in most cases from INVITE

[SR-Users] How to use Geoip Module in Kemi

2018-09-13 Thread Naveed Ur Rehman
Hi, I am trying to use geoip2 module in kemi using LUA, The issue is that when i try to access the $gip2(src=>cc) variable using lua, the kamailio instance killed and stops, this is my code snippet, kindly advise anyone how this can be sorted local sourceIP=KSR.pv.get("$si"); if KSR.geoip2.

Re: [SR-Users] TOPOH module im REGISTER method.

2018-09-13 Thread Daniel-Constantin Mierla
Hello, jumping into discussion to mention and alternative by using uac module. There is support to do registrations to remote SIP server, so you can use the local kamailio with this module to register to foreign sip servers, and it will use only Kamailio's IP. Then your device will register to th

Re: [SR-Users] How to use Geoip Module in Kemi

2018-09-13 Thread Daniel-Constantin Mierla
Hello, can you send all log messages printed by kamailio with debug=3 inside kamailio.cfg? Also, if you get a crash with a coredump, then send the backtrace taken with gdb. Cheers, Daniel On 13.09.18 10:24, Naveed Ur Rehman wrote: > Hi, > > I am trying to use geoip2 module in kemi using LUA

Re: [SR-Users] limit call per duration

2018-09-13 Thread António Silva
Hi, can it be done with lua script? Thanks. On 10/09/2018 22:10, António Silva wrote: Hi, I'm new to kamailio, i want to be able to limit call per duration, how can i do it? i found module call_control, http://www.kamailio.org/docs/modules/5.1.x/modules/call_control.html, do you recomme

Re: [SR-Users] limit call per duration

2018-09-13 Thread António Silva
I just found my solution: https://opensips.org/pipermail/users/2009-May/005152.html going to try this. Thanks. On 13/09/2018 11:16, António Silva wrote: Hi, can it be done with lua script? Thanks. On 10/09/2018 22:10, António Silva wrote: Hi, I'm new to kamailio, i want to be able to li

[SR-Users] Python KEMI performance

2018-09-13 Thread Aleksandar Sosic
Hi all, is there anyone here that has done a performance testing measurements between native kamailio config file and full python kemi instance of kamailio? I've read somewhere that the python kemi code was 30% slower. Why is that and are there any plans on trying to improve the performance of py

[SR-Users] Restart kamailio on critical error

2018-09-13 Thread Sergey Safarov
Is possible to restart kamailio when is critical errors is happens? Now in log ``` Sep 13 18:50:38 ca-edm-sw3.phonebox.work sh[1171]: 81(85) INFO: jsonrpcs [jsonrpcs_sock.c:443]: jsonrpc_dgram_process(): a new child 0/85 Sep 13 18:52:21 ca-edm-sw3.phonebox.work sh[1171]: 0(1) ALERT: [main.c:743

Re: [SR-Users] Python KEMI performance

2018-09-13 Thread Henning Westerholt
Am Donnerstag, 13. September 2018, 18:23:25 CEST schrieb Aleksandar Sosic: > is there anyone here that has done a performance testing measurements > between native kamailio config file and full python kemi instance of > kamailio? > > I've read somewhere that the python kemi code was 30% slower. Wh

[SR-Users] Forward SIP request between two Kamailio servers

2018-09-13 Thread Nathanael Eneroth
Hi,? I have a simulation setup of 4 VMs in Virtual Box - two UAs and two Kamailio servers. The first UA will register to KAM1, and the second UA will regsiter to KAM2. See the Figure below. UA1<--->KAM1<>KAM2<>UA2 int1int1 int3 int3 int2 int2 I would like KA