[OpenSIPS-Users] media-dispatcher and media relay connection problem

Barsan Liviu barsanl at yahoo.com
Fri May 27 09:23:32 CEST 2011

Hi Dan,

You have partially right because I didn't formulated well my observations, so 
reformulated: would be welcome a detailed guide for installation from sources.
Simply I took the MediaProxy sources (2.4.4.tar.gz) and do what is written in 
the INSTALL file.

For most of the modules was enough what is in the INSTALL, but for MediaProxy 
not, everybody who will install from sources will encounter the same troubles as 
I did:
- iptables loading
- nothing about how to start the media dispatcher and media relay, even now I'm 
not sure if I doing well by starting them from command line with:
  # sudo modprobe ip_tables
  # media-dispatcher &
  # media-relay
(Seems to work)

- and in the INSTALL file nothing about media-relay init scripts
- not enough information about how to check if the installation/configuration 
was correct.E.g. how to check kernel version, how to see log for Python based 
applications, for example because of incompatible gnutls I wasn't able to see 
what is the real problem, what logged the Media-Relay was not enough(log level 
== DEBUG).

To see some guide which is near to what I expect(even if has few errors): 
 http://voiprookie.blogspot.com/2009/04/blog-post.html. Contains few words about 
each module, how to check if is installed, has examples for configuration etc.
Compare with what you wrote: apt-get install mediaproxy-relay ;(

Additionally, would be welcome few examples(opensips.cfg and config.ini) for 
STUN and TURN solution for OpensSIPs-MediaProxy.

Thank you,

From: Dan Pascu <dan at ag-projects.com>
To: OpenSIPS users mailling list <users at lists.opensips.org>
Sent: Thu, May 26, 2011 3:12:19 PM
Subject: Re: [OpenSIPS-Users] media-dispatcher and media relay connection 

On 26 May 2011, at 11:14, Barsan Liviu wrote:

> Hi,
> With the python-gnutls update to 1.2.1 the mediaproxy works fine.
> A suggestion: would be welcome a minimal install guide for Ubuntu/Debian,

apt-get install mediaproxy-relay ;)

If this is too terse to qualify as 'minimal', then the INSTALL file in the 
project explains in a step-by-step fashion, what you need to do to install it on 
debian. It also explains how to install it from source. I take you did read that 
file, but it didn't qualify as a minimal guide for you?

> for example I spent several days until I find out that iptables should be 
>loaded before starting media-relay.

Manually loading it is not necessary. The media-relay startup script takes care 
of loading it for you. The only case where this doesn't apply is if you do not 
use the debian packages and/or try to manually start the relay without using the 
provided init script, but for that case the INSTALL file tells you to use the 
debian startup scripts as examples and they load the iptables module before 
starting the relay.

I'm not quite sure what do you mean when you say you want a debian/ubuntu 
installation guide, yet you do not seem to be using the debian/ubuntu packages 
because you run into issues that are automatically solved for you when you 
install the debian packages (automatic dependency handling, init script already 
properly setting up the environment, ...)


Users mailing list
Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110527/b85beb74/attachment.htm>

More information about the Users mailing list