Skip to content

GOSUB

Synopsis

Cause the channel to execute the specified dialplan subroutine.

Description

Cause the channel to execute the specified dialplan subroutine, returning to the dialplan with execution of a Return().

Syntax

GOSUB CONTEXT EXTENSION PRIORITY OPTIONAL-ARGUMENT 
Arguments
  • context

  • extension

  • priority

  • optional-argument

See Also

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT