added some modules

This commit is contained in:
2022-06-28 17:53:21 +02:00
parent a14758ec79
commit 1ad16ad2f2
2 changed files with 11 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ protocol=udp
bind=0.0.0.0
; localnet=172.17.0.0/16
external_media_address=${EXTERNAL_IP}
external_signaling_address=${EXTERNAL_IP}
external_signaling_address=${EXTERNAL_IP}
[mytrunk]
type=registration
@@ -20,17 +20,17 @@ transport=mytransport
outbound_auth=mytrunk
server_uri=sip:${SIP_SERVER}:5060
client_uri=sip:${SIP_USER}@${SIP_SERVER}:5060
[mytrunk]
type=auth
auth_type=userpass
password=${SIP_PASS}
username=${SIP_USER}
[mytrunk]
type=aor
contact=sip:${SIP_SERVER}:5060
[mytrunk]
type=endpoint
context=incoming-calls
@@ -38,11 +38,11 @@ disallow=all
allow=speex,g726,g722,ilbc,gsm,alaw
outbound_auth=mytrunk
aors=mytrunk
[mytrunk]
type=identify
endpoint=mytrunk
match=${SIP_SERVER}
EOF
/usr/sbin/asterisk -cv
/usr/sbin/asterisk -cv