ast: always provide default language

This commit is contained in:
mpmc 2023-06-27 16:34:23 +01:00
parent 8f5bbffc72
commit 7a0bc23a92
3 changed files with 11 additions and 3 deletions

View File

@ -2,7 +2,7 @@
; /etc/asterisk/asterisk.conf
;
; Directories are standard.
[directories](!)
[directories]
astcachedir => /var/cache/asterisk
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
@ -21,4 +21,5 @@ runuser = asterisk
rungroup = asterisk
; Main language.
languageprefix = yes
defaultlanguage = en_GB

View File

@ -8,12 +8,13 @@ exten => s,1,Verbose(1, "INFO ${CALLERID(num)} was passed to default.")
same => n,Wait(1)
same => n,Answer(1)
same => n,Goto(s-info,1)
same => n,Goto(s-info,1)
same => n,Goto(s-info,1)
same => n,Hangup(3)
exten => s-info,1,PlayTones(info)
same => n,Playback(hangup-try-again)
same => n,PlayTones(info)
same => n,Playback(hangup-try-again)
same => n,Playback(hangup-try-again)
[globals]

View File

@ -24,6 +24,9 @@ endpoint/allow = !all,alaw
; Call encryption.
endpoint/media_encryption = no
; Default language, pjsip wizard appears to ignore global setting.
endpoint/language = en_GB
;
; This template contains default settings for all local extensions.
[extension-defaults](!)
@ -46,6 +49,9 @@ endpoint/allow = !all,alaw
; choosing.
endpoint/subscribe_context = subscribe
; Default language, pjsip wizard appears to ignore global setting.
endpoint/language = en_GB
;
; Load user extensions.
#tryinclude pjsip_users.conf