[asterisk-users] Re: extensions.conf #include behaviour

Tony Mountifield tony at softins.clara.co.uk
Thu Apr 19 06:37:25 MST 2007


In article <021801c78271$5db02a10$19107e30$@cc>,
Chris Bagnall <lists at minotaur.cc> wrote:
> 
> A quick question regarding extensions.conf #include behaviour if I may. I'm sure someone
> will know the answer off the top of their head...
> 
> How does asterisk handle "overloading" of contexts. For example, say an extension exists in
> extensions.conf as follows:
> 
> [incoming]
> <some stuff>
> 
> Then one includes a, b and c.conf, each of which also contains:
> 
> [incoming]
> <more stuff - but none identical to the other incoming sections>
> 
> Would the last #include overwrite the whole [incoming] context, or would it simply append
> the new directives to it?

If Asterisk accepts it without error, then you can see how it has interpreted
it by using the CLI command "show dialplan".

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org


More information about the asterisk-users mailing list