Media proxy

Media proxy is a helper module, that is absent in the standard Asterisk package.
It was designed and developed by our company from scratch.

Its purpose is to boost media streaming through the system.
For some business applications, for example, Wholesale Switching, this is essential, because wholesalers handle hundreds of simultaneous calls.

Performance improvement is achieved by the short media path, because Media proxy works solely in the kernel mode.
Thus, no kernel to userspace back and forth context switches and packet copying are done to handle a single voice frame.
Together with FreeBSD's fast forwarding feature this gives almost wire speed. CPU is utilized mainly for checksumming and routing.

Advantages of using Media proxy.

Media proxy supports: Media proxy is activated only when:

Testing showed astonishing results: up to 1100 simultaneous sessions with g711 codec and 2-way audio have been handled by a single Core 2 Duo system.

Table 1. Comparison of media bridging techniques.

Bridge technique Sessions
Native.
Voice travels directly peer-to-peer.
unlimited
Transcoding.
Media format is transcoded back and forth between the bridged channels.
depends on codecs
Jitter Buffer.
Media packets pass the jitter buffer in the userspace to smooth media.
380
Packet 2 Packet.
Media packets are copied in the userspace back and forth between bridged channels.
580
Media Proxy.
Media packets travel only through the kernel.
1100

Русский перевод