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
;
; 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](!)
type = wizard
@ -24,38 +28,35 @@ endpoint/media_encryption = no
endpoint/language = en_GB
;
; This template contains default settings for all local extensions.
[extension-defaults](!)
type = wizard
; Users must register and auth!
; Require clients to register.
accepts_registrations = yes
; Require clients to authenticate.
accepts_auth = yes
; Check ext connectivity every x seconds.
aor/qualify_frequency = 30
; 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.
; When simultaneous logins from the same account exceed max_contacts, disconnect
; the oldest session.
aor/remove_existing = yes
; Max simultaneous account logins.
endpoint/max_contacts = 1
; Audio codecs: alaw only please.
; allow just alaw
endpoint/allow = !all,alaw
; Default language.
endpoint/language = en_GB
; By default don't allow direct media connections.
endpoint/direct_media = no
; Busy Lamp field / Presence context.
; Context name for BLF/presence subscriptions. This can be any string of your
; 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
; Load trunks.
#tryinclude pjsip_trunk_one.conf