This replaces `inbound-reg-force-matching-username` profile option. So if your extension has number-alias you can use UserID=number-alias AuthID=Extension It also supports such check on INVITE not only on REGISTER.
require "resources.functions.config"