ForEach command
The ForEach loop command is for going through on the elements and items of an array which you can specify with the Array ID of it. It is widely used as a Voicemail functionality when you would like to listen to all of your new or old messages and for example you would like to reach who was the sender of the message and when did it arrived.
Parameters
Parameter name | Example value | Description | Mandatory |
Source | sampleArray | This is the ID of an array which you want to iterate in it. | yes |
OzML example
The following OzML example iterates through the 'sampleArray' array, and read out all of its items with the Speak command.
<?xml version="1.0"?> <Response> <ForEach source='sampleArray'> <Speak>$item</Speak> </ForEach> </Response>
More information
- AttendedTransfer parancs
- BlindTransfer parancs
- Hívás parancs
- ForwardCall parancs
- ListCallHistory parancs
- Hangup parancs
- Hold parancs
- ListActiveCalls parancs
- ListExtensions parancs
- ListExtensionTypes parancs
- Lejátszás parancs
- Felvétel parancs
- Kérés parancs
- SendDTMF parancs
- Beszéd
- Unhold parancs
- ReceiveMessage parancs
- SendEmail parancs
- SendMessage parancs
- SendSMS parancs
- Tömb parancs
- Beep parancs
- Késleltetés parancs
- DeleteFile parancs
- ForEach parancs
- GoTo parancs
- MoveFile parancs
- Elutasítás parancs
- Útvonal parancs
- SendAlarmNotification parancs
- SendMsg parancs
- UserInput parancs
- Var parancs
- WaitForMsg parancs
- CallSetup parancs
- Kilépés parancs
- ListAddressbokkContacts
- ListAddressbookNames parancs
- ReceiveAlarmNotification