The description from asterisk for this is GotoIf(condition?[labeliftrue]:[labeliffalse]), however for me (being somewhat new to asterisk, and not fully understanding all the little bits, this was a bit confusing. A better way of describing this, at least for those of use new to asterisk, might be GotoIf(condition?[context,priority,labeliftrue]:[context,priority,labeliffalse]).
I have not used labels in the dial plan before, and when starting out with this application I read label to be a context. This lead me to write my dial plan similar to this..
[default]
exten => 100,1,GoToIf(condition?true,false)
[true]
exten => s,1,...
[false]
exten => s,1,...
In retrospect, it’s obvious what the documentation is saying, but as I said, not being familiar with labels, I was a bit lost.
Share list of files in DropBox Public folder
For Windows DropBox users. Here is a simple way to share list of links for your Public folder. This script doesn’t show files in sub-directories.
1. Create a makefilelist.bat file with script to list all files in directory.
2. Use Scheduled Tasks to run the .bat file Daily or Weekly, etc as needed; depending on how often you update files in DropBox Public.
3. Share the list file with “Copy Public Link”.
4. Open Public Link in a browser. You know have a list of all public files that is up-to-date.
You can see an example and download the makefilelist.bat file here:
http://dl.dropbox.com/u/4355901/index.html