Bug 26803: Fix PLUGIN_DIR when plugin_dirs is multivalued
[koha.git] / etc / SIPconfig.xml
blob43f34ee05bb14a231583748535249bee8d542da4
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   />
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       client_timeout="600"
36       timeout="60" />
37 <!--- client_timeout times out active connections which have not received
38      input from the client. Many persistent connections will send a status request
39      every 5-7 mins so setting this to less than that will add instability to the connection
40      if explicitly set to zero, no timeout is applied to the connection.
41      NB the parameter timeout applies to the login process only and should be set to a lower value
42      to time out failed connections
43 -->
44   </listeners>
46   <accounts>
47       <login id="staff"  password="staff" delimiter="|" error-detect="enabled" institution="CPL" encoding="ascii" checked_in_ok="1" payment_type_writeoff="06" disallow_overpayment="1" />
48       <login id="koha"   password="koha"  delimiter="|" error-detect="enabled" institution="kohalibrary" encoding="utf8" />
49       <login id="koha2"  password="koha" institution="kohalibrary2" terminator="CR" />
50       <login id="lpl-sc" password="1234" institution="LPL" />
51       <login id="lpl-sc-beacock" password="xyzzy"
52              delimiter="|" error-detect="enabled" institution="LPL"
53              send_patron_home_library_in_af="1"
54              cv_send_00_on_success="1"
55              ct_always_send="1"
56              cv_triggers_alert="1"
57              allow_empty_passwords="1"
58              cr_item_field="shelving_location"
59              ae_field_template="[% patron.surname %][% IF patron.firstname %], [% patron.firstname %][% END %]"
60              da_field_template="[% patron.surname %][% IF patron.firstname %], [% patron.firstname %][% END %]"
61              av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"
62              hide_fields="BD,BE,BF,PB"
63              register_id=''
64              holds_block_checkin="0">
65           <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
66           <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
67           <patron_attribute field="XY" code="CODE" />
68           <item_field field="ZY" code="permanent_location" />
69           <syspref_overrides>
70               <AllFinesNeedOverride>0</AllFinesNeedOverride>
71           </syspref_overrides>
72           <custom_patron_field field="DE" template="[% patron.dateexpiry %]" />
73       </login>
74   </accounts>
76 <!--
77 Institution tags are for enabled branches.  There needs to be one
78 institution stanza for each institution named in the accounts above.
79 The implementation attribute is actually used to find the code to run,
80 in our case "ILS".
81 -->
83 <institutions>
84     <institution id="MAIN" implementation="ILS" parms="">
85           <policy checkin="true" renewal="true" checkout="true"
86             status_update="false" offline="false"
87           timeout="100"
88             retries="5" />
89     </institution>
90     <institution id="CPL" implementation="ILS" parms="">
91           <policy checkin="true" renewal="true" checkout="true"
92             status_update="false" offline="false"
93           timeout="25"
94             retries="5" />
95     </institution>
96     <institution id="kohalibrary" implementation="ILS" parms="">
97           <policy checkin="true" renewal="false" checkout="true"
98             status_update="false" offline="false"
99           timeout="100"
100             retries="5" />
101     </institution>
102     <institution id="kohalibrary2" implementation="ILS" parms="">
103           <policy checkin="true" renewal="false" checkout="true"
104           timeout="100"
105             retries="3" />
106     </institution>
107     <institution id="LPL" implementation="ILS">
108           <policy checkin="true" renewal="false" checkout="true"
109           timeout="100"
110             retries="5" />
111     </institution>
112 </institutions>
114 <!-- This section allows system preferences to be overridden on a global basis.
115      If the same system preference is overridden at the login level, the login
116      version will take precedence.
118 <syspref_overrides>
119       <AllFinesNeedOverride>0</AllFinesNeedOverride>
120 </syspref_overrides>
122 </acsconfig>