<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>OK, let me try to explain.</p>
<p>Mediaproxy consists of two components, the dispatcher and the relay. The dispatcher is kind of controller for relay component. It is usually installed on same machine as opensips and can be used to control many relays running on different machine in LAN/WAN. This design is so flexible that you can have relays running in different geographical locations and you can control them all using central dispatcher.</p>
<p>Secondly installed of compiling media proxy yourself, better to just use pre-built packages. Just add the apt repository suitable for you OS at,</p>
<p>http://projects.ag-projects.com/projects/documentation/wiki/Repositories</p>
<p>and run this,</p>
<pre>sudo apt-get update
sudo apt-get install mediaproxy-dispatcher mediaproxy-relay mediaproxy-web-sessions</pre>
<pre>&nbsp;</pre>
<pre>For more details, see this,</pre>
<pre>&nbsp;</pre>
<pre>http://mediaproxy.ag-projects.com/projects/mediaproxy/wiki/InstallationGuide</pre>
<pre>&nbsp;</pre>
<pre>It will install all dependencies along with relevant components of media proxy.</pre>
<p>Lastly, the ip forwarding is only need for at media relay, since this component actually handles the media exchange.</p>
<p>Hope this helps.</p>
<p>&nbsp;</p>
<p>Thank you.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>On 2014-07-10 23:44, Gary Patton wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">Hello. &nbsp;Some MediaProxy questions.
<div>&nbsp;</div>
<div>I've been trying to follow these installation how-tos and OpenSIPS integration pages: http://mediaproxy.ag-projects.com, http://voiprookie.blogspot.com/2009/04/blog-post.html, http:www.smartvox.co.uk/serfaq_install_mediaproxy2.html, and http://antechxxx.blogspot.com/2012/06/how-to-manual-installation-mediaproxy.html. &nbsp;Those are useful in their own way (and I thank the authors), but I'm still not 100% clear.</div>
<div>&nbsp;</div>
<div>First - it's terrible but I'm not sure which is the dispatcher and which is the relay. &nbsp;I believe OpenSIPS is the dispatcher and MediaProxy is the relay.</div>
<div>&nbsp;</div>
<div>Second - The VoIP Rookie blog says</div>
<div>&nbsp;</div>
<div><span style="font-size: 12pt;">In order to build and install, MediaProxy has the following requirements:</span></div>
<div><span style="font-size: 12pt;">- Linux (at least 2.6.18) with the following features compiled in:</span></div>
<div>- netfilter support</div>
<div>- connection tracking support</div>
<div>- connection tracking netlink interface</div>
<div>- connection tracking event notification API</div>
<div>- netfilter "NOTRACK" target support</div>
<div>- netfilter "CONNMARK" target support</div>
<div>- netfilter "connmark" match support</div>
<div>- IPv4 connection tracking support</div>
<div>- IP tables support</div>
<div>- IP tables Full NAT support</div>
<div>&nbsp;</div>
<div>I looked into compiling the Linux kernel and it seems kind of crazy that I need to compile (or recompile) my Linux distro in order to install/run MediaProxy. I've searched how to compile the kernel with those modules/features and I can't find anything specific, just general instructions on how to compile the kernel from source. (If anyone knows of something specific to MediaProxy please point me in the right direction!)</div>
<div>&nbsp;</div>
<div>Can't I just install netfilter, iptables, conntrack, etc, support for MediaProxy via the "apt-get install" method instead of compiling those into the kernel?</div>
<div>&nbsp;</div>
<div>Third - I'm making a big assumption that you'd install OpenSIPS and MediaProxy on separate boxes in a production network. &nbsp;If so, I'm not sure which box I would permanently configure IP forwarding on? &nbsp;The dispatcher (OpenSIPS) or the relay (MediaProxy)? &nbsp;Or is it both?</div>
<div>&nbsp;</div>
<div>I would really appreciate some direction since it's very confusing to me. &nbsp;Thank you very much.</div>
<div>&nbsp;</div>
<div>Regards</div>
<div>&nbsp;</div>
<div>Gary</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</div>
</blockquote>
<div>
<pre>-- 
Mit freundlichen Gr&uuml;&szlig;en
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com</pre>
</div>
</body></html>