Hi, Sammy!

Could you try this patch:

https://gist.github.com/razvancrainea/9d239c82474bb0f1c403b6459dbdb647

Thanks,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 06/19/2016 08:56 PM, SamyGo wrote:
Hi,
I'm seeing errors from cachedb_redis module when called in an event route in async mode.

event_route[E_UL_CONTACT_INSERT,async] {
...
cache_raw_query("redis:group1","SET ABC");
..

}

OpenSIPS throws error stating that redis group1 unavailable

DBG:core:cachedb_raw_query: from script [redis] - with grp [group1]
ERROR:core:cachedb_raw_query: failed to get connection for grp name [group1]

I tried same command in main route of reply route, all works normal. if I remove the "async" from the event_route definition it works in event route.

Any logical reason why async route don't recognize the connections ?

Tried with OpenSIPS 2.2 and 2.1 as well, same behavior.


Regards,
Sammy



_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to