I have tried using #include in the files that I want the
globalvars.conf file in and according to the CLI startup I can see that
the file is getting processed correctly. But as I said the behavior
doesn't seem consistent where the variable substitution seems to work
in some places but not others (outside of extensions.conf of course).
So I am wondering if it is a bug or it shouldn't be working in other
files and I'm just seeing the affect of the same config parsing
routines. This question might be better asked on the dev list since it
appears it could be a coder answer.
Mike
On Jul 26, 2004, at 11:26 PM, Leif Madsen wrote:
On Mon, 26 Jul 2004 17:07:50 -0400, Mike Coakley
<[EMAIL PROTECTED]> 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
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users