The callDetected command tells Dialectic to react as if it has detected an incoming call.
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 - optional; text; this is the number of the incoming call
- name - optional; text; this is the name associated with the number of the incoming call
- device - optional; text; this is the name of the device (e.g., phone) that received the incoming call
- note - optional; text; a note to include in the call log entry for this call
- flagged - optional; text (either YES or NO only); if included and set to YES, Dialectic will flag this entry in the call log
Assuming an IP address of 192.168.0.100, the port set to 58384, and a password of SECRET, to start a call detected with a number of 212-555-1212, a name of NYC Information, a device name of My Phone, a note of My note information..., and without a flag, 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: