2015-06-25 15:44:30
标签:
mediaproxy
原创作品,允许转载,转载时请务必以超链接形式标明文章
原始出处 、作者信息和本声明。否则将追究法律责任。
http://fengwan.blog.51cto.com/508652/1665599
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Relay]
dispatchers = 192.168.1.245
passport = None
relay_ip = 192.168.1.245
port_range = 50000:60000
log_level = DEBUG
on_hold_timeout = 1800
[Dispatcher]
socket_path = dispatcher.sock
listen = 192.168.1.245
listen_management = 192.168.1.245
management_use_tls = no
passport = None
management_passport = None
log_level = DEBUG
[TLS]
[Database]
[Radius]
[OpenSIPS]
socket_path =
/var/run/opensips/socket
max_connections = 1000
|
1
2
3
4
5
6
7
|
[Relay]
dispatchers = 192.168.1.245
#这里指向dispatcher服务器地址
passport = None
relay_ip = 192.168.1.246
#这里为本机的地址
port_range = 50000:60000
log_level = DEBUG
on_hold_timeout = 1800
|
1
|
yum -y
install
httpd php php-gd php-common php-mysql php-mbstring php-devel
|
1
2
|
echo
'AddType application/x-httpd-php .phtml'
>>
/etc/httpd/conf/httpd
.conf
sed
-i
's/short_open_tag = Off/short_open_tag = On/g'
/etc/php
.ini
|
1
|
cp
-rf mediaproxy-2.4.4
/web/
/var/www/html/
|