added some modules

This commit is contained in:
Paolo Asperti 2022-06-28 17:53:21 +02:00
parent a14758ec79
commit 1ad16ad2f2
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 11 additions and 6 deletions

View File

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

View File

@ -2,9 +2,12 @@
autoload = no autoload = no
load = app_record.so load = app_record.so
load = app_mixmonitor.so
load = app_verbose.so load = app_verbose.so
load = cdr_custom.so load = cdr_custom.so
load = chan_pjsip.so load = chan_pjsip.so
load = app_waitforsilence.so
load = app_playback.so
; Codecs ; Codecs
@ -39,6 +42,8 @@ load = func_sorcery.so
load = func_devstate.so load = func_devstate.so
load = func_strings.so load = func_strings.so
load = func_env.so load = func_env.so
load = func_shell.so
load = pbx_config.so load = pbx_config.so