B.99. Return()

Returns from a subroutine.
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()

exten => s,1,Playback(tt-weasels)
exten => s,n,Return()


Internal help for this application in Asterisk 1.4:
  -= Info about application 'Return' =- 

Return from gosub routine

  Jumps to the last label on the stack, removing it.
diff output to internal help in Asterisk 1.2:
- none -