CreatingProjectAndSaflet
Creating a Project and Saflet
Project
A Project in SafiServer is folder that contains applications (called Saflets). The Project name is also used when initiation a Saflet (i.e. project_name/saflet_name).
To create a project go to: File::New::New Safi Project
This will bring up the New Project dialog. Fill in the Project Name field with the name of the project you wish to create and press Finish:
Your newly created project will appear in the Navigator:
NOTE: The question mark decorator on the folder means that this project has not yet been published to the SafiServer; this will change once the project has been Published
Saflet
Saflets are applications created with SafiWorkshop and ran on SafiServer.
To create a Saflet; right-click on the Project you want to create the Saflet in and select New Saflet:
This will bring up the Saflet File dialog. Here you have the choice of selecting the Project you want to create the Saflet in, the Saflet name and the Initiator type. Click Finish to complete the creation process:
The Initiator types are currently (and more on the way):
- Incoming Call : Sets off a Saflet via a FastAGI call from an Asterisk server
- Custom Initiatior : Sets off a Safelt via a custom event (i.e. Custom Initiator Launcher in SafiWorkshop and the command line application coming soon)
Your newly created Saflet will appear in the Navigator:
SideBar
User Login