[OpenSIPS-Users] mediaproxy relay on none default route interface failed

Ghaith ALKAYYEM ghaith.alkayyem at telecom-bretagne.eu
Thu Sep 10 17:59:54 CEST 2009


Does the dispatcher work on the same machine also?
Could you provide me with more details about running these two
instances?

Regards.

On Thu, 2009-09-10 at 23:39 +0800, Jiang Jinke wrote:
> Thanks for the detail instruction.
> I just use a symlink into the directory, it's working properly now.
> 
> Just like below:
> /usr/local/relay1/media-relay   -> /usr/bin/media-relay
> /usr/local/relay2/media-relay   -> /usr/bin/media-relay
> 
> Regards,
> Jinke Jiang
> 
> On Thu, Sep 10, 2009 at 10:02 PM, Dan Pascu <dan at ag-projects.com> wrote:
> >
> > On 10 Sep 2009, at 15:47, Raúl Alexis Betancor Santana wrote:
> >
> >> On Thursday 10 September 2009 11:56:00 Ghaith ALKAYYEM wrote:
> >>> Hello,
> >>>
> >>> I think it's not possible to use two separate relays on the same
> >>> server,
> >>> I tried that a lot then I switched to RTPproxy.
> >>
> >> That's not true, you could run as many Realys as you want on the
> >> same server,
> >> only have to patch mediaproxy-relay to be able to call it with a
> >> diferent .cfg as the default one, have diferent listen ports and no
> >> more.
> >
> > You don't need to patch anything. Just unpack mediaproxy in as many
> > different directories as you need, run ./build_inplace and modify each
> > config.ini in those directories as needed. Then run mediaproxy from
> > those directories and each of them will use the local config.ini from
> > its own directory.
> >
> > Alternatively, if you want to use a system wide installation, you can
> > copy the binaries from /usr/bin to a number of different directories
> > and add a config.ini in each directory. Then run those binaries from
> > those directories instead of /usr/bin/ and each binary will use the
> > config.ini file in its own directory to overwrite settings from the
> > global /etc/mediaproxy/config.ini.
> >
> > Mediaproxy uses 2 configuration files. The global one resides in /etc/
> > mediaproxy/config.ini. On top of that if a config.ini is present in
> > the same directory as the binary (media-relay & media-dispatcher) that
> > one will be used to overwrite the settings from the global one having
> > priority over it.
> >
> > --
> > Dan
> >
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list