[Asterisk-Users] #include not working with *1.0.9

Bryce Chidester bryce at rhinoequipment.com
Mon Jul 4 00:17:51 MST 2005


Just a thought, but I seem to recall that in the dialplan, inlcude  
and other similar statements are not prefixed by the hash character  
(#). Try "include => ".

-Bryce

On Jul 4, 2005, at 00:05, asterisk at io-networks.com wrote:

> We are running * V1.0.9 on a demo box.
>
> We have set up everything in our dialplan and we have a directory  
> where we store
> individual extension settings. That directory is called "extensions- 
> phones.d"
> and it contains a number of .conf files.
>
> In my extensions.conf file I have put a
>
> #include "extensions-phones.d/*.conf" in my [globals] context
>
> If we reload and restart *, and then try to dial one of the defined  
> extensions
> in the included directory, nothing...just "Service Unavailable".
>
>
> If I copy and paste a few of the extensions that are in the .conf  
> files directly
> into the [default] context of the extensions.conf file, the  
> extensions work.
>
> So it seems to me that the include statement no longer works in 1.0.9
>
> I figure this is the case, because we were running 1.0.5 and the  
> same config
> file worked fine.
>
>
> Anybody know what's going on?
>
> Brent




More information about the asterisk-users mailing list