User talk:Eblade

From WebOS101

Jump to: navigation, search

Things discovered while attempting to write a Synergy plugin:

To get an account to appear in the "Add Accounts" box, you must supply a "validator" parameter in your account-template.json. How to actually implement this validator is currently a mystery.

To get a PHONE type account to remain active, you must at the very least implement a "onCallStateQuery" handler in your Service:

var onCallStateQuery = function(future){};

onCallStateQuery.prototype.run = function(future) {

   future.result = { lines: [ { "state":"disconnected", "calls": [], } ], returnValue: true };

}

.. it doesn't look like the UI for PHONE is completely baked enough to be able to actually handle new calling connectors though.

.. a serviceName must be specified in the capabilityProvider for a capability of "MESSAGING" with a capabilitySubtype of "SMS".

MESSAGING services must have a "dbkinds" setup to be recognized by the messaging app .. but i'm still missing some piece to that.

Personal tools