Bug 10240: DBRev 3.13.00.027
[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" />
40       <login id="koha"   password="koha"  delimiter="|" error-detect="enabled" institution="kohalibrary" />
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   </accounts>
47
48 <!--
49 Institution tags are for enabled branches.  There needs to be one
50 institution stanza for each institution named in the accounts above.
51 The implementation attribute is actually used to find the code to run,
52 in our case "ILS".
53 -->
54
55 <institutions>
56     <institution id="MAIN" implementation="ILS" parms="">
57           <policy checkin="true" renewal="true" checkout="true"
58                   status_update="false" offline="false"
59                   timeout="100"
60                   retries="5" />
61     </institution>
62     <institution id="CPL" implementation="ILS" parms="">
63           <policy checkin="true" renewal="true" checkout="true"
64                   status_update="false" offline="false"
65                   timeout="25"
66                   retries="5" />
67     </institution>
68     <institution id="kohalibrary" implementation="ILS" parms="">
69           <policy checkin="true" renewal="false" checkout="true"
70                   status_update="false" offline="false"
71                   timeout="100"
72                   retries="5" />
73     </institution>
74     <institution id="kohalibrary2" implementation="ILS" parms="">
75           <policy checkin="true" renewal="false" checkout="true"
76                   timeout="100"
77                   retries="3" />
78     </institution>
79     <institution id="LPL" implementation="ILS">
80           <policy checkin="true" renewal="false" checkout="true"
81                   timeout="100"
82                   retries="5" />
83     </institution>
84 </institutions>
85 </acsconfig>