The following is an example of JSON content that builds a Call button on the menu bar.
"buttonState" : "NORMAL", "buttonVisible" : true, "buttonLabel" : "Call", "buttonAction" : "local://call?phone=%2B1-800-0000000,111500045&voiceQueue=0", "buttonImageName" : "icon_call.png" |
When the user presses Call, the Call page is displayed, and a request is sent to the server to retrieve the Estimated Wait Time (ewt).
The following example presents a sample Call page, followed by the JSON content that builds the UI representation.
|