[OpenSIPS-Users] Problem with Mediaproxy2.3.0 start
mmarzuola at interfree.it
mmarzuola at interfree.it
Fri Dec 19 17:52:21 CET 2008
Hi all.
I have installed Mediaproxy-2.3.0 in the same machine of the Opensips proxy in the directory /usr/local/src/mediaproxy-2.3.0 running the commands:
./setup.by build
./setup.by install
The installation appears to be successful because I have not received errors.
I have copied the files mediaproxy-dispatcher.init and mediaproxy-relay.init in /etc/init.d and changed permissions to be able to run.
I have edited the config.ini and changed in this way:
[Relay]
dispatchers = mysip.com 10.10.45.158:5060
passport = None
;relay_ip = <default host IP>
port_range = 50000:60000
stream_timeout = 90
on_hold_timeout = 7200
dns_check_interval = 60
reconnect_delay = 10
traffic_sampling_period = 15
[Dispatcher]
socket_path = dispatcher.sock
listen_management = 0.0.0.0
management_use_tls = yes
passport = None
management_passport = None
relay_timeout = 5
;accounting =
[TLS]
[Database]
[Radius]
[OpenSIPS]
When I try to run media-relay I have in the syslog:
>Dec 19 16:43:35 opensips-lab media-relay[13823]: [-] Log opened.
>Dec 19 16:43:35 opensips-lab media-relay[13823]: [-] Starting MediaProxy Relay 2.3.0
>Dec 19 16:43:39 opensips-lab media-relay[13823]: [-] fatal error: failed to create MediaProxy Relay: Could not initialize the iptables 'nat' table. Missing kernel support or running without root priviliges.
The version of my kernel is 2.6.18-6-686 and I run the command from root.
Instead when I try to run media-dispatcher, I have:
>Dec 19 16:45:21 opensips-lab media-dispatcher[13839]: [-] Log opened.
>Dec 19 16:45:21 opensips-lab media-dispatcher[13839]: [-] Starting MediaProxy Dispatcher 2.3.0
>Dec 19 16:45:22 opensips-lab media-dispatcher[13839]: [-] Twisted is using epollreactor
>Dec 19 16:45:22 opensips-lab media-dispatcher[13839]: [-] fatal error: failed to create MediaProxy Dispatcher: missing or unreadable file: tls/dispatcher.crt
But the file tls/dispatcher.crt there is in the subdirectory tls and I try also to change the permission to read.
Someone can help me?
Thanks in advance.
Marzuola Matteo
----------------------------------------------------------------------------
Vuoi essere presente online?
Vuoi dare voce alla tua attivita`?
Acquista un dominio su domini.interfree.it.
A partire da 18,59 euro
----------------------------------------------------------------------------
More information about the Users
mailing list