[Asterisk-Users] Global Variables Scope
Leif Madsen
leif.madsen at gmail.com
Mon Jul 26 20:26:34 MST 2004
On Mon, 26 Jul 2004 17:07:50 -0400, Mike Coakley <mcoakley at ioumail.com> wrote:
> Can you use the global variables set in the [globals] section of the
> extension.conf file in other configuration files?
I haven't tried, but I am under the impression these variables are
only extensions.conf global wide, not *.conf scope.
<snip>
> And for those of you wondering... yes I have tried it and it appears to
> work, partially. I use it in voicemail.conf and sip.conf and it can
> screw up SIP registration depending upon the way I put the
> configuration. So that is why I am asking. Should I be able to do this?
> If so, it isn't working properly. If not... back to the keyboard I have
> to retype a lot of things.
#include is able to be used in all .conf files. Perhaps you just need
to do an #include in each file to allow this. That seems to make
sense.
HTH,
Leif Madsen
http://www.asteriskdocs.org
More information about the asterisk-users
mailing list