Skip to main content

VoIP Integrated Tests Suite

Project description

CI

No More Travis CI :(

VoIP Integrated Tests Suite

Description

This is a "meta-repository" to test interoperability of several popular open-source VoIP components and their ability to handle basic SIP call scenarios, both individually and working as a simple VoIP switching system.

The basic test setup looks like the following:

Alt text

In the course of the test, first UA, which we call "Alice", initiates number of distinct SIP sessions to SSuT, which is configured to forward those sessions to the second UA ("Bob") and pin the media to the RTPProxy. The Bob either answers or rejects the specific session (depending on scenario id passed in the user section of the RURI) and Alice verifies that the particular scenario has completed in the expected way.

Both Alice and Bob also check that the SSuT rewrites the SDP correctly in all relevant INVITEs, 183s, 200s and ACKs, replacing original random media IP/port with the IP/port of the RTPProxy, which signifies proper execution of the RTPProxy Control Protocol (RTPPC) between the particular SSuT and the RTPProxy.

Also, upon test completion some basic statistics is pulled from the RTPProxy to verify that the number of RTPPC requests/replies matches pre-determined value specific for that SSuT and that there were no errors detected in the protocol exchange or generated by the RTPProxy internal checkups.

TODO

  • Add more SSuTs (e.g. Asterisk, FreeSWITCH)

  • Add more scenarios (e.g. SIP over IPv6, packet loss)

  • Test actual media end-to-end via the RTPProxy / SSuT

  • You name it :)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voiptests-1.0.0.tar.gz (13.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page