[OpenSIPS-Users] SEMS 1.4.3 released
Hello, the SIP Express Media Server project happily announces the availability of the SEMS 1.4.3 release. This is a SEMS 1.4 series bugfix release and should be a drop-in replacement to 1.4 installations. For details of the changes see the changelog at http://ftp.iptel.org/pub/sems/1.4/1.4.3/CHANGELOG Please find sources at http://ftp.iptel.org/pub/sems/sems-1.4.3.tar.gz binary packages in the usual locations soon, and all documentation and links at http://iptel.org/sems If you are using custom applications which create outbound calls, please specifically test the behavior with the commit 26fdaa8e b/f: stopping failed outbound calls Many thanks to everyone who contributed with issue reports and patches! Best Regards Stefan Sayer SEMS - E stands for Express! ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Acc - Can't get db_extra_bye to work
Hello Ryan, In your case, as a temporary solution, you'd better use cachedb_local , as it would be much faster compared to get_dialog_info(). Regards Vlad Paiu OpenSIPS Developer http://www.opensips-solutions.com On 05/03/2012 07:57 PM, Ryan Bullock wrote: Thanks for the info Razvan. Looks like I may be able to use get_dialog_info() as well to get what I need before calling loose_route. On Wed, May 2, 2012 at 3:58 AM, Razvan Crainearaz...@opensips.org wrote: Hi, Ryan! Unfortunately calling loose_route twice won't do the trick. You'll somehow have to make sure that all AVPs are populated before calling loose_route the first time. My suggestion is to use CacheDB to keep info between INVITE and BYE and fetch the info before loose_route. Regards, -- Răzvan Crainea OpenSIPS Developer http://www.opensips-solutions.com On 05/01/2012 07:33 PM, Ryan Bullock wrote: Thanks for the response. I have not tried setting them before loose_route(). I guess my example is bad, because I need to access some dialog values before I can set the acc variables, and my understanding is that I cannot access dlg variables until I call loose_route (or match_dialog). Is their a way to do both? Would it hurt to call loose_route() twice? Regards, Ryan On Tue, May 1, 2012 at 1:14 AM, Razvan Crainearaz...@opensips.org wrote: Hi, Ryan! Have you tried to set the avp values before 'loose_route' call? Regards, -- Răzvan Crainea OpenSIPS Developer http://www.opensips-solutions.com On 04/28/2012 06:28 PM, Ryan Bullock wrote: Without any success I have been trying to get some values accounted using the 'db_extra_bye' parameter of the acc module. However, opensips still appears to always account the values as if they were taken from the original INVITE transaction and not the BYE. I have cdr accounting enabled, as well as several db_extra values. When a BYE is received I update a few avp variables. When I xlog these variables I can see that they are properly set, however opensips inserts empty values into the database. If I set these variables to something in the original INVITE, then that value will be accounted instead, but still not the updated value from the BYE. Has anyone been able to get this to work? Am I missing something obvious? Example Config: modparam(acc, db_extra_bye, call_val=$avp(call_val); bye_val=$avp(bye_val)) . .. if (loose_route()) { if (is_method(BYE)) $avp(call_val) = set; $avp(bye_val) = set; } } Thanks. Regards, Ryan ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Acc - Can't get db_extra_bye to work
I need these values to survive an opensips restart (we have dialog persistence to db for failover), so that rules out the cachedb_local. How slow is get_dialog_info() (I am going to guess it depends on the number of active dialogs)? Would a call to cachedb_memcached still be faster? Regards, Ryan On Fri, May 4, 2012 at 4:33 AM, Vlad Paiu vladp...@opensips.org wrote: Hello Ryan, In your case, as a temporary solution, you'd better use cachedb_local , as it would be much faster compared to get_dialog_info(). Regards Vlad Paiu OpenSIPS Developer http://www.opensips-solutions.com On 05/03/2012 07:57 PM, Ryan Bullock wrote: Thanks for the info Razvan. Looks like I may be able to use get_dialog_info() as well to get what I need before calling loose_route. On Wed, May 2, 2012 at 3:58 AM, Razvan Crainearaz...@opensips.org wrote: Hi, Ryan! Unfortunately calling loose_route twice won't do the trick. You'll somehow have to make sure that all AVPs are populated before calling loose_route the first time. My suggestion is to use CacheDB to keep info between INVITE and BYE and fetch the info before loose_route. Regards, -- Răzvan Crainea OpenSIPS Developer http://www.opensips-solutions.com On 05/01/2012 07:33 PM, Ryan Bullock wrote: Thanks for the response. I have not tried setting them before loose_route(). I guess my example is bad, because I need to access some dialog values before I can set the acc variables, and my understanding is that I cannot access dlg variables until I call loose_route (or match_dialog). Is their a way to do both? Would it hurt to call loose_route() twice? Regards, Ryan On Tue, May 1, 2012 at 1:14 AM, Razvan Crainearaz...@opensips.org wrote: Hi, Ryan! Have you tried to set the avp values before 'loose_route' call? Regards, -- Răzvan Crainea OpenSIPS Developer http://www.opensips-solutions.com On 04/28/2012 06:28 PM, Ryan Bullock wrote: Without any success I have been trying to get some values accounted using the 'db_extra_bye' parameter of the acc module. However, opensips still appears to always account the values as if they were taken from the original INVITE transaction and not the BYE. I have cdr accounting enabled, as well as several db_extra values. When a BYE is received I update a few avp variables. When I xlog these variables I can see that they are properly set, however opensips inserts empty values into the database. If I set these variables to something in the original INVITE, then that value will be accounted instead, but still not the updated value from the BYE. Has anyone been able to get this to work? Am I missing something obvious? Example Config: modparam(acc, db_extra_bye, call_val=$avp(call_val); bye_val=$avp(bye_val)) . .. if (loose_route()) { if (is_method(BYE)) $avp(call_val) = set; $avp(bye_val) = set; } } Thanks. Regards, Ryan ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users