Functional SIP run and shutdown scripts. Update example SIPconfig.xml
[koha.git] / C4 / SIP / SIPconfig.xml
1 <acsconfig xmlns="http://openncip.org/acs-config/1.0/">
2 <!-- above address gets nothing, it's just a namespace -->
3   <error-detect enabled="true" />
4
5 <!-- Set Net::Server::PreFork runtime parameters -->
6 <!--  <server-params
7            min_servers='1'
8            min_spare_servers='0' /> -->
9   
10   <listeners>
11 <!-- vestigial HTTP, never implemented: just use the OPAC!
12         <service
13       port="0:8080/tcp"
14       transport="http"
15       protocol="NCIP/1.0" />
16 -->
17     <service
18       port="8023/tcp"
19       transport="telnet"
20       protocol="SIP/2.00"
21       timeout="60" />
22
23     <service
24       port="127.0.0.1:6001/tcp"
25       transport="RAW" 
26       protocol="SIP/2.00"
27       timeout="60" />
28   </listeners>
29
30   <accounts>
31       <login id="term1"  password="term1" delimiter="|" error-detect="enabled" institution="CPL" />
32       <login id="koha"   password="koha"  delimiter="|" error-detect="enabled" institution="kohalibrary" />
33       <login id="koha2"  password="koha" institution="kohalibrary2" />
34       <login id="lpl-sc" password="1234" institution="LPL" />
35       <login id="lpl-sc-beacock" password="xyzzy"
36              delimiter="|" error-detect="enabled" institution="LPL" />
37   </accounts>
38
39 <!--
40 Institution tags are for enabled branches.  There needs to be one
41 institution stanza for each institution named in the accounts above.
42 The implementation attribute is actually used to find the code to run,
43 in our case "ILS".
44 -->
45
46 <institutions>
47     <institution id="MAIN" implementation="ILS" parms="">
48           <policy checkin="true" renewal="true" checkout="true"
49                   status_update="false" offline="false"
50                   timeout="100"
51                   retries="5" />
52     </institution>
53     <institution id="CPL" implementation="ILS" parms="">
54           <policy checkin="true" renewal="true" checkout="true"
55                   status_update="false" offline="false"
56                   timeout="25"
57                   retries="5" />
58     </institution>
59     <institution id="kohalibrary" implementation="ILS" parms="">
60           <policy checkin="true" renewal="false" checkout="true"
61                   status_update="false" offline="false"
62                   timeout="100"
63                   retries="5" />
64     </institution>
65     <institution id="kohalibrary2" implementation="ILS" parms="">
66           <policy checkin="true" renewal="false" checkout="true"
67                   timeout="100"
68                   retries="3" />
69     </institution>
70     <institution id="LPL" implementation="ILS">
71           <policy checkin="true" renewal="false" checkout="true"
72                   timeout="100"
73                   retries="5" />
74     </institution>
75 </institutions>
76 </acsconfig>