Telestax Blog

Restcomm-Connect MGCP resource metrics

Restcomm-Connect uses MGCP stack to control media server operations but this is a complex integration and needs careful steps in order ensure proper setup of the media path and to avoid media resources leaks.

While Call and VoiceInterpreter FSM are properly setup to cleanup media resources, the so many exceptions in the call flows can easily break the rules and end up in mem leaks that affect performance.

In order to ensure media resources cleanup, we introduced MGCP resource metrics that will be used by the MockMediaGateway to assert that all Mgcp Connections and Endpoints are properly removed at the end of each call flow.

The metrics and assertions are used in the Restcomm-Connect testsuite where we test all possible call flows and the exceptions in the flows we might have.

No Comments

Post A Comment