The addCallLogEntry command tells Dialectic to add a new entry to the call log — either an incoming or outgoing call. This action will only add an entry to the call log, it won’t trigger any incoming call actions. For that, use the callDetected action.
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 of the call
- name - optional; text; this is the name associated with the number of the incoming call
- incoming - required; text (either YES or NO only); if YES, the entry will be added as an incoming call, otherwise it will be added as an outgoing 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 add a call log entry with a number of 212-555-1212, a name of NYC Information, a direction of incoming, 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: