On Fri, Jan 19, 2018 at 11:59:52AM -0000, Dave & Hazel wrote:
MYSQL is enabled and the subscriber table is populated but I can dial in directly without being prompted for authentication. The clue may well be in the kamailio.cfg I've inherited.
This is a near default config, the AUTH route should work. There is a authentication IP whitelist in the address table, are you sending the INVITE from a whitelisted adress?
But "dial in directly" means that you can call a local extension? If so, that is allowed explicitly:
# if caller is not local subscriber, then check if it calls # a local destination, otherwise deny, not an open relay here