RTP_STOPPED_EVENT (OPTIONAL)

The RTP_STOPPED_EVENT message indicates that an RTP media has been stopped. There are two media streams for audio media so there are two RTP Stopped events, one indicating the input has stopped (that is, the phone is not listening) and the other that the output has stopped (that is, the outgoing media from the agent phone has stopped).

The RTP Stopped Event is received when the call is placed on hold and when the call disconnects.

The following tables define the format of the RTP_STOPPED_EVENT message.

RTP_STOPPED_EVENT (OPTIONAL) Fixed Part Message Body Format

Fixed part

Field name

Value

Data type

Byte size

reserved

This value is set to 0.

UINT

4

reserved

This value is set to 1.

UINT

4

clientPort

The TCP/IP port number of the client connection that was closed.

UINT

4

Direction

The direction of the event.

One of the following values:

0: Input 1: Output2: Bi-directional

USHORT

2

ConnectionDeviceType

The type of device ID supplied in the ConnectionDeviceID floating field. See ConnectionDeviceType Values.

USHORT

2

CallID

The Call ID value assigned to this call by Unified CCX.

UINT

4

RTP_STOPPED_EVENT (OPTIONAL) Floating Part Message Body Format

Floating part

Field name

Value

Data type

Maximum size

ConnectionDeviceID[25] (required)

The device ID between the call and the device. In CTI Protocol Version 14, the general rules for the Primary.Actual Field Format will apply to this field.

STRING

64

ClientAddress[81] (required)

The IP address of the client.

STRING

16

AgentExtension[4] (optional)

The agent’s ACD IP phone extension.

STRING

16

AgentInstrument[6] (optional)

The agent’s IP phone number.

STRING

64

SendingAddress[125] (optional)

The IP Address to which the client was sending the RTP stream.

STRING

16

SendingPort[126] (optional)

The UDP (User Datagram Protocol) port number to which the client was sending the RTP Stream.

UINT

4

AgentID[194]

The agent’s Unified CCX login.

STRING

129