This was a bug. You must update to the latest mediaproxy version:
sudo apt update sudo apt install mediaproxy-relay mediaproxy-common mediaproxy-dispatcher Regards, Adrian > On 6 Jan 2021, at 12:59, Mark Allen <[email protected]> wrote: > > 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 4.0.4 > 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 > 'exit-code'. > > 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/ > <http://mediaproxy.ag-projects.com/installation-guide/> and > https://github.com/AGProjects/mediaproxy > <https://github.com/AGProjects/mediaproxy>. mediaproxy-dispatcher is starting > successfully. > > 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???? > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
