[OpenSIPS-Users] Mediaproxy Relay start error - 'MediaRelayBase' is not defined

Mark Allen mark at allenclan.co.uk
Wed Jan 6 15:59:36 EST 2021

Hi all - not sure what I'm missing here...

I'm installing Mediaproxy onto our Debian Buster box which is also running
OpenSIPS 3.1 but when I start the relay I'm getting an error in syslog...

15:40:07 opensipsx media-relay[4983]: INFO     Starting MediaProxy Relay
15:40:07 opensipsx media-relay[4983]: INFO     Set resource limit for
maximum open file descriptors to 11000
15:40:07 opensipsx media-relay[4983]: CRITICAL Failed to create MediaProxy
Relay: name 'MediaRelayBase' is not defined
15:40:07 opensipsx media-relay[4983]: ERROR    Traceback (most recent call
last):#012ERROR      File "/usr/bin/media-relay", line 100, in
<module>#012ERROR        from mediaproxy.relay import MediaRelay#012ERROR
   File "/usr/lib/python3/dist-packages/mediaproxy/relay.py", line 290, in
<module>#012ERROR        class MediaRelay(MediaRelayBase):#012ERROR
 NameError: name 'MediaRelayBase' is not defined
15:40:07 opensipsx systemd[1]: mediaproxy-relay.service: Main process
exited, code=exited, status=1/FAILURE
15:40:07 opensipsx systemd[1]: mediaproxy-relay.service: Failed with result

I'm starting the relay with the command...

systemctl start mediaproxy-relay

...I installed Mediaproxy using the Debian package using the instructions
at http://mediaproxy.ag-projects.com/installation-guide/ and
https://github.com/AGProjects/mediaproxy. mediaproxy-dispatcher is starting

In the /etc/mediaproxy/config.ini file - everything is left at the default
setting except for...

dispatchers = xxx.xxx.xxx.xxx
advertised_ip = xxx.xxx.xxx.xxx

Certificates are in place in /etc/mediaproxy/tls

Anybody got any ideas about where I've gone wrong????
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20210106/3c3a42f0/attachment.html>

More information about the Users mailing list