4-16
Cisco Unified IP Phone Services Application Development Notes
OL-18696-01
Chapter 4 Internal URI Features
Application Management URIs
DATA=<notifyStreamStopped id=”stream1”/>
•
Called from SoftKey, with credentials, with data:
Notify:http:myserver:8080:path/streamhandler?event=stopped:
8fh4hf7s7dhf :myStreamStoppedData
HTTP POST /path/streamhandler?event=stopped HTTP/1.1
Accept: */*
Authorization: Basic 8fh4hf7s7dhf
Content-Type: application/x-www-form-urlencoded; charset=”UTF-8”
Host: myserver:8080
Content-Length: 23
•
Called from SoftKey, no credentials, no data
Notify:http:server:8080:path/streamhandler?event=stopped
HTTP POST /path/streamhandler?event=stopped HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=”UTF-8”
Host: myserver:8080
Content-Length: 5
•
Called from SoftKey with QueryStringParam URI:
<CiscoIPPhoneMenu>
<MenuItem>
<Name>Voicemail1</Name>
<URL>QueryStringParam:id=1</URL>
</MenuItem>
<MenuItem>
<Name>Voicemail2</Name>
<URL>QueryStringParam:id=2</URL>
</MenuItem>
<SoftKeyItem>
<Name>Play</Name>
<URL>Notify:http:vmailSrvr:8080:path/play</URL>
</SoftKeyItem>
</CiscoIPPhoneMenu>
If the Voicemail2 menu item was selected when the Play softkey was pressed, the following
notification would be sent:
HTTP POST /path/play HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded; charset=”UTF-8”
Host: vmailSrvr:8080
Content-Length: 9
DATA=id=2
Application
The Application URI is a component of the Application Management API, which provides an improved
hand-off between call mode and application mode. The Application URI allows applications to request
changes to their application or window state. Applications can request to change focus, to be minimized,
or to be closed.