[SR-Users] Kamailio v4.2.3 Released

2015-02-10 Thread Daniel-Constantin Mierla
Hello, Kamailio SIP Server v4.2.3 stable release is out. This is a maintenance release of the latest stable branch, 4.2, that includes fixes since release of v4.2.2. There is no change to database schema or configuration language structure that you have to do on installations of v4.2.x.

[SR-Users] Issues while using Kamailio as proxy with Asterisk

2015-02-10 Thread Juned Khan
Hi All, I am using Kamailio as proxy server with Asterisk but having some issues with Inbound and outbound calls. Asterisk is a registrar, Kamailio is a just for proxy. Using softphone call are working fine but using hardphone, its creating issues. Here are the test cases. No

Re: [SR-Users] Wrong location entries when using usrloc with Mongo

2015-02-10 Thread Mickael Marrache
Hi, Sorry for the late reply, I had to reinstall my whole Kamailio + Mongo environment. The issue is still present with the last changes. When reproducing the issue, I see the following log: [31723]: DEBUG: db_mongodb [mongodb_dbase.c:851]: db_mongodb_query(): query to collection

Re: [SR-Users] Kamailio appends firs inserted branch twice

2015-02-10 Thread Daniel-Constantin Mierla
Execution of a branch_route[X] block is independent of lookup(location) -- it is a matter of using t_on_branch(X) before t_relay(). If you look at the default kamailio.cfg, then you see that lookup location is used as well as t_on_branch(). A simplified snippet example would be: request_route {

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

2015-02-10 Thread Nuno Reis
Just to be clear. The memory is in Kilobytes (kB). -- *Nuno Miguel Reis* | *Unified Communication** Systems* M. +351 913907481 | nr...@wavecom.pt WAVECOM-Soluções Rádio, S.A. Cacia Park | Rua do Progresso, Lote 15 3800-639 AVEIRO | Portugal T. +351 309 700 225 | F. +351 234 919 191 *GPS

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

2015-02-10 Thread Nuno Reis
Hi Daniel. Thank you for your suggestion and feedback on this. I've tried that already and here's what I've found after 15h on a running kamailio: All records in pua and presentity DB tables are gone by the end of the day, so the expire time seems to be working. I still see system memory growing

Re: [SR-Users] Presence module for BLF issue

2015-02-10 Thread SamyGo
Hello Again, Thanks for the great and timely help Daniel. Finally adjusted the BLF lights. Only couple of things, which I'm sure are some functions missing the call flow, are: 1- When users register or un-register the BLF don't update anything though NOTIFY are triggered. 2- When call comes from

Re: [SR-Users] Planing to release Kamailio v4.2.3

2015-02-10 Thread Daniel-Constantin Mierla
Hello, short reminder that I am going to push v4.2.3 out later today. If anyone needs to push a patch to branch 4.2 after 12:00GMT, write to sr-dev mailing list and wait for an answer. Cheers, Daniel On 03/02/15 14:01, Daniel-Constantin Mierla wrote: Hello, I am planning to release a new

Re: [SR-Users] Facing kamailio issue

2015-02-10 Thread Olle E. Johansson
On 09 Feb 2015, at 17:36, taha zafar tahaza...@eocean.com.pk wrote: Dear Kamailo team, I am facing problem in connecting kamailio on TLS, even kamailio is listening perfectly. TLS certificate are also tested. To get help more quickly, it would really help if you pointed out the problem

Re: [SR-Users] Presence module for BLF issue

2015-02-10 Thread Daniel-Constantin Mierla
Hello, ok, good that is working better now. I will also look more into these module in the near future. I think the Expires value must be different based on state, e.g., trying and ringing should be shorter than active call. Cheers, Daniel On 10/02/15 10:27, SamyGo wrote: Hi Daniel, This has

Re: [SR-Users] Presence module for BLF issue

2015-02-10 Thread SamyGo
Hi Daniel, This has helped us substantially, I've added few more lines in the config and seems we've working BLF now. I'll share the results when we complete the tests. Thanks alot for the timely help. BR, Sammy On Mon, Feb 9, 2015 at 11:24 AM, Daniel-Constantin Mierla mico...@gmail.com wrote:

[SR-Users] Kamailio appends firs inserted branch twice

2015-02-10 Thread Yuriy Gorlichenko
Hello I use this version of kamailio kamailio -v version: kamailio 4.3.0-dev3 (x86_64/linux) 8cdbe7 flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,

Re: [SR-Users] Kamailio appends firs inserted branch twice

2015-02-10 Thread Daniel-Constantin Mierla
Hello, r-uri itself is a branch. Practically, an append_branch() in request_route is adding a new destination in addition to r-uri address. Maybe you can explain why lookup(location) is not working for you, as it is updates the branch for r-uri as well as adds the other contacts as extra

[SR-Users] Using MariaDB with sqlops sql_query_async

2015-02-10 Thread davy van de moere
Does anyone know if the async queries of kamailio work with mariadb? I'm on kamailio 4.2.3, and I can't get the async way of querying to work. I don't get any errors, but I don't see the queries to be executed. the relevant part of my config is: loadmodule db_mysql.so loadmodule sqlops.so

Re: [SR-Users] Using MariaDB with sqlops sql_query_async

2015-02-10 Thread Daniel-Constantin Mierla
Hello, have you set the core async workers parameter? - http://www.kamailio.org/wiki/cookbooks/4.2.x/core#async_workers Cheers, Daniel On 10/02/15 19:44, davy van de moere wrote: Does anyone know if the async queries of kamailio work with mariadb? I'm on kamailio 4.2.3, and I can't get the

Re: [SR-Users] Issues while using Kamailio as proxy with Asterisk

2015-02-10 Thread Muhammad Shahzad
Seems to me that your ATA has wrong DNS configuration, since with IP it works fine, with domain name it doesn't. If you are using public domain name (resolvable by public dns), then perhaps you may use google DNS server in your ATA box, i.e. 8.8.8.8 and 8.8.4.4 If you are using private domain

Re: [SR-Users] Using MariaDB with sqlops sql_query_async

2015-02-10 Thread davy van de moere
Nope, and that was exactly the issue! With the async module added to it, it just works. It wasn't clear out of the documentation for me, but it makes a whole lot of sense now ;) Thank you Daniel, for being our light in our dark moments ;) 2015-02-10 19:57 GMT+01:00 Daniel-Constantin Mierla

[SR-Users] Log Media IP

2015-02-10 Thread Ryan Brindley
Hey community, What's the best way to pull out the media ip from the SIP INVITE body (for logging)? Ryan Brindley ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] Using dialog_ng

2015-02-10 Thread Jason Penton
Hi Shane, Please make sure you create a new transaction using t_newtran() if t_check_trans() fails. Dialog will not be tracked if there is no transaction. Cheers Jason On Sun, Feb 8, 2015 at 11:42 PM, Shane Harrison shane.harri...@imgtec.com wrote: Hi Jason, Appreciate the reply. Below

Re: [SR-Users] Setting dialog variable when BYE is received before accounting

2015-02-10 Thread Daniel-Constantin Mierla
Hello, iirc, the $dlg_var(...) can have only string value. Can you try the assignments with values 700 and 701? Otherwise, I tested and if a dlg_var si set for BYE, it appears in acc cdr. Cheers, Daniel On 29/01/15 12:20, Mickael Marrache wrote: Hi, Is there a way to set a dialog

Re: [SR-Users] Kamailio appends firs inserted branch twice

2015-02-10 Thread Yuriy Gorlichenko
I need to handle every route with rtpengine depending websocket it or not (branch_route[1] at my first message). Lookup keep handling close with branch route. So I can not understand how send to branch_route with lookup function. 2015-02-10 14:17 GMT+03:00 Daniel-Constantin Mierla