I am reading about this, wiki.asterisk.org/wiki/display/AST/Objects
but I am a little bit confuse about the difference between Objects and Settings. And also this example
In this example, object1 inherits both label1 and label2 (why ??). It is important to note that object2 also inherits label2 (how we could know from this script that object2 inherits label2 ),… along with label1 (with the new overridden value value0) and label3.
In short, objects inherit all the settings defined above them in the current section, and later settings override earlier settings.
With object setting, the section is processed sequentially and the values are saved on the => line.
For ordinary setting files, sometimes the code scans the section and looks up the option names and sometimes it goes through a list of possible options and looks them up in the section. This produces different results if there are multiple definitions.
Members in queues.conf
Groups in a chan_dahid.conf
Technically, I think exten lines in extensions.conf, but that, I think, is a degenerate case.
I haven’t checked, but I think log files in logger.conf