Return()
Return()
Gosub()
oder
GosubIf()
aufgerufen wurde, zu der Anweisung zurück, die im
Dialplan auf den Sprungbefehl folgt.exten => 123,1,Playback(tt-monkeys) exten => 123,n,Gosub(mein-unterprogramm,s,1) exten => 123,n,Playback(tt-monkeys) exten => 123,n,Hangup() [mein-unterprogramm] exten => s,1,Playback(tt-weasels) exten => s,n,Return()
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about application 'Return' =-
[Synopsis]
Return from gosub routine
[Description]
Return()
Jumps to the last label on the stack, removing it.
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -4,5 +4,6 @@
Return from gosub routine
[Description]
- Return()
- Jumps to the last label on the stack, removing it.
+ Return([return-value]):
+ Jumps to the last label on the stack, removing it. The return value, if
+ any, is saved in the channel variable GOSUB_RETVAL.