How to do While loop in Asterisk dial plan

You may use GotoIf building block (conditional branching) to make While loop.
GotoIf block is available at CallFlow sheet.

Here is an example how to use GotoIf block to make While loop:

Asterisk dial plan while loop