Re: [OpenSIPS-Users] registration timeout events?

2011-03-03 Thread Bogdan-Andrei Iancu
Hi Paul, Right now there is no way for an external application to find out when a registration do timeoutWell there is a really ugly hack - use DB support for usrloc (preferable db_mode WRITE_THROUGH) and install in DB usrloc table a trigger on DELETE query - this will be triggered each

Re: [OpenSIPS-Users] PATCH: avp_db_query() return codes

2011-03-03 Thread Bogdan-Andrei Iancu
Hi John, Following our chat on IRC, I would like to update also the list here. As said, currently we are looking into the possibility to extend the mechanism of error handling in OpenSIPS - the idea is, instead of keep testing all script functions for error cases, we should have an automatic

[OpenSIPS-Users] check VIA Header / regexp + variables?

2011-03-03 Thread Max Mühlbronner
Hello, i want to perform a check on the VIA Headers, basically to compare if the source ip ($si) is included in one of the VIA Headers. Already tried several things, but it seems like there is no way to check for a variable in a regexpression, maybe someone got a solution or tried something

Re: [OpenSIPS-Users] Upgrade from openser 1.3 to opensips 1.6

2011-03-03 Thread Andrew O. Zhukov
Thanks Bogdan for a clear answer. Small note regarding Example 1.23. rtpproxy_offer usage: in the onreply_route[2] rtpproxy_offer(); will be newer called. Just a dead code. :) It was the reason of my algorithm misunderstanding. ___ Users mailing

Re: [OpenSIPS-Users] check VIA Header / regexp + variables?

2011-03-03 Thread Bogdan-Andrei Iancu
Hi Max, What you can do is: 1) get the via body: $avp(i:1) = $(hdr(via)[0]) ; 2) make subst over the body to get the IP avp_subst($avp(i:1)/$avp(i:2) , /.*UDP ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/); 3) make the test if ($avp(i:2)==$si) {} Regards, Bogdan PS: I

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Denis Putyato
Hello, Bogdan When can I see information about the bug? Thank you -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu Sent: Friday, February 25, 2011 6:33 PM To: OpenSIPS users mailling list Subject: Re:

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Bogdan-Andrei Iancu
Hi Denis, This is work on progress from Razvan - he will update you soon. Regards, Bogdan Denis Putyato wrote: Hello, Bogdan When can I see information about the bug? Thank you -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Ovidiu Sas
On the main opensips.org page there is a section called Development (left bottom corner). Click on Tracker and follow the links. Regards, Ovidiu Sas On Thu, Mar 3, 2011 at 7:54 AM, Denis Putyato denis7...@mail.ru wrote: Hello, Bogdan When can I see information about the bug? Thank you

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Denis Putyato
Thank you very much! -Original Message- From: sip.n...@gmail.com [mailto:sip.n...@gmail.com] On Behalf Of Ovidiu Sas Sent: Thursday, March 03, 2011 4:14 PM To: OpenSIPS users mailling list Cc: Denis Putyato Subject: Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB On

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Denis Putyato
Thank you very much! -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Bogdan-Andrei Iancu Sent: Thursday, March 03, 2011 4:14 PM To: OpenSIPS users mailling list; Razvan Crainea Subject: Re: [OpenSIPS-Users] Dialog module

Re: [OpenSIPS-Users] How to use sst to account missing BYEs

2011-03-03 Thread Ronald Cepres
Hi Bogdan, I see the Session-Timer header sent to callee. In most cases, only the callee supports SST. I can also see the re-INVITE coming from the callee but after the duration of session interval, the dialog associated with the call gets expired and probably destroyed. What could possibly be

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Razvan Crainea
Hello Denis, I have just added a patch in trunk that fixes this issue. Please update your sources and let me know if the problem persists. Regards, Razvan On 03/03/2011 03:21 PM, Denis Putyato wrote: Thank you very much! -Original Message- From: sip.n...@gmail.com

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Denis Putyato
Hello Razvan During restart Mar 3 18:08:38 opensips /usr/local/opensips1.6.4-2/sbin/opensips[22252]: ERROR:acc:acc_loaded_callback: cannot fetch flags string value usr/local/opensips1.6.4-2/sbin/opensipsctl fifo ps Process:: ID=0 PID=22252 Type=attendant Process:: ID=1 PID=22254 Type=RTPP

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Razvan Crainea
Hello Denis, The patch makes some changes to acc and dialog modules. Please make sure you re-built them both. Regards, Razvan On 03/03/2011 05:11 PM, Denis Putyato wrote: Hello Razvan During restart Mar 3 18:08:38 opensips /usr/local/opensips1.6.4-2/sbin/opensips[22252]:

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Denis Putyato
Razvan I re-built them both and receive the ERROR -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Razvan Crainea Sent: Thursday, March 03, 2011 6:33 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Dialog

[OpenSIPS-Users] NEW: parallel forking support in b2b module (only top hiding scenario)

2011-03-03 Thread Ovidiu Sas
Hello all, A new feature is available in the trunk for the b2b modules: parallel forking. The feature is available *only* for top hiding scenario. If a user is registered from multiple locations and a lookup is performed before relaying the call in b2b mode, an INVITE will be sent to all

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Razvan Crainea
Hello Denis, The acc module needs a new variable stored in the database. If you did your test with your old dialog records, it is normal to appear that error. Please try to restart OpenSIPS with a fresh dialog ongoing and let me know if the ERROR still appears. Regards, Razvan On

Re: [OpenSIPS-Users] Dialog module app callback hooks not saved to DB

2011-03-03 Thread Denis Putyato
Hello Razvan Yes, I restarted opensips during fresh dialog ongoing and there is no ERROR. Besides, there is a CDR record in DB after opensips restart Thank you very much! -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of