Actions

Toolpack monitoring sip generator

Revision as of 11:54, 21 April 2016 by Abrassard (talk | contribs)

The Toolpack Monitoring "Sip Generator" is a behavior that can be attached to a call flow, and that will send simulated SIP messages to a destination host, simulating that a SIP calls is being monitored.

The SIP simulator sends SIP messages, but does not expect any reply from the destination. It simulates both sides of the SIP call (simulating a sip "Invite" from one side, then "100-Trying" from the other side, etc.)

It also sends a copy of the monitored legs audio using RTP packets, as indicated in the SDP of the simulated SIP message (Invite, 183-Progress and 200-OK).

SIP simulator call flow

The SIP simulator is behavior (based on CTBCAFCallBehavior) and is thus attached to a call flow. It receives all events from all call legs of the call flow.

It will identify the "main" legs of the attached call flow (one incoming and one outgoing), and watch for call state changes of these legs. Corresponding SIP messages are generated.

SIP simulator call flow.png

Attaching the SIP simulator to a call flow

Attaching to a monitoring call flow

SIP simulator configuration

RTP generation options

SIP generation options

SIP messages formatting

SIP messages and RTP destination

Using multiple destinations

Destination polling