kit/asterisk/conf/mobile/pjsip_wizard.conf

62 lines
1.4 KiB
Plaintext

;
; /etc/asterisk/pjsip_wizard.conf
;
[trunk-defaults](!)
type = wizard
; Send media to the address and port on the incoming packet, regardless of what
; the SIP headers say (NAT workaround).
endpoint/rtp_symmetric = yes
; Rewrite the SIP contact to the address and port of the request (NAT workaround).
endpoint/rewrite_contact = yes
; Send the Remote-Party-ID SIP header. Some providers need this.
endpoint/send_rpid = yes
; We use alaw mainly in Europe.
endpoint/allow = !all,alaw
; Call encryption.
endpoint/media_encryption = no
; Default language, pjsip wizard appears to ignore global setting.
endpoint/language = en_GB
;
[extension-defaults](!)
type = wizard
; Users must register and auth!
accepts_registrations = yes
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.
aor/remove_existing = yes
; Max simultaneous account logins.
endpoint/max_contacts = 1
; Audio codecs: alaw only please.
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.
endpoint/subscribe_context = subscribe
;
; Load user extensions.
#tryinclude pjsip_users.conf