aboutsummaryrefslogtreecommitdiff
path: root/dot_baresip/accounts.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'dot_baresip/accounts.tmpl')
-rw-r--r--dot_baresip/accounts.tmpl36
1 files changed, 36 insertions, 0 deletions
diff --git a/dot_baresip/accounts.tmpl b/dot_baresip/accounts.tmpl
new file mode 100644
index 0000000..acf8dcb
--- /dev/null
+++ b/dot_baresip/accounts.tmpl
@@ -0,0 +1,36 @@
+#
+# SIP accounts - one account per line
+#
+# Displayname <sip:user@domain;uri-params>;addr-params
+#
+# uri-params:
+# ;transport={udp,tcp,tls}
+#
+# addr-params:
+# ;answermode={manual,early,auto}
+# ;audio_codecs=opus/48000/2,pcma,...
+# ;auth_user=username
+# ;auth_pass=password
+# ;call_transfer=no
+# ;mediaenc={srtp,srtp-mand,srtp-mandf,dtls_srtp,zrtp}
+# ;medianat={stun,turn,ice}
+# ;mwi=no
+# ;outbound="sip:primary.example.com;transport=tcp"
+# ;outbound2=sip:secondary.example.com
+# ;ptime={10,20,30,40,...}
+# ;regint=3600
+# ;pubint=0 (publishing off)
+# ;regq=0.5
+# ;sipnat={outbound}
+# ;stunuser=STUN/TURN/ICE-username
+# ;stunpass=STUN/TURN/ICE-password
+# ;stunserver=stun:[user:pass]@host[:port]
+# ;video_codecs=h264,h263,...
+#
+# Examples:
+#
+# <sip:user@domain.com;transport=tcp>;auth_pass=secret
+# <sip:user@1.2.3.4;transport=tcp>;auth_pass=secret
+# <sip:user@[2001:df8:0:16:216:6fff:fe91:614c]:5070;transport=tcp>;auth_pass=secret
+#
+<sip:2023@sip.sdf.org>;auth_pass={{ .password.sdfsip }}