miconda left a comment (kamailio/kamailio#4236)
I haven't implemented that matching mode and it was a bit weird from the beginning (weight of matching socket is higher than port+proto), anyhow, what you commented seemed valid, the continue statements were preventing the setting of a matching node. I pushed a commit for it, try to see if it solves it.