miconda left a comment (kamailio/kamailio#4330)
The dispatcher was designed on matching the group and destination address, not the attributes (which were added later). If one needs other matching criteria, then C development has to be done. Contributions can be made with pull requests.