[Asterisk-Users] asterisk-wide variables

Darryl Ross darryl at oeg.com.au
Tue Aug 17 17:37:41 MST 2004


Hi Rene,

> As an example: I set the gateway's telephone number both in
> extensions.conf, oh323.conf and phones.conf but I don't want to change
> the same data in three separate files whenever I want to set a different
> telephone number for the gateway.

I have no idea whether this would work or not, but couldn't you do a

#include vars.conf

in the relevant places in extensions.conf, oh323.conf and phones.conf 
and then define the variables in vars.conf ??


-- 
Darryl Ross
Senior Network Engineer
OEG Australia
Email: darryl at oeg.com.au
Phone: 08 81228363
Office: 08 81226361

If you want to live up to the whole "There is more than one way to
     do it" slogan, you have to give someone a swiss army chainsaw ...



More information about the asterisk-users mailing list