Re: [SR-Users] Making rtp streams appear unidirectional

2015-01-12 Thread aft
On Fri, Jan 9, 2015 at 12:37 AM, Daniel-Constantin Mierla wrote: > Hello, > > On 01/01/15 08:29, aft wrote: > > Hi, > > > > Is it possible to make the rtp stream appear unidirectional? > > > > By that i mean, > > > > The rtp stream from client to proxy will go through one rtpproxy and > > proxy t

Re: [SR-Users] Maxmind GeoIP2 implementation.

2015-01-12 Thread Daniel-Constantin Mierla
I don't do it and I am not aware of anyone else. You can do it. Cheers, Daniel On 10/01/15 22:25, Sergey Okhapkin wrote: > Is anybody working on implementation of geoip2 module for kamailio? The > advantage of the new API is a seamless support of both ipv4 and ipv6 > addresses. If there is no w

Re: [SR-Users] Making rtp streams appear unidirectional

2015-01-12 Thread Daniel-Constantin Mierla
On 12/01/15 11:14, aft wrote: > > > On Fri, Jan 9, 2015 at 12:37 AM, Daniel-Constantin Mierla > mailto:mico...@gmail.com>> wrote: > > Hello, > > On 01/01/15 08:29, aft wrote: > > Hi, > > > > Is it possible to make the rtp stream appear unidirectional? > > > > By that i

Re: [SR-Users] Dispatcher Failover algorithm

2015-01-12 Thread Daniel-Constantin Mierla
It is 8. I added a bit more clear phrasing on the description: - http://kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.f.ds_select_dst Cheers, Daniel On 10/01/15 00:31, Yuriy Gorlichenko wrote: > Priority bassed? I've read about all algorithms of disatcher and can > not find

Re: [SR-Users] Using the iptel Switch for both home & office environments...

2015-01-12 Thread Daniel-Constantin Mierla
Hello, the latest iptel's SER is now Kamailio, you can take it from kamailio.org. It runs on Linux (or other unixes), if you have only windows, then get a Linux in a virtual machine (e.g., via virtualbox) to play with it. Cheers, Daniel On 09/01/15 08:57, H. KAIMARAH wrote: > Hello there, > > Ki

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-12 Thread Daniel-Constantin Mierla
On 09/01/15 15:41, Ben Langfeld wrote: > For the ease of future reference, it would appear that post > was > http://sr-dev.sip-router.narkive.com/bfyDpQ36/git-alexh-master-core-modules-tm-modules-sl-make-adding-path-and-flags-to-redirected-contacts#post4 > > On 9 January 2015 at 09:32, Alex Herma

Re: [SR-Users] xhttp_rpc - dispatcher html-rpc

2015-01-12 Thread Daniel-Constantin Mierla
Maybe you can run kamailio with debug=3 and see if you get anything useful in the syslog. Otherwise, I haven't used xhttp_rpc myself for dispatcher. Cheers, Daniel On 08/01/15 17:24, Yuriy Gorlichenko wrote: > Sorry. Yes xhttp_rpc. > > I use this cfg for this module > modparam("xhttp_rpc", "xhttp

Re: [SR-Users] Maxmind GeoIP2 implementation.

2015-01-12 Thread Sergey Okhapkin
OK, I will do it. On Monday, January 12, 2015 12:36:28 PM Daniel-Constantin Mierla wrote: > I don't do it and I am not aware of anyone else. You can do it. > > Cheers, > Daniel > > On 10/01/15 22:25, Sergey Okhapkin wrote: > > Is anybody working on implementation of geoip2 module for kamailio?

Re: [SR-Users] Redirect Server Including Path/Recieved Information

2015-01-12 Thread Alex Hermann
On Monday 12 January 2015, Daniel-Constantin Mierla wrote: > On 09/01/15 15:41, Ben Langfeld wrote: > > For the ease of future reference, it would appear that post > > was > > http://sr-dev.sip-router.narkive.com/bfyDpQ36/git-alexh-master-core-modu > > les-tm-modules-sl-make-adding-path-and-flags-t

Re: [SR-Users] Dispatcher Failover algorithm

2015-01-12 Thread Yuriy Gorlichenko
Daniel. Hello. I see changes at documentation about algorithms at 4.3 documentation for dispatcher. Now I see than 8 algo use priority. Not I set this algorithm to my servers but priority still not worked. my dispatcher settings Are modparam("dispatcher", "db_url",DBURL) modparam("dispatcher", "

Re: [SR-Users] xhttp_rpc - dispatcher html-rpc

2015-01-12 Thread Ovidiu Sas
Check if dispatcher.reload works via the rpc interface: kamcmd dispatcher.reload Also, which version of kamailio are you using: kamailio -V Regards, Ovidiu Sas On Mon, Jan 12, 2015 at 7:04 AM, Daniel-Constantin Mierla wrote: > Maybe you can run kamailio with debug=3 and see if you get anything u

[SR-Users] siputils: E164 check is broken

2015-01-12 Thread Seudin Kasumovic
Hi, The fix below is wrong, condition must be '<' instead of '<='. https://github.com/kamailio/kamailio/commit/fbcfa198a2c89868fa021f6a63774425e480b27b and backported in 4.2 https://github.com/kamailio/kamailio/commit/2d1032b3c8a1184357615b37da99dfd76526afa7#diff-d7b03e3862e552e90fe6f958ec0f3a12

Re: [SR-Users] siputils: E164 check is broken

2015-01-12 Thread Daniel-Constantin Mierla
Hello, that fix was actually changing: if (c < '0' && c > '9') return -1; to: if (c < '0' || c > '9') return -1; The rest was auto-indentation by the editor. Providing the details of like or pasting the code where you refer would make it easier to understand what do you mean, but I guess you

Re: [SR-Users] siputils: E164 check is broken

2015-01-12 Thread Seudin Kasumovic
Hi Daniel, Yes. Improper length check. Regards, Seudin On Mon, Jan 12, 2015 at 3:44 PM, Daniel-Constantin Mierla wrote: > Hello, > > that fix was actually changing: > > if (c < '0' && c > '9') return -1; > > to: > > if (c < '0' || c > '9') return -1; > > The rest was auto-indentation by the e

[SR-Users] Possible memory leak dealing with presence in kamailio

2015-01-12 Thread Nuno Reis
Hello all. I'm consistently watching a memory increase in kamailio when dealing with PRESENCE events, namely SIP PUBLISH events. The system eventually hangs running out of memory. This behavior is seen at least in kamailio 4.1 and 4.2. I'm currently using the latest stable 4.2.2. If I disable the

[SR-Users] event on table location Duplicate entry for key 'ruid_idx'

2015-01-12 Thread Yuriy Gorlichenko
Hello. We use 2 kamailio servers cluster and we have porblems with db. Database failed pecause of error: Could not execute Write_rows_v1 event on table production.location; Duplicate entry 'uloc-54aae947-86d-a67' for key 'ruid_idx', Error_code: 1062; handler error HA_ERR_FOUND_DUPP_KEY; the even

Re: [SR-Users] pua_subscribe and force_send_socket trouble

2015-01-12 Thread Mikko Lehto
Juha Heinanen : > in case of tcp (and tls) the source port is always a random one. > only the destination port can be predetermined. OK, thanks. I'll go with that then. Actually I can see non-random port with TLS... ...but that's with Homer + sip_trace() captured traffic. I'll write another thre

[SR-Users] TLS capture with sip_trace()

2015-01-12 Thread Mikko Lehto
Hi I am getting incorrect source port to Homer web while tracking outgoing request from my proxy to remote SIP server. Juha Heinanen wrote in another thread: > in case of tcp (and tls) the source port is always a random one. > only the destination port can be predetermined. Interface capture

Re: [SR-Users] Possible memory leak dealing with presence in kamailio

2015-01-12 Thread Kristian F . Høgh
Hi, I've been hunting a memory error in publish handling the last couple of days. The error is on our old but good 3.1.x presence server. Using memory debug, I located the memory leak in modules/presence/hash.c, function insert_phtable, line 492 (in trunk): p= (pres_entry_t*)shm_malloc(size); As