aboutsummaryrefslogtreecommitdiffstats
path: root/roles/asterisk/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/asterisk/templates')
-rw-r--r--roles/asterisk/templates/etc/asterisk/pjsip_wizard.conf.j23
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/asterisk/templates/etc/asterisk/pjsip_wizard.conf.j2 b/roles/asterisk/templates/etc/asterisk/pjsip_wizard.conf.j2
index 4a6d800..28e894e 100644
--- a/roles/asterisk/templates/etc/asterisk/pjsip_wizard.conf.j2
+++ b/roles/asterisk/templates/etc/asterisk/pjsip_wizard.conf.j2
@@ -39,7 +39,6 @@ type = wizard
accepts_registrations = yes
accepts_auth = yes
aor/remove_existing = yes
-aor/qualify_frequency = 30
endpoint/allow = !all,g722,ulaw
endpoint/from_domain = {{ asterisk_from_domain }}
endpoint/subscribe_context = subscribe
@@ -55,5 +54,7 @@ endpoint/callerid = {{ ext.cid_name }} <{{ ext.cid_number | default(ext.name
inbound_auth/username = {{ ext.username | default(ext.name) }}
inbound_auth/password = {{ ext.password }}
aor/max_contacts = {{ ext.max_contacts | default(1) }}
+aor/qualify_frequency = {{ ext.qualify_frequency | default(30) }}
+endpoint/direct_media = {{ 'yes' if ext.direct_media | default(true) else 'no' }}
{% endfor %}