Returns from a subroutine.
Return()
Returns from a subroutine called by
Gosub() or
GosubIf() to the priority immediately
following the Gosub() or
GosubIf() that called the subroutine.
exten => 123,1,Playback(tt-monkeys) exten => 123,n,Gosub(my-subroutine,s,1) exten => 123,n,Playback(tt-monkeys) exten => 123,n,Hangup() [my-subroutine] exten => s,1,Playback(tt-weasels) exten => s,n,Return()
|
|
|
Internal help for this application in Asterisk 1.4: -= Info about application 'Return' =- [Synopsis] Return from gosub routine [Description] Return() Jumps to the last label on the stack, removing it. diff output to internal help in Asterisk 1.2: - none - |
See also. the section called “Gosub()”, the section called “GosubIf()”