Chapter 5 Internal URI Features
Application Management URIs
The Notify URI is not made in the context of an XSI application session and does not contain any HTTP cookie or session information. Thus, the
Note The Notify URI is not supported in the Execute object.
URI Format
Notify:protocol:host:port:path:credentials:data
Where
protocol = network protocol to use for the Notify connection; http is the only supported protocol.
host = network host designated to receive the notification. Value must be entered as a hostname or IP address.
port = network port to use for the Notify connection. Value must be a number from
path =
credentials = optional
a
data = optional
For example:
•Called from RTP onStreamStopped Event Handler, no credentials, with data:
Notify:http:myserver:8080:path/streamhandler?event=stopped:
:myStreamStoppedData
HTTP POST /path/streamhandler?event=stopped HTTP/1.1
Accept: */*
Host: myserver:8080
DATA=myStreamStoppedData
•Called from RTP onStreamStopped Event Handler, no credentials, no data:
Notify:http:server:8080:path/streamhandler?event=stopped
HTTP POST /path/streamhandler?event=stopped HTTP/1.1
Accept: */*
Host: myserver:8080
DATA=<notifyStreamStopped id=”stream1”/>
•Called from SoftKey, with credentials, with data:
Notify:http:myserver:8080:path/streamhandler?event=stopped:
8fh4hf7s7dhf :myStreamStoppedData
|
| Cisco Unified IP Phone Services Application Development Notes |
|
| |
|
|
| |||
|
|
|
| ||
|
|
|
|