106 lines
1.6 KiB
Plaintext
Executable File
106 lines
1.6 KiB
Plaintext
Executable File
[transport-udp-nat]
|
|
type=transport
|
|
protocol=wss
|
|
bind=0.0.0.0
|
|
;local_net=172.18.0.2/16
|
|
external_media_address=89.223.87.146
|
|
external_signaling_address=89.223.87.146
|
|
|
|
|
|
|
|
[transport-udp]
|
|
type=transport
|
|
protocol=udp
|
|
bind=0.0.0.0:7659
|
|
;local_net=172.18.0.2/16
|
|
external_media_address=89.223.87.146
|
|
external_signaling_address=89.223.87.146
|
|
|
|
[transport-tcp]
|
|
type=transport
|
|
protocol=tcp
|
|
bind=0.0.0.0:7659
|
|
;local_net=192.168.1.0/32
|
|
;external_media_address=89.223.87.146
|
|
external_signaling_address=89.223.87.146
|
|
;local_net=10.42.7.0/255.255.255.0
|
|
;external_media_address=176.53.197.206
|
|
;external_signaling_address=176.53.197.206
|
|
|
|
|
|
[alice-softphone]
|
|
type=endpoint
|
|
direct_media=no
|
|
force_rport=yes
|
|
rewrite_contact=yes
|
|
disallow=all
|
|
allow=ulaw
|
|
type=endpoint
|
|
context=office-phones
|
|
rtp_symmetric=yes
|
|
auth=alice-auth
|
|
aors=alice-softphone
|
|
|
|
|
|
[alice-auth]
|
|
type=auth
|
|
auth_type=userpass
|
|
username=alice-softphone
|
|
password=12345
|
|
|
|
[alice-softphone]
|
|
type=aor
|
|
max_contacts=5
|
|
|
|
|
|
[bob]
|
|
type=endpoint
|
|
direct_media=no
|
|
force_rport=yes
|
|
rewrite_contact=yes
|
|
disallow=all
|
|
allow=ulaw
|
|
type=endpoint
|
|
context=office-phones
|
|
rtp_symmetric=yes
|
|
auth=bob-auth
|
|
aors=bob
|
|
|
|
[bob-auth]
|
|
type=auth
|
|
auth_type=userpass
|
|
username=bob
|
|
password=1234
|
|
|
|
[bob]
|
|
type=aor
|
|
max_contacts=3
|
|
|
|
[domofon]
|
|
type=endpoint
|
|
direct_media=no
|
|
rtp_symmetric=yes
|
|
force_rport=yes
|
|
rewrite_contact=yes ; necessary if endpoint does not know/register public ip:port
|
|
;allow=alaw
|
|
;allow=all
|
|
allow=alaw,h264
|
|
;allow=ulaw,h264
|
|
;allow=h264
|
|
;disallow=all
|
|
transport=transport-udp
|
|
context=office-phones
|
|
aors=domofon
|
|
auth=domofon
|
|
|
|
[domofon]
|
|
type=auth
|
|
auth_type=userpass
|
|
password=VutcaflojUt4driamGic
|
|
username=domofon
|
|
|
|
[domofon]
|
|
type=aor
|
|
max_contacts=5
|
|
|