[OpenSIPS-Users] MediaProxy questions

Muhammad Shahzad Shafi shahzad at voip-demos.com
Fri Jul 11 03:53:19 CEST 2014


 

OK, let me try to explain. 

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. 

Secondly installed of compiling media proxy
yourself, better to just use pre-built packages. Just add the apt
repository suitable for you OS at,


http://projects.ag-projects.com/projects/documentation/wiki/Repositories


and run this, 

sudo apt-get update
sudo apt-get install
mediaproxy-dispatcher mediaproxy-relay mediaproxy-web-sessions

For more
details, see
this,

http://mediaproxy.ag-projects.com/projects/mediaproxy/wiki/InstallationGuide

It
will install all dependencies along with relevant components of media
proxy.

Lastly, the ip forwarding is only need for at media relay, since
this component actually handles the media exchange. 

Hope this helps.


Thank you. 

On 2014-07-10 23:44, Gary Patton wrote: 

> Hello. Some
MediaProxy questions. 
> 
> 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.
Those are useful in their own way (and I thank the authors), but I'm
still not 100% clear. 
> 
> First - it's terrible but I'm not sure which
is the dispatcher and which is the relay. I believe OpenSIPS is the
dispatcher and MediaProxy is the relay. 
> 
> Second - The VoIP Rookie
blog says 
> 
> In order to build and install, MediaProxy has the
following requirements: 
> - Linux (at least 2.6.18) with the following
features compiled in: 
> - netfilter support 
> - connection tracking
support 
> - connection tracking netlink interface 
> - connection
tracking event notification API 
> - netfilter "NOTRACK" target support

> - netfilter "CONNMARK" target support 
> - netfilter "connmark" match
support 
> - IPv4 connection tracking support 
> - IP tables support 
>
- IP tables Full NAT support 
> 
> 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!) 
> 
> 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? 
> 
> Third
- I'm making a big assumption that you'd install OpenSIPS and MediaProxy
on separate boxes in a production network. If so, I'm not sure which box
I would permanently configure IP forwarding on? The dispatcher
(OpenSIPS) or the relay (MediaProxy)? Or is it both? 
> 
> I would
really appreciate some direction since it's very confusing to me. Thank
you very much. 
> 
> Regards 
> 
> Gary

-- 
Mit freundlichen
Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich
Media Communication Specialist (CRMCS)
CISCO Certified Network Associate
(CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email:
shaheryarkh at googlemail.com
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140711/e86e021b/attachment-0001.htm>


More information about the Users mailing list