sip-recorder/root/etc/asterisk/pjsip.conf.template

50 lines
715 B
Plaintext
Raw Normal View History

2019-01-01 22:34:16 +00:00
[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