ast: mobile pjsip_wizard.conf

This commit is contained in:
mpmc 2023-07-04 13:30:59 +01:00
parent 1336b417db
commit 6d1fe65976
1 changed files with 20 additions and 19 deletions

View File

@ -1,6 +1,10 @@
; ;
; /etc/asterisk/pjsip_wizard.conf ; /etc/asterisk/pjsip_wizard.conf
; ;
; Modifed and "borrowed" (read: stolen) https://www.sacredheartsc.com/blog/building-a-personal-voip-system/
;
; This template contains default settings for all SIP trunks.
[trunk-defaults](!) [trunk-defaults](!)
type = wizard type = wizard
@ -24,38 +28,35 @@ endpoint/media_encryption = no
endpoint/language = en_GB endpoint/language = en_GB
; ;
; This template contains default settings for all local extensions.
[extension-defaults](!) [extension-defaults](!)
type = wizard type = wizard
; Users must register and auth! ; Require clients to register.
accepts_registrations = yes accepts_registrations = yes
; Require clients to authenticate.
accepts_auth = yes accepts_auth = yes
; Check ext connectivity every x seconds. ; When simultaneous logins from the same account exceed max_contacts, disconnect
aor/qualify_frequency = 30 ; the oldest session.
; How long do we wait for a response to our connection check?
aor/qualify_timeout = 3.0
; Remove older sessions when logins exceed max_contacts.
aor/remove_existing = yes aor/remove_existing = yes
; Max simultaneous account logins. ; allow just alaw
endpoint/max_contacts = 1
; Audio codecs: alaw only please.
endpoint/allow = !all,alaw endpoint/allow = !all,alaw
; Default language. ; Context name for BLF/presence subscriptions. This can be any string of your
endpoint/language = en_GB ; choosing.
; By default don't allow direct media connections.
endpoint/direct_media = no
; Busy Lamp field / Presence context.
endpoint/subscribe_context = subscribe endpoint/subscribe_context = subscribe
; Default language, pjsip wizard appears to ignore global setting.
endpoint/language = en_GB
; ;
; Load user extensions. ; Load user extensions.
#tryinclude pjsip_users.conf #tryinclude pjsip_users.conf
; Load trunks.
#tryinclude pjsip_trunk_one.conf