Re: [OpenSIPS-Users] RTPEngine - garbage collector deletes active branch

2016-03-11 Thread sevpal
Hi, don’t send the rtpengine_delete command and let rtpengine handle it automatically. The logic is that, in a multi-branch call only one can answer, therefore there is only one established session even though multiple 'offers' . You can really only delete an established session, sending the d

Re: [OpenSIPS-Users] Reqriteuri question

2016-03-11 Thread Travis Manson-Drake
Alex, That's Brilliant. Works like a charm! Thank you -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Alex Balashov Sent: Friday, March 11, 2016 3:50 PM To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] Reqriteuri

Re: [OpenSIPS-Users] Reqriteuri question

2016-03-11 Thread Alex Balashov
Travis, rewriteuri() is a legacy core function that does not support PVs. Have you considered ...? # Option 1. $rU = $fU; $rd = $avp(variable); # Option 2. $ru = "sip:" + $fU + "@" + $avp(variable); -- Alex -- Alex Balashov | Principal | Evariste Systems LLC 1447 Peachtree S

[OpenSIPS-Users] Reqriteuri question

2016-03-11 Thread Travis Manson-Drake
Hello, Does anyone know how one might use core variables and pseudo variables when using rewriteURI I tried something like rewriteuri(sip:$fU@AVP(variable)); and it literally just re wrote the uri to that (no surprise here) Any ideas? Travis Manson-Drake Voice Systems Analyst Simply Bits, L

[OpenSIPS-Users] Write siptrace on "local" route

2016-03-11 Thread Daniel Zanutti
I'm trying to capture siptrace on local route like this: local_route { sip_trace(); } So when dialog module hangups a call, I'll get the siptrace of the BYE. This is not working. Is there any workaround? I'm using Opensips 1.11.6. Thanks ___ Use

[OpenSIPS-Users] I have changed the dbase.c source code. There was an unnecessary log.

2016-03-11 Thread Rodrigo Pimenta Carvalho
Hi. I'm using a release of OpenSIPS 2.1 from 2015. When I use avp_db_query to execute SQL Select, everything is ok. However if I use avp_db_query to execute, let's say, a SQL Update, there is a misinterpretation of a parameter in db_sqlite_free. The parameter _r will be null and the origina

Re: [OpenSIPS-Users] opensips sip trunk

2016-03-11 Thread Francjos
I forgot to say that the standby server is going to be running all the time in order the mechanism thas is configured on it and that controls if the master has fails , be able to do his job. Secondary, the provider allows only one registration per account. -- View this message in context: http

Re: [OpenSIPS-Users] opensips sip trunk

2016-03-11 Thread Francjos
Thank you John, i'll try what you advise me,if i have problem i'll again post my question maybe some else will help. Thank you -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/opensips-sip-trunk-tp7601999p7602000.html Sent from the OpenSIPS - Users mailing

[OpenSIPS-Users] opensips sip trunk

2016-03-11 Thread John Quick
Most of the parameters in uac_registrant can be left to take default values. However, you will need to set db_url and put data into the table. Mechanisms for automatic failover/clustering/master-slave operation is another subject - a large one. I believe there may be some new options in v2 that ca

Re: [OpenSIPS-Users] opensips sip trunk

2016-03-11 Thread Francjos
Thank you a lot John. and which exported parametres i have to choose because there are many. The second question is this: since i wish to use two opensips in redundant enrironnement (master and slave), how can i do so that, if the master goes down, the slave registers directly itself to the sip tr

[OpenSIPS-Users] opensips sip trunk

2016-03-11 Thread John Quick
Francjos, If your provider requires a registration for this sip trunk to work, then you will need to use the UAC REGISTRANT module. http://www.opensips.org/html/docs/modules/2.1.x/uac_registrant.html For calls you send to the provider, you could simply use the core function rewritehost() http://w

[OpenSIPS-Users] opensips sip trunk

2016-03-11 Thread Francjos
How to configure a SIP trunk in opensips?I'm using two opensips servers as load balancer and the scenario is that one and only one of the two opensips will connect to the sip server of the provider via a sip trunk. How can i configure opensips for that purpose? Thank you -- View this message i