login | register
Thu 04 of Dec, 2008 [02:21 UTC]

voip-info.org

Discuss [0] History

Asterisk func env

Created by: murf,Last modification on Sat 14 of Jan, 2006 [05:50 UTC]

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



Comments