|Ismerje meg, hogyan tudja beállítani és használni a legkorszerűbb mobil, VoIP, SMS és web funkciókat.|
The DeleteFile command is used for deleting your source file what you do not need anymore from a specified directory. Important to mention that you only can delete from stated directories like the directory at that location where you installed the Ozeki Phone System XE, the Voicemails directory which contains the old, new and the attachment directories of an extension and the directory of the uploaded files.
It is widely used as a Voicemail functionality (for more information about the Voicemail please click here) when you would like to remove your listened old messages.
|Your chosen file to delete from the directory. This is the full access path of the file.||Yes|
<?xml version="1.0"?> <Response> <ForEach source='oldvoicemails'> <DeleteFile>$item.message</DeleteFile> </ForEach> </Response>
<?xml version="1.0"?> <Response> <UserInput repeat ='true'digits ='1'> <InitialCommands> <Speak>This is the voicemail of user $username .</Speak> <Speak>To listen to your old messages, press 1.</Speak> <Delay>5</Delay> </InitialCommands> <Inputs> <Input key ='1'> <ForEach source ='oldvoicemails'> <Speak>This voicemail has been recorded at $item.date from $item.from .</Speak> <Play>$item.message</Play> <UserInput digits ='1' timeout ='3'> <InitialCommands> <Speak>To delete this message, press 1.</Speak> </InitialCommands> <Inputs> <Input key ='1'> <DeleteFile>$item.message</DeleteFile> </Input> </Inputs> </UserInput> </ForEach> <Speak>End of old messages.</Speak> </Input> </Inputs> </UserInput> </Response>