Hello,<br><br><br>In Freepbx 2.10, for instance, you can read several instances of the following pattern :<br><br><br>In extensions.conf <br>#include extensions_additional.conf<br>#include extensions_custom.conf<br><br><br>
In extensions_additional.conf<br>[macro-hangupcall]<br>include => macro-hangupcall-custom<br>exten => s,1,Noop(foobar1)<br><br><br>In extensions_custom.conf<br>[macro-hangupcall-custom]<br>exten => s,1,Noop(foobar2)<br>
<br><br>When using "dialplan show s@macro-hangupcall", asterisk (1.8.12) displays both foobar1 and foobar2 dialplans, in this order.<br>Then asterisk ignores foobar2 dialplan and only run foobar1 diaplan.<br><br>
Would you rate this a bug or a feature ?<br>To me, asterisk should both :<br>1. list foobar2 dialplan first (with dialplan show) as the include statement is the first one,<br>2. run foobar2 dialplan it is the first listed.<br>
<br>Opinions ?<br>Suggestions ?<br><br>Regards<br><br>