SIP filters: see if we can delete SIPconfig.xml later
authorJason Etheridge <jason@EquinoxOLI.org>
Fri, 1 Jul 2022 01:27:30 +0000 (21:27 -0400)
committerJason Etheridge <jason@EquinoxOLI.org>
Tue, 5 Jul 2022 03:21:15 +0000 (23:21 -0400)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
SIPconfig.xml.example.stock [new file with mode: 0644]

diff --git a/SIPconfig.xml.example.stock b/SIPconfig.xml.example.stock
new file mode 100644 (file)
index 0000000..84775a1
--- /dev/null
@@ -0,0 +1,91 @@
+<!--
+#
+# Copyright (C) 2006-2008  Georgia Public Library Service
+# Copyright (C) 2013,2016 Equinox Software, Inc.
+# 
+# Author: David J. Fiander
+# Author: Mike Rylander
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<acsconfig xmlns="http://openncip.org/acs-config/1.0/">
+
+  <error-detect enabled="true" />
+
+  <!-- Set Net::Server runtime parameters.  "personality" may -->
+  <!-- be either PreFork or Multiplex. -->
+  <server-params
+           personality='PreFork'
+           min_servers='1'
+           min_spare_servers='0' />
+  
+  
+  <listeners>
+    <service
+      port="0:8080/tcp"
+      transport="http"
+      protocol="NCIP/1.0" />
+
+    <service
+      port="8023/tcp"
+      transport="telnet"
+      protocol="SIP/1.00"
+      timeout="60" />
+
+    <service
+      port="127.0.0.1:6001/tcp"
+      transport="RAW" 
+      protocol="SIP/2.00"
+      allow_sc_status_then_login="disabled"
+      timeout="60" />
+  </listeners>
+
+  <!-- One or more Memecache servers are required for Multiplex mode. -->
+  <!-- Cache server(s) are ignored in non-Multiplex mode -->
+  <cache>
+    <server>127.0.0.1:11211</server>
+  </cache>
+
+  <accounts>
+      <login id="scclient" password="clientpwd" institution="UWOLS">
+      </login>
+      <login id="scclient-2" password="clientpwd-2"
+             institution="UWOLS" />
+      <login id="lpl-sc" password="1234" institution="LPL" />
+      <login id="lpl-sc-beacock" password="xyzzy" location_code="WORKSTATION5"
+             delimiter="|" error-detect="enabled" institution="LPL" />
+  </accounts>
+
+<!-- Institution tags will hold stuff used to interface to -->
+<!-- the rest of the ILS: authentication parameters, etc.  I -->
+<!-- don't know what yet, so it'll just be blank.  But there -->
+<!-- needs to be one institution stanza for each institution -->
+<!-- named in the accounts above. -->
+<institutions>
+    <institution id="UWOLS" implementation="ILS" parms="">
+          <policy checkin="true" renewal="false"
+            status_update="false" offline="false"
+            timeout="600" client_location_code="true"
+            retries="3" />
+          <relais_extensions_to_msg24 enabled="false" />
+    <encoding>ascii</encoding>
+    <phone_ext_to_msg10 enabled="false" />
+    </institution>
+
+    <institution id="LPL" implementation="ILS">
+    <encoding>UTF-8</encoding>
+    </institution>
+</institutions>
+</acsconfig>