in xmpp module document there is openser.cfg fragment:
### ---8<--- cut here ---8<--- ###
if (search("To:.*@sip-xmpp\.openser\.org")) {
if (!t_newtran()) {
sl_reply_error();
...........
why search on To header rather than
if (avp_check("$ru", "eq/s:sip-xmpp.openser.org")) {
-- juha