Functions and dialplan global variables

I was surprised that functions were expanded at all in this context. Most people wouldn’t try, which is probably why there is no load order dependency for this.