Re: [OpenSIPS-Users] Fix_nated_SDP works very well. How to do more changes in the SDP?

2016-04-18 Thread Daniel Zanutti
Hi Rodrigo In theory you can modify any SIP/SDP using text ops: http://www.opensips.org/html/docs/modules/1.6.x/textops.html#id293600 I don't know any other way... Regards On Mon, Apr 18, 2016 at 6:17 PM, Rodrigo Pimenta Carvalho wrote: > > Hi. > > > Fix_nated_sdp() function works very well

[OpenSIPS-Users] Fix_nated_SDP works very well. How to do more changes in the SDP?

2016-04-18 Thread Rodrigo Pimenta Carvalho
Hi. Fix_nated_sdp() function works very well. I can fix IPs in my SDP, for attributes "o" and "c'. However, due to a particular desire of my customer, I have to change more others IPs in my SDP. How to do it? Is it possible? For example, how to change the pointed IP seen bellow: v=0 o=-

Re: [OpenSIPS-Users] How to avoid increasingly memory comsuption with AVPs?

2016-04-18 Thread Rodrigo Pimenta Carvalho
Hi Liviu. When I use "modparam("usrloc", "db_mode", 1)" the following query works fine and gives me the right result: avp_db_query("select attr from location where contact like '$(ct.fields(uri){s.select,0,;})%' and username = '$fU'", "$avp(caller)"); When I use "modparam("usrloc", "db_mod

Re: [OpenSIPS-Users] Call-id issue in Cancel message generated by tm / $T_fr_inv_timeout

2016-04-18 Thread John Nash
which revision this was fixed?...I am also using OpenSips 2.1.2 and want to update only this change for the time being (2.2 has many changes) On Thu, Feb 11, 2016 at 7:19 PM, Julian Santer wrote: > Bogdan, > > we tried now the latest GIT release and it works like a charm ;-) > Thank you for quic

Re: [OpenSIPS-Users] How to avoid increasingly memory comsuption with AVPs?

2016-04-18 Thread Rodrigo Pimenta Carvalho
Ok. Thank you. I will try it. Best regards. RODRIGO PIMENTA CARVALHO Inatel Competence Center Software Ph: +55 35 3471 9200 RAMAL 979 De: users-boun...@lists.opensips.org em nome de Liviu Chircu Enviado: segunda-feira, 18 de abril de 2016 10:50 Para: users

Re: [OpenSIPS-Users] How to avoid increasingly memory comsuption with AVPs?

2016-04-18 Thread Liviu Chircu
Yes you can, "db_mode" of the usrloc module has nothing to do with "avp_db_query" from the avpops module! :) Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 18.04.2016 15:10, Rodrigo Pimenta Carvalho wrote: Hi Liviu. Thank you very much! So, I'm comfortable with OpenSI

Re: [OpenSIPS-Users] How to avoid increasingly memory comsuption with AVPs?

2016-04-18 Thread Rodrigo Pimenta Carvalho
Hi Liviu. Thank you very much! So, I'm comfortable with OpenSIPS. In my OpenSIPS config file I have: loadmodule "usrloc.so" modparam("usrloc", "db_mode", 2) Can I change db_mode to zero and still have every avp_db_query working well? That is, with db_mode=0 I will avoid using Sqlite an

Re: [OpenSIPS-Users] Problem using a shared usrloc table with NAT Ping (OPTIONS) on both opensips instances

2016-04-18 Thread Max Mühlbronner
Great, this could be the solution to my problem. I had no idea, i will look into it. Thanks very much. Best Regards Max M. On 18.04.2016 12:21, Benjamin Cropley wrote: Maybe you can use the nat_keepalive function of the nat_traversal module instead of automatic keep alive checks? On Mon,

Re: [OpenSIPS-Users] Problem using a shared usrloc table with NAT Ping (OPTIONS) on both opensips instances

2016-04-18 Thread Benjamin Cropley
Maybe you can use the nat_keepalive function of the nat_traversal module instead of automatic keep alive checks? On Mon, Apr 18, 2016 at 11:07 AM, Max Mühlbronner wrote: > I just found this bug which turned into a feature request (from 2012) > someone else had exactly the same problem: > > htt

Re: [OpenSIPS-Users] Problem using a shared usrloc table with NAT Ping (OPTIONS) on both opensips instances

2016-04-18 Thread Max Mühlbronner
I just found this bug which turned into a feature request (from 2012) someone else had exactly the same problem: https://sourceforge.net/p/opensips/feature-requests/99/ @Bogdan, if for whatever reason the table is being shared by two Opensips instances (In my case it's not for balancing/failo

Re: [OpenSIPS-Users] How to avoid increasingly memory comsuption with AVPs?

2016-04-18 Thread Liviu Chircu
The generic DB backend from OpenSIPS is built to re-use any connection. Just to make it clear, from a network point of view, SQLite is connection-less, since, after all, it's just a bunch of files with some libraries that work on top of them. Regarding the leak, sqlite3_open() is not an OpenSI