[OpenSIPS-Users] Async event_route and cachdb_redis

SamyGo govoiper at gmail.com
Sun Jun 19 19:56:24 CEST 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160619/676998cf/attachment.htm>


More information about the Users mailing list