[Asterisk-Dev] Proposed patch.
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Fri Apr 29 13:48:55 MST 2005
On Friday 29 April 2005 15:09, Kevin P. Fleming wrote:
> Brian West wrote:
> > Are you be sarcastic or truthful? haha Because we do this in
> > frame.c already. Plus its a one time hit on load/reload.
>
> A one time hit? You are calling getenv() every time you see that
> pattern during a configuration load. In frame.c, it happens only if
> the user types that special command.
>
> Granted, it's not going to affect call handling performance, but it
> would still be better to just check it once during the load
> (since it can't change while Asterisk is still running)
Yes, it can.
SetVar(ENV(I_AM_NOT_AN_IDIOT)=1)
--
Tilghman
More information about the asterisk-dev
mailing list