[OpenSIPS-Users] Understanding async support in 2.x
Christian Lahme
christian.lahme at secusmart.de
Sat Feb 27 12:15:11 CET 2016
Hi everybody,
I understood, that
route {
async(avp_db_query("select some_bla from some_table where somevar = 'somekey';", $avp(some_bla)), resume_some_blah);
xlog("xlog bla");
}
route[resume_some_blah] {
# do something
}
wan’t call the xlog in first route.
But what about
route {
route(some_blah);
xlog("xlog bla");
}
route[some_blah] {
async(avp_db_query("select some_bla from some_table where somevar = 'somekey';", $avp(some_bla)), resume_some_blah);
}
route[resume_some_blah] {
# do something
}
Will xlog be called?
Best regards
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160227/c9b9cc6f/attachment.htm>
More information about the Users
mailing list