Page tree
Skip to end of metadata
Go to start of metadata

About

FreeSWITCH supports a scheduler API that permits the application to create scheduled events that will fire at some point in the future. It also supports a few sample applications that make use of the scheduler as documented below:

 

 Click here to expand Table of Contents

Scheduled hangup dialplan application

  • The cause code is optional and the optional bleg keyword will only hangup the channel the current channel is bridged to if the call is in a bridge.

Scheduled hangup API function

  • The cause code is optional

Scheduled transfer dialplan application

  • The last 2 args (dialplan and context) are optional

Scheduled transfer API function

  • The last 2 args (dialplan and context) are optional

Scheduled broadcast dialplan application

  • The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.
  • The optional bleg/both parameter specifies which leg of the call to broadcast the file on. If not specified, the broadcast only occurs on the a-leg.

Scheduled broadcast API function

  • The optional !<cause_code> can be added to make the channel hangup after broadcasting the file.
  • The option bleg/both parameter specifies which leg of the call to broadcast the file on. If not specified, the broadcast only occurs on the a-leg.

Note: The new C functions in the core are documented in the Doxygen.

See Also