The dial command tells Dialectic to dial a number.
This command takes the following parameters:
- password - required; text (except spaces); this is the password set in the Dialectic Remote section of the preferences; alternatively, use a nonce and MD5 hash of the nonce and password as described previously
- number - required; text; this is the number to actually call
- name - optional; text; if included, this is the name associated with the number to dial
- literal - optional; text (either YES or NO only); if included and set to YES, Dialectic will dial the number using the Literal call type with the number dialed as passed in the number parameter
- location - optional; text; if included, the Location to use for this call only; ignored if no Location with this name is found
Assuming an IP address of 192.168.0.100, the port set to 58384, and a password of SECRET, to dial NYC Information at 212-555-1212, the URL would look like this:
To dial using a specific Location, the URL would look like this:
To use the alternate method of a nonce and password hash, query the Dialectic Remote HTTP server for the nonce using the challenge command:
http://192.168.0.100:58384/challenge
The Dialectic Remote HTTP server will respond with a reply such as e2f1d466511d53efd3c3e015d5d18378. Using this as your nonce and assuming your password is SECRET then the hash would be an MD5 hash of e2f1d466511d53efd3c3e015d5d18378:SECRET (6e13e1fd07a41e8a814796b4e56cc713). So, the alternate URL would look like this:
And the URL using a specific Location would look like this: