Search:
     
3CX Phone System for Windows Download the Free Edition

Asterisk func env

Synopsis:

 Gets or sets the environment variable specified

Description:

 ENV(<envname>)
 


Notes

  • This function may be both read from and written to.
  • *CLI> show function ENV

Return value

Returns the resulting string.

Example

exten => s,1,Set(foo=${ENV(HOME)})

exten => s,1,Set(ENV(HOME)=/Foo-Fighters)

See also


Created by: murf,Last modification on Fri 05 of Nov, 2010 [09:22 UTC] by admin


Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

 





Search: