beautypg.com

Examples, Errors and responses – Cisco OL-20949-01 User Manual

Page 47

background image

4-5

Cisco Unified IP Phone Services Application Development Notes

OL-20949-01

Chapter 4 Component APIs

RTP Streaming API

Examples

Start Media

Request

HTTP POST /CGI/Execute

onStopped=”Notify:http:server:80:path/page”

receiveVolume=”50”>

audio

G.729

sendReceive

239.1.2.3

20480

Response

HTTP200 OK

Stop Media

Request

HTTP POST CGI/Execute

Response

HTTP 200 OK

If the user terminates the media stream by placing the active audio path on-hook, the following
notification is sent:

HTTP POST /server/path/page

DATA=

Errors and Responses

Error conditions and responses for the RTP Streaming API include:

Condition

Applicable
Methods

HTTP Result Code

Type

Data

Authorization failed

all

401 (Authorization Failed) N/A

N/A