[SR-Users] Kamailio and RTPProxy in-front of freeswitch

2016-08-04 Thread Achintha
hi all, i have configured kamailio and RTPProxy on one ubuntu server then freeswitch on another server. all servers installed on digital ocean. i was tried to build following setup, SIP_Call--> kamailio+RTPPROXY---> freeswitch put following configurations on kamailio.

[SR-Users] Kamailio RTP Engine

2016-08-04 Thread Jack Stevens
Hi Guys, Looking for some help on configuring RTP Engine with Dispatcher on my Kamailio Box Please see this paste for the kamailio configuration = http://pastebin.com/yZzSEJmK When I run a call the dispatcher does it job perfectly but the rtpengine is not been used does anyone know why --

Re: [SR-Users] Prepaid system using dialog and sqlops

2016-08-04 Thread Infinicalls Infinicalls
Hi Daniel, Thanks. I have added credits in Subscriber. But where exactly should I insert the SQL statements in kamailio.cfg so that it gets executed for each and every call. The rate_unit multiplied with time_unit in billing_rates should be done in realtime, I guess. Also is it possible to

Re: [SR-Users] Kamailio 4.4 wont start on CentOS 7 using script

2016-08-04 Thread Fabian Borot
when starting from the "sbin" directory it uses this as default: "/var/run/kamailio.pid"...I changed it to "PID_FILE=/var/run/kamailio/kamailio.pid" and it works fine as well the PID_FILE in the " /etc/init.d/kamailio" file is also that one: " PID_FILE=/var/run/kamailio/kamailio.pid" and that

Re: [SR-Users] Kamailio 4.4 wont start on CentOS 7 using script

2016-08-04 Thread Fabian Borot
thank you, yes, I did have to change these lines according to my install path , these are my settings: KAM=/usr/local/kamailio-4.4/sbin/kamailio KAMCFG=/usr/local/kamailio-4.4/etc/kamailio/kamailio.cfg PROG=kamailio PID_FILE=/var/run/kamailio.pid LOCK_FILE=/var/lock/subsys/kamailio RETVAL=0

Re: [SR-Users] Kamailio 4.4 wont start on CentOS 7 using script

2016-08-04 Thread Nagorny, Dimitry
Hello Fabian, I had a similar problem and build my own little kamailio.service file for CentOS7. Please find it attached, just drop it under /etc/systemd/system/ and give it execution permissions and activate it afterwards with "systemctl enable kamailio.service" and "systemctl start

Re: [SR-Users] Kamailio 4.4 wont start on CentOS 7 using script

2016-08-04 Thread Jurijs Ivolga
Hi, I'm not sure about Centos 7, but on Centos 6, you need to update kamailio init.d script to make it work. Following lines should be updated: KAM=/usr/local/sbin/kamailio KAMCFG=/usr/local/etc/kamailio/kamailio.cfg PROG=kamailio PID_FILE=/var/run/kamailio/kamailio.pid And you need to create

[SR-Users] Kamailio 4.4 wont start on CentOS 7 using script

2016-08-04 Thread Fabian Borot
Hello I installed/compiled version 4.4 on CentOS 7. When I start the server like this: "./kamctl start" it works but when I try to use the script: "/etc/init.d/kamailio" it fails [root@ar-mia-proxy-01 sbin]# /etc/init.d/kamailio start Starting kamailio (via systemctl): Job for

Re: [SR-Users] Path & Loose Route

2016-08-04 Thread Luke Milbourne
Hi Daniel, As mentioned previously, I've pasted a copy of the loose.c log lines below. Aug 4 09:21:43 ip-10-10-2-5 /sbin/kamailio[4711]: DEBUG: rr [loose.c:179]: find_next_route(): No next Route HF found Aug 4 09:21:43 ip-10-10-2-5 /sbin/kamailio[4711]: DEBUG: rr [loose.c:846]: after_loose():

Re: [SR-Users] Kamailio segmentation fault rpc request

2016-08-04 Thread Daniel-Constantin Mierla
Hello, can you get the output of gdb commands: bt full info locals Cheers, Daniel On 04/08/16 08:49, pars3c wrote: > Hello , > i make many request toward jsonrpc server, using dlg.profile_list. Usually on > high load, kamailio crash . > Last time in the dump, ther is : > 0

Re: [SR-Users] Kamailio + rtpengine + freeswitch

2016-08-04 Thread Daniel-Constantin Mierla
It will be helpful if you can provide a pcap with the network capture of sip packets for such call taken on kamailio server. Then we can see if rtp relaying was engaged or not. Cheers, Daniel On 04/08/16 04:55, Kotb, Amir wrote: > > [03:50] I have a small query, can anybody assist please? >

[SR-Users] Kamailio segmentation fault rpc request

2016-08-04 Thread pars3c
Hello , i make many request toward jsonrpc server, using dlg.profile_list. Usually on high load, kamailio crash . Last time in the dump, ther is : 0 0x7f25361cd00a in internal_rpc_profile_print_dlgs (rpc=0x7f25158db9a0, c=0x7f25158db940, profile_name=0x7fffb5b5bb70, value=0x0) at

Re: [SR-Users] Path & Loose Route

2016-08-04 Thread Luke Milbourne
Hi Daniel, Thanks again for your reply again. I remembered about the debug setting and done it yesterday, not at my pc right now but I remember one of the log lines was saying "the topmost route header is me". Still trying to understand it, but will get a copy of the log lines for you, if you