I had trouble finding correct syntax with db_text backend, this patch helped me
https://github.com/kamailio/kamailio/pull/220
—Reply to this email directly or view it on GitHub.