Hello,

Reading back this thread which enhances templating behaviour, I would
like to ask if the same kind of improvement could be looked at with
setvar statements in config files.

If I'm not mistaken (I didn't checked with Asterisk 13) , when the
following is applied, variable foo is valued to a somehow surprising
"ON OFF" where I would expect a simple OFF value.

[foo](!)
setvar=foo=ON
setglobvar=bar=ON

[bar](foo)
setvar=foo=OFF
setglobvar=bar=OFF


Maybe a new keyword (setglobvar in the above example) could introduce
desired behaviour (with bar valued to OFF) ?

Thoughts ?

Regards

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to