Merge branch 'bug_9791' into 3.12-master
[koha.git] / etc / SIPconfig.xml
blobf229b9a51be6e74239ab0dc38d4e33cd917cab90
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" />
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" />
31     <service
32       port="127.0.0.1:6001/tcp"
33       transport="RAW" 
34       protocol="SIP/2.00"
35       timeout="60" />
36   </listeners>
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" />
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   </accounts>
47 <!--
48 Institution tags are for enabled branches.  There needs to be one
49 institution stanza for each institution named in the accounts above.
50 The implementation attribute is actually used to find the code to run,
51 in our case "ILS".
52 -->
54 <institutions>
55     <institution id="MAIN" implementation="ILS" parms="">
56           <policy checkin="true" renewal="true" checkout="true"
57                   status_update="false" offline="false"
58                   timeout="100"
59                   retries="5" />
60     </institution>
61     <institution id="CPL" implementation="ILS" parms="">
62           <policy checkin="true" renewal="true" checkout="true"
63                   status_update="false" offline="false"
64                   timeout="25"
65                   retries="5" />
66     </institution>
67     <institution id="kohalibrary" implementation="ILS" parms="">
68           <policy checkin="true" renewal="false" checkout="true"
69                   status_update="false" offline="false"
70                   timeout="100"
71                   retries="5" />
72     </institution>
73     <institution id="kohalibrary2" implementation="ILS" parms="">
74           <policy checkin="true" renewal="false" checkout="true"
75                   timeout="100"
76                   retries="3" />
77     </institution>
78     <institution id="LPL" implementation="ILS">
79           <policy checkin="true" renewal="false" checkout="true"
80                   timeout="100"
81                   retries="5" />
82     </institution>
83 </institutions>
84 </acsconfig>