Re: [SR-Users] SQLOPS select database in realtime

2016-04-05 Thread Daniel-Constantin Mierla
On 05/04/16 14:18, Paul Smith wrote: > Hi Jon, > The normal way would be to use multiple modparam lines, one for each > of your databases. Then in your route config you can select and use > any of those connections: > > http://kamailio.org/docs/modules/4.4.x/modules/sqlops.html#idm20488 > > modp

Re: [SR-Users] Ka--כרmailio asאעא ער מאיכקטח- a presence server

2016-04-05 Thread Shlomi Gutman
אני אה כן בתאריך 4 באפר׳ 2016 8:45 לפנה״צ,‏ "Daniel-Constantin Mierla" < mico...@gmail.com> כתב: > Hello, > > can you run with debug=3 in config file and see if you get some hints from > syslog messages about what happens ? > > Cheers, > Daniel > > On 01/04/16 17:17, Igor Olhovskiy wrote: > > Hi!

Re: [SR-Users] about xml rpc response behavior

2016-04-05 Thread ycaner
Hello Daniel; when i have a look xml spec , you are clearly right. there is no point about it. but i want to one more example about it. When we coding about it, my programmers ask me after send request reload/terminate dialog, "What happened now?" , no response? Because they are used to use "asteri

Re: [SR-Users] Detecting calls with missing ACK (Lazy SIP scanners)

2016-04-05 Thread Marrold
Hi Charles, I can confirm that t_any_timeout(), and t_branch_timeout() return true when these un-ACKd transactions occur. I just needed to make sure that I set a failure route, in my reply route. Thanks for the tip. On Tue, Apr 5, 2016 at 1:56 PM, Charles Chance < charles.cha...@sipcentric.com>

Re: [SR-Users] pseudo variables in strings

2016-04-05 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > I added pv_evalx() function in pv module which evaluates twice a string > containing variables. No time to test it, so any feedback is > appreciated. It will be also good to stress test it and check if there > is a memory leak for pkg, as the result for first eva

Re: [SR-Users] about rtpengine versions

2016-04-05 Thread Juha Heinanen
Richard Fuchs writes: > The version tag in the master branch is always one ahead of the latest > release branch, to make sure that builds from master are seen as newer > than release branches. The last release branch is 4.3.x, so master was > updated to 4.4. It's not a real released version unt

Re: [SR-Users] about rtpengine versions

2016-04-05 Thread Richard Fuchs
On 05/04/16 08:03 AM, Juha Heinanen wrote: I noticed that 15 days ago there was rtpengine commit https://github.com/sipwise/rtpengine/commit/aac8899b612dc8103b89f3f9c921f88af3501303 titled "Release new version 4.4.0.0+0~mr4.4.0.0", but I could not find the corresponding branch or tag. If someo

Re: [SR-Users] Detecting calls with missing ACK (Lazy SIP scanners)

2016-04-05 Thread Charles Chance
Hi, You should probably check out TM docs - specifically failure route ( http://kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_on_failure) and t_is_expired ( http://kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_is_expired). >From there you can do what you like. Cheers, Charle

Re: [SR-Users] Detecting calls with missing ACK (Lazy SIP scanners)

2016-04-05 Thread Marrold
I am interested in 'fingerprinting' various SIP scanner attacks and using them to intelligently block attacks, rather than just blindly black listing any SIP message to a honey pot. Additionally I think it would be wise to detect these missing ACKs and/or incomplete transactions from a legitimatel

Re: [SR-Users] SQLOPS select database in realtime

2016-04-05 Thread Paul Smith
Hi Jon, The normal way would be to use multiple modparam lines, one for each of your databases. Then in your route config you can select and use any of those connections: http://kamailio.org/docs/modules/4.4.x/modules/sqlops.html#idm20488 modparam("sqlops","sqlcon","cb=>mysql://kamailio:abc@10

Re: [SR-Users] Detecting calls with missing ACK (Lazy SIP scanners)

2016-04-05 Thread Daniel Tryba
On Tue, Apr 05, 2016 at 12:09:29AM +0100, Marrold wrote: > I have been running a couple of Asterisk honey pots to get a better > understanding of the tools and methods potential hackers are using to > exploit SIP servers. > > I have observed many attacks from the 'sipcli' user agent that don't sen

[SR-Users] about rtpengine versions

2016-04-05 Thread Juha Heinanen
I noticed that 15 days ago there was rtpengine commit https://github.com/sipwise/rtpengine/commit/aac8899b612dc8103b89f3f9c921f88af3501303 titled "Release new version 4.4.0.0+0~mr4.4.0.0", but I could not find the corresponding branch or tag. If someone wants to use that version, is 'git archive

[SR-Users] SQLOPS select database in realtime

2016-04-05 Thread Jon Bonilla (Manwe)
Hi all I have multiple auth credentials split among multiple databases (same server). I want to extract the password from the correct database for each request and pass it as arameter to the auth functions. The problem is, how can I use sqlops and select the correct database in realtime? the db c

Re: [SR-Users] Kamailio setting the reqeust URI

2016-04-05 Thread Daniel Tryba
On Mon, Apr 04, 2016 at 03:21:27PM +0200, NITESH BANSAL wrote: > Hello,I'm using Asterisk to originate a call via Kamailio.Request-URI > in SIP INVITE coming from Asterisk looks like > thisBut my objective is to use Kamailio to > forward the call to a remote endpoint. What header should I put in >

Re: [SR-Users] Kamailio as a presence server

2016-04-05 Thread Igor Olhovskiy
Hi! No, actually Kamailio is still the same and there is support of dialogs. But yep, it accept Subscribes and Publishes, but no NOTIFY. Actually part of presence is so: …. loadmodule "presence.so" loadmodule "presence_dialoginfo.so" loadmodule "presence_xml.so" loadmodule "presence_mwi.so" loadmo

Re: [SR-Users] Kamailio setting the reqeust URI

2016-04-05 Thread NITESH BANSAL
I got it working using Route header without 'lr' parameter.In the absence of 'lr' parameter, Kamailio treated my requestas 'strict router' and updated the Reqeust-URI too. Nitesh > Date: Mon, 4 Apr 2016 08:24:42 -0700 > From: vancece...@gmail.com > To: sr-users@lists.sip-router.org > Subject: Re