Templates and voicemail

asterisk certified 13.13 -cert 1
when templating users.conf

hasvoicemail = yes, is NOT overridable in individual mailboxes
hasvoicemail = no

Templates are just macros, that insert their contents at the beginning of the section that includes them.

There are two strategies used for reading parameters. One is to read everything, and then look to see if it is recognized. That results in the last value winning, and you get inheritance like behaviour.

The other is to try and read specific parameters. That results in the first one winning, and you don’t get typical inheritance behaviour. Whilst I haven’t checked the code in this case,I guess voicemail is using the second strategy, in which case it is a feature, not a bug.