Re: [SR-Users] statistics (ASR and ACD) by destination/country

2018-03-30 Thread Abdoul Osséni
Thank you. I will check it. Abdoul Le ven. 30 mars 2018 à 19:39, Arsen a écrit : > Hi, > > I would suggest it can do exactly what you are looking for. > http://cgrates.readthedocs.io/en/latest/cdrstats.html > > > Regards, > Arsen > > > On Fri, 30 Mar 2018 at 8:26 pm,

Re: [SR-Users] statistics (ASR and ACD) by destination/country

2018-03-30 Thread Arsen
Hi, I would suggest it can do exactly what you are looking for. http://cgrates.readthedocs.io/en/latest/cdrstats.html Regards, Arsen On Fri, 30 Mar 2018 at 8:26 pm, Joel Serrano wrote: > Some options: > > www.cdr-stats.org > www.sipcapture.org > www.voipmonitor.org > > On

Re: [SR-Users] statistics (ASR and ACD) by destination/country

2018-03-30 Thread Joel Serrano
Some options: www.cdr-stats.org www.sipcapture.org www.voipmonitor.org On Fri, Mar 30, 2018 at 10:06 AM, Abdoul Osséni wrote: > Hello dear list, > > I am looking for a tool that will provide me call statistics (ASR and ACD) > by destination/country with alerting by

[SR-Users] statistics (ASR and ACD) by destination/country

2018-03-30 Thread Abdoul Osséni
Hello dear list, I am looking for a tool that will provide me call statistics (ASR and ACD) by destination/country with alerting by emails. I try to detect when a sip provider does not work well in order to route the traffic to another sip provider. Thank you. Abdoul OSSENI AfriCallShop

Re: [SR-Users] KEMI basic logging

2018-03-30 Thread Daniel-Constantin Mierla
Hello, indeed, the function required KSR.log() two parameters and only one was provided in the first example. I added a commit with some extra checks to detect such case. Cheers, Daniel On 30.03.18 08:39, Eugene Prokopiev wrote: > I need to call KSR.log("err", "...") or just KSR.err("...") or

Re: [SR-Users] SQLOps module + KEMI

2018-03-30 Thread Daniel-Constantin Mierla
Hello, can you test with master branch, I pushed a commit for it -- if all ok, I will backport. Cheers, Daniel On 30.03.18 14:47, Igor Olhovskiy wrote: > Hi! > > Seems calling function KSR.sqlops.sql_num_rows(«sql_res») crashes > Kamailio. At least I got this at 5.1.2 from debian repos with

[SR-Users] audio issues

2018-03-30 Thread Atux Atux
Hi. I am doing my first steps with Kamailio and i have installed it according to the http://kb.asipto.com/kamailio:skype-like-service-in-less-than-one-hour. i did create 3 users 1100,1101,1102 and then in windows PC i did install the jitsi application. Even though the accounts on Jitsi show as

Re: [SR-Users] How to determine correct port to set in record-route header

2018-03-30 Thread Володимир Іванець
Hello! Does anyone know if it is possible to pass variable to set_advertised_address() function? 2017-01-24 17:58 GMT+02:00 Daniel Tryba : > On Tue, Jan 24, 2017 at 03:50:24PM +, Pranathi Venkatayogi wrote: > > I am using Kamailio behind NAT, unable to figure how to make

Re: [SR-Users] kamailio it does not start after reboot

2018-03-30 Thread Atux Atux
It was a broken installation. Reinstalled and now it works fine. Thanks a lot for your time. On Wed, Mar 28, 2018 at 4:38 PM, Tomi Hakkarainen wrote: > Yo Atux, > > You have some configuration error on line 150 on your kamailio > configuration file /etc/kamailio/kamailio.cfg

[SR-Users] SQLOps module + KEMI

2018-03-30 Thread Igor Olhovskiy
Hi! Seems calling function KSR.sqlops.sql_num_rows(«sql_res») crashes Kamailio. At least I got this at 5.1.2 from debian repos with LUA. Getting smth like dev1 kernel: [5780693.247255] kamailio[20659]: segfault at 50b30004 ip 7f34d2f46fd6 sp 7ffe1f0ac310 error 4 in

[SR-Users] KEMI get_body_part

2018-03-30 Thread Igor Olhovskiy
Hi! I’m trying to get SDP body in my var. I’m using smth like this     if (KSR.textops.has_body() ~= -1 and KSR.textops.has_body_type("application/sdp") ~= -1) then         KSR.textops.get_body_part("application/sdp", "$var(pbody)»)   local sdp_body = KSR.pv.get("$var(pbody)")   ….     end

Re: [SR-Users] How to extract SIP-I ISUP parameters

2018-03-30 Thread Eugene Prokopiev
Tried to do the same and even less with KEMI/Lua: $ cat kamailio/config/kamailio.lua function ksr_request_route() KSR.info("Lua route\n") if (KSR.textops.has_body("application/isup")) { KSR.info("ISUP body exists\n") } local opv = ""

Re: [SR-Users] 180 and 183 SIP messages

2018-03-30 Thread Ali Taher
Hello, As I understand now , append_hf function must be called from either REQUEST_ROUTE, ONREPLY_ROUTE, FAILURE_ROUTE or BRANCH_ROUTE. I'm not sure if this what I need in my case , where I want to insert a new header to the INVITE packet then forward it . Any help would be appreciated.

Re: [SR-Users] How to extract SIP-I ISUP parameters

2018-03-30 Thread Eugene Prokopiev
I can attach screenshot of ISUP part of pcap. Is it possible to extract all ISUP parameters or at least 'Redirecting number' or 'Called IN number'? Can extract ISUP part as is in binary form and read by some external script? Are you know about any library to parse ISUP binary data? 2018-03-29

[SR-Users] rare crash at kamailio 5.0.1

2018-03-30 Thread David Escartin
Hello all last March 26th we experienced a crash on a 5.0.1 kamailio server and a core was generated. Seems that the call involved in the core generated was doing several retransmisions of a request (expected) and when it finally forwarded the request upstream, seems fter receiving a 481

Re: [SR-Users] 180 and 183 SIP messages

2018-03-30 Thread Ali Taher
Thank you Alex for your response. So if I want to add a header to the INVITE packet , and also detect if the message is 183 and then change it to 180 then forward it back , does is do the job : route{ if (is_method("INVITE")) { append_hf("Test: this is a test"); }

Re: [SR-Users] KEMI basic logging

2018-03-30 Thread Eugene Prokopiev
I need to call KSR.log("err", "...") or just KSR.err("...") or even KSR.info("...") with debug=2 in kamailio.cfg 2018-03-29 22:23 GMT+03:00 Eugene Prokopiev : > Hi, > > Tried just to reject any request with some log message: > > $ cat kamailio/Dockerfile > > FROM centos:centos7 > RUN