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.
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,
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 Crainea raz...@opensips.org wrote:
Hi, Ryan!
Unfortunately calling loose_route twice won't do the trick. You'll somehow
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,
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'
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
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