; ; /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 ; 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 ; ; This template contains default settings for all local extensions. [extension-defaults](!) type = wizard ; Require clients to register. accepts_registrations = yes ; Require clients to authenticate. accepts_auth = yes ; When simultaneous logins from the same account exceed max_contacts, disconnect ; the oldest session. aor/remove_existing = yes ; allow just alaw endpoint/allow = !all,alaw ; Context name for BLF/presence subscriptions. This can be any string of your ; choosing. endpoint/subscribe_context = presence ; 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