50 lines
715 B
Plaintext
50 lines
715 B
Plaintext
|
[mytransport]
|
||
|
type=transport
|
||
|
protocol=udp
|
||
|
bind=0.0.0.0
|
||
|
; localnet=172.17.0.0/16
|
||
|
external_media_address=192.168.2.142
|
||
|
external_signaling_address=192.168.2.142
|
||
|
|
||
|
|
||
|
|
||
|
[mytrunk]
|
||
|
type=registration
|
||
|
transport=mytransport
|
||
|
outbound_auth=mytrunk
|
||
|
server_uri=sip:192.168.2.1:5060
|
||
|
client_uri=sip:internotest@192.168.2.1:5060
|
||
|
; contact_user = incoming-calls
|
||
|
|
||
|
|
||
|
[mytrunk]
|
||
|
type=auth
|
||
|
auth_type=userpass
|
||
|
password=mio4reil
|
||
|
username=internotest
|
||
|
|
||
|
[mytrunk]
|
||
|
type=aor
|
||
|
contact=sip:192.168.2.1:5060
|
||
|
|
||
|
[mytrunk]
|
||
|
type=endpoint
|
||
|
context=incoming-calls
|
||
|
; disallow=all
|
||
|
; allow=ulaw
|
||
|
; allow=all
|
||
|
disallow=all
|
||
|
allow=speex,g726,g722,ilbc,gsm,alaw
|
||
|
|
||
|
outbound_auth=mytrunk
|
||
|
aors=mytrunk
|
||
|
|
||
|
[mytrunk]
|
||
|
type=identify
|
||
|
endpoint=mytrunk
|
||
|
match=192.168.2.1
|
||
|
|
||
|
|
||
|
|
||
|
|