Re: [SR-Users] FW: Info and support for Kamailio

2013-06-19 Thread Victor V. Kustov
Hello, Gustavo! > Could you help me with some examples of configuration, where to > configure the extensions. No extensions in kamailio. Forget all what you know 'bout asterisk. Kamailio is a SIP router, you must think in terms of SIP messages and/or dialogs. Kamailio has no docs with describe "

[SR-Users] FW: Info and support for Kamailio

2013-06-19 Thread Gustavo S
Hi guys,My name is Tavo, I'm from Ecuador (South-America), and I need some info about Kamailio. I'm studying a Master degree of Networking and Data Communications, and I want to build a VoIP project with Kamailio.I want to integrate Kamailio with Trixbox to improve the security levels of the IP-

Re: [SR-Users] Script - /kamailio.log -> MongoDB ?

2013-06-19 Thread Mino Haluz
http://asylum.madhouse-project.org/projects/syslog-ng/mongodb/ On Thu, Jun 20, 2013 at 12:25 AM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > Kamailio sends the logs to syslog, perhaps you can find something on the > net that allows syslog application to write to mongodb. I

Re: [SR-Users] uac module strange problem

2013-06-19 Thread Alex Balashov
Hello, On 06/19/2013 07:44 PM, אורן אברהם wrote: I am using uac module for generating some request (even only some simple OPTIONS request) and after i send it using uac_req_send() the new request is processed as a REPLY (in onreply_route) instead of a new request (in request_route) does anyone

[SR-Users] uac module strange problem

2013-06-19 Thread אורן אברהם
Dear list. I am using uac module for generating some request (even only some simple OPTIONS request) and after i send it using uac_req_send() the new request is processed as a REPLY (in onreply_route) instead of a new request (in request_route) does anyone have a guess why it happens ? i've used

Re: [SR-Users] Local subscriber lookup / usrloc

2013-06-19 Thread Daniel-Constantin Mierla
Hello, On 6/19/13 9:29 PM, Daniel W. Graham wrote: My kamailio implementation sits in front of a group of asterisk servers, when a call comes into kamailio it does a series of checks on the location of the src and dst to determine if the call is allowed. If the src is PSTN and called user i

Re: [SR-Users] Script - /kamailio.log -> MongoDB ?

2013-06-19 Thread Daniel-Constantin Mierla
Hello, Kamailio sends the logs to syslog, perhaps you can find something on the net that allows syslog application to write to mongodb. I know some versions have option to write to a database or send via network to another host. Cheers, Daniel On 6/19/13 9:27 PM, Mick Stevens wrote: Hi All

Re: [SR-Users] Help with install using GIT

2013-06-19 Thread John Doe
Thank you Daniel, it worked. > From: jdoe_...@hotmail.com > To: sr-users@lists.sip-router.org > Subject: Help with install using GIT > Date: Wed, 19 Jun 2013 10:06:36 -0400 > >> >> Hi all, I am trying to install the latest version using git (new to git) and

[SR-Users] Local subscriber lookup / usrloc

2013-06-19 Thread Daniel W. Graham
My kamailio implementation sits in front of a group of asterisk servers, when a call comes into kamailio it does a series of checks on the location of the src and dst to determine if the call is allowed. If the src is PSTN and called user is found in the location table the call is passed to an

[SR-Users] Script - /kamailio.log -> MongoDB ?

2013-06-19 Thread Mick Stevens
Hi All,  I'm not a programmer & am new to Kamailio (but have managed to master 'ish FreeSWITCH) & am looking for a script I can use/adapt/learn from to import kamailio.log into MongoDB.  Any offers? Mick   Rgds, Mick Tel/SMS. +44(0)7967 594432 Email/IM/MSN/Skype. mickstev...@yahoo.com www.fa

[SR-Users] Variables in event_route[sl:local-response]

2013-06-19 Thread Sergey Okhapkin
Which variables I can use in event_route[sl:local-response] route to xlog proto:ip:port to which the response will be sent? event_route[sl:local-response] { xlog("L_INFO","Local response to *$?

Re: [SR-Users] SIP Trunks Location

2013-06-19 Thread Stoyan Mihaylov
It depends. I can imagine next scenarios: 1. Under SIP trunks you mean calls from your provider to you A) In case your provider can send calls to you - then you can use Kamailio, accepting all calls from your provider - based on IP. B) In case your provider expects registration from your system - t

[SR-Users] SIP Trunks Location

2013-06-19 Thread Jose Suero
Hi I'm planning to set kamailio in front of an farm of pbx servers (haven't decided on freeswitch or asterisk) there's a million tutorials on how to do this, what I haven't found is what part of my setup actually handles the sip trunks my phone company provides me with. What's the best pract

Re: [SR-Users] Dispatcher behaviour

2013-06-19 Thread Mino Haluz
Thank you for explanation Daniel. -- probing is intermediary state, toward active or inactive. So with first threshold result, it switches to the appropriate state. but I see no difference between this and this mode below (documentation) 1 (value 2) - temporary trying destination (in the way to

Re: [SR-Users] short name in syslog

2013-06-19 Thread Victor V. Kustov
Hello, Daniel-Constantin Mierla! >If you want just the short name, you can set log_name="kamailio". ok. really it's simplest way. -- WBR, Victor JID: coy...@bks.tv JID: coy...@bryansktel.ru I use FREE operation system: 3.9.4-calculate GNU/Linux ___

[SR-Users] Help with install using GIT

2013-06-19 Thread John Doe
> > Hi all, I am trying to install the latest version using git (new to git) and > after running "git checkout -b 4.0 origin/4.0" I got these messages: > > > [root@test kamailio-4.0.2]# git checkout -b 4.0 origin/4.0 > > fatal: Cannot update paths and switch to branch '4.0' at the same time. > Did

Re: [SR-Users] short name in syslog

2013-06-19 Thread Daniel-Constantin Mierla
Hello, On 6/19/13 3:30 PM, Victor V. Kustov wrote: Hello, Daniel-Constantin! Hello, what is it fixing actually? it fix long name of daemon in syslog. /usr/local/sbin/kamailio => kamailio full path doesnot needed in logs. actually it is useful when having more installations on custom paths

Re: [SR-Users] short name in syslog

2013-06-19 Thread Victor V. Kustov
Hello, Daniel-Constantin! >Hello, > >what is it fixing actually? it fix long name of daemon in syslog. /usr/local/sbin/kamailio => kamailio full path doesnot needed in logs. > Was there an end of line? sorry? >Is basename portable? yes, i check it > Because I see requires a new header t

Re: [SR-Users] short name in syslog

2013-06-19 Thread Daniel-Constantin Mierla
Hello, what is it fixing actually? Was there an end of line? Is basename portable? Because I see requires a new header to be included, if not maybe we can implement the function by ourselves to fix what should be fixed. Cheers, Daniel On 6/19/13 12:51 PM, Victor V. Kustov wrote: Hi Daniel-

Re: [SR-Users] Dispatcher behaviour

2013-06-19 Thread Daniel-Constantin Mierla
Hello, On 6/19/13 1:57 PM, Mino Haluz wrote: Hi, I've been playing with dispatcher settings, and I cannot get it working as expected. I would like to have my destination IP1 being always probed and some destinations should be marked as active non-probing. So, in my config I have ds_probin

Re: [SR-Users] Help with install using GIT

2013-06-19 Thread Daniel-Constantin Mierla
Hello, recent versions of git changed behaviour for --depth 1, fetching only one branch. You have to give --no-single-branch as parameter, see: http://www.kamailio.org/wiki/install/4.0.x/git#getting_sources_from_git Cheers, Daniel On 6/18/13 9:29 PM, John Doe wrote: Hi all, I am trying to i

Re: [SR-Users] Compile with mysql error

2013-06-19 Thread Daniel-Constantin Mierla
Hello, make a symbolic link to the version you want to use, like: ln -s /usr/lib64/libmysqlclient.so.16.0.0 /usr/lib64/libmysqlclient.so Cheers, Daniel On 6/17/13 12:45 AM, David Cunningham wrote: Hello, # find / -name libmysqlclient*.so* /usr/lib64/libmysqlclient_r.so.16.0.0 /usr/lib64/libm

[SR-Users] Help with install using GIT

2013-06-19 Thread John Doe
Hi all, I am trying to install the latest version using git (new to git) and after running "git checkout -b 4.0 origin/4.0" I got these messages: [root@test kamailio-4.0.2]# git checkout -b 4.0 origin/4.0 fatal: Cannot update paths and switch to branch '4.0' at the same time. Did you intend to

[SR-Users] Dispatcher behaviour

2013-06-19 Thread Mino Haluz
Hi, I've been playing with dispatcher settings, and I cannot get it working as expected. I would like to have my destination IP1 being always probed and some destinations should be marked as active non-probing. So, in my config I have ds_probing_mode = 0 (documentation: If set to 0, only the g

[SR-Users] short name in syslog

2013-06-19 Thread Victor V. Kustov
Hi Daniel-Constantin! little fix for short name in syslog's log: -before Jun 19 14:40:37 phoenix-c2 /usr/local/sbin/kamailio[63542]: WARNING: qm_status: (0x80100): -after Jun 19 14:41:44 phoenix-c2 kamailio[91432]: WARNING: qm_status: heap size= 33554432 patch attached -- WBR, Victor

[SR-Users] bug in 4.0.2 dialog module, no keep alives when src==dst

2013-06-19 Thread Daniel Tryba
Trying to implement calllimits with the dialog module I can reproduce a hanging dialog using a Linksys 962 by calling itself. When trying to answer the call the INVITES end in a 200 OK but the call is terminated [linksys.txt]. That might be a bug in the 962, but the bad part is the dialog will b

Re: [SR-Users] Error with ACK from SIPML5

2013-06-19 Thread Jayesh Nambiar
Hi Daniel, I checked using the kamcmd command and I see the webrtc connection active. The ACK comes from the webrtc client but somehow kamailio is unable to create a via header and forward the request. The ACK coming from webrtc client is as follows: SEND: ACK sip:1223@126.128.68.8:5065;transport=