pespin has uploaded this change for review.
asterisk: pjsip.conf: Mark templates accordingly
Mark templates as such, in order to remove error messages during
asterisk setup when trying to apply the templates (which lack fields
such as "username", provided by config sections using the templates).
Reference: https://docs.asterisk.org/Fundamentals/Asterisk-Configuration/Asterisk-Configuration-Files/Templates/Template-Syntax/
Change-Id: Ia132c2e90cf6ee44145ca2e2555cf2dc6c1cfd51
---
M ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
1 file changed, 18 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/50/36650/1
diff --git a/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf b/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
index 39cf9bb..57cab41 100644
--- a/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
+++ b/ttcn3-asterisk-ims-ue-test/asterisk/pjsip.conf
@@ -7,8 +7,7 @@
;external_media_address=[obfuscated]
;external_signaling_address=[obfuscated]
-
-[endpoint_phone_template]
+[endpoint_phone_template](!)
type=endpoint
transport=transport-udp
context=from-phone
@@ -16,11 +15,11 @@
allow=alaw
allow=ulaw
-[auth_phone_template]
+[auth_phone_template](!)
type=auth
auth_type=userpass
-[aor_phone_template]
+[aor_phone_template](!)
type=aor
max_contacts=1
remove_existing=yes
To view, visit change 36650. To unsubscribe, or for help writing mail filters, visit settings.