Misc Javascript functions

From FreeSWITCH Wiki
Jump to: navigation, search

Methods

  • apiExecute - Execute a FreeSWITCH API.
  • bridge - Bridge a caller to another endpoint.
  • console_log - Log a text string to the console.
  • email - Send an E-mail message.
  • FileDelete - Deletes a file.
  • exit - Stop executing javascript and exit.
  • include - Include another JavaScript file.
  • system - Execute an external command.
  • getGlobalVar - Get a global variable (shared by all channels)
  • setGlobalVar - Set a global variable (shared by all channels)
  • use - Load a module.