Bug 10860: In-House Use
[koha.git] / etc / 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 <!--
6   Set Net::Server::PreFork runtime parameters 
7   syslog_ident will identify SIP2 Koha server entries in syslog
8   For OpenSolaris, add: syslog_logsock=stream
9 -->
10   <server-params
11     min_servers='1'
12     min_spare_servers='0' 
13     log_file='Sys::Syslog'
14     syslog_ident='koha_sip'
15     syslog_facility='local6'
16   />
17   
18   <listeners>
19 <!-- vestigial HTTP, never implemented: just use the OPAC!
20         <service
21       port="0:8080/tcp"
22       transport="http"
23       protocol="NCIP/1.0" />
24 -->
25     <service
26       port="8023/tcp"
27       transport="telnet"
28       protocol="SIP/2.00"
29       timeout="60" />
30
31     <service
32       port="127.0.0.1:6001/tcp"
33       transport="RAW" 
34       protocol="SIP/2.00"
35       timeout="60" />
36   </listeners>
37
38   <accounts>
39       <login id="term1"  password="term1" delimiter="|" error-detect="enabled" institution="CPL" encoding="ascii" />
40       <login id="koha"   password="koha"  delimiter="|" error-detect="enabled" institution="kohalibrary" encoding="utf8" />
41       <login id="koha2"  password="koha" institution="kohalibrary2" terminator="CR" />
42       <login id="lpl-sc" password="1234" institution="LPL" />
43       <login id="lpl-sc-beacock" password="xyzzy"
44              delimiter="|" error-detect="enabled" institution="LPL"
45              send_patron_home_library_in_af="1" >
46           <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
47           <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
48       </login>
49   </accounts>
50
51 <!--
52 Institution tags are for enabled branches.  There needs to be one
53 institution stanza for each institution named in the accounts above.
54 The implementation attribute is actually used to find the code to run,
55 in our case "ILS".
56 -->
57
58 <institutions>
59     <institution id="MAIN" implementation="ILS" parms="">
60           <policy checkin="true" renewal="true" checkout="true"
61                   status_update="false" offline="false"
62                   timeout="100"
63                   retries="5" />
64     </institution>
65     <institution id="CPL" implementation="ILS" parms="">
66           <policy checkin="true" renewal="true" checkout="true"
67                   status_update="false" offline="false"
68                   timeout="25"
69                   retries="5" />
70     </institution>
71     <institution id="kohalibrary" implementation="ILS" parms="">
72           <policy checkin="true" renewal="false" checkout="true"
73                   status_update="false" offline="false"
74                   timeout="100"
75                   retries="5" />
76     </institution>
77     <institution id="kohalibrary2" implementation="ILS" parms="">
78           <policy checkin="true" renewal="false" checkout="true"
79                   timeout="100"
80                   retries="3" />
81     </institution>
82     <institution id="LPL" implementation="ILS">
83           <policy checkin="true" renewal="false" checkout="true"
84                   timeout="100"
85                   retries="5" />
86     </institution>
87 </institutions>
88 </acsconfig>