[SR-Users] Kamailio on multiple interface

2016-08-04 Thread Marino Mileti
Hi guys, I've my Kamailio box that works great J Now I would like to enable wifi on the board (in AP mode) in order to allow mobile devices to connect and receive and place calls. Is it possible? Is it possible to configure Kama like a "gateway" between two network cards? I've find a guid

Re: [SR-Users] Kamailio RTP Engine

2016-08-04 Thread Daniel-Constantin Mierla
Hello, I couldn't spot any rtpengine module function used inside the routing blocks. Look at default kamailio.cfg and see how rtpproxy_manage() is used -- you should use rtpengine_manage() instead. Cheers, Daniel On 04/08/16 16:09, Jack Stevens wrote: > > Hi Guys, > > > > Looking for some help

[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. modparam("rtppro

[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 check

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 DEF

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 kamailio.s

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 dir

[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 kamailio.serv

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(): n

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 0x7f25361cd00

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? > [03