Bug 30477: Add new UNIMARC installer translation files
[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   See documentation for Net::Server
9   user and group select what user the service should run as
10   if started as root (e.g. in server startup ) the server will switch to
11   this user after binding to the socket it is listening on
12   For OpenSolaris, add: syslog_logsock=stream
13 -->
14   <server-params
15     min_servers='1'
16     min_spare_servers='0'
17     log_file='Sys::Syslog'
18     syslog_ident='koha_sip'
19     syslog_facility='local6'
20     setsid="1"
21     user='koha'
22     group='koha'
23     pid_file='/var/run/sipserver.pid'
24   />
25
26   <listeners>
27 <!-- vestigial HTTP, never implemented: just use the OPAC!
28     <service
29       port="0:8080/tcp"
30       transport="http"
31       protocol="NCIP/1.0" />
32 -->
33     <service
34       port="8023/tcp"
35       transport="telnet"
36       protocol="SIP/2.00"
37       timeout="60" />
38
39     <service
40       port="127.0.0.1:6001/tcp"
41       transport="RAW"
42       protocol="SIP/2.00"
43       client_timeout="600"
44       timeout="60" />
45 <!--- client_timeout times out active connections which have not received
46      input from the client. Many persistent connections will send a status request
47      every 5-7 mins so setting this to less than that will add instability to the connection
48      if explicitly set to zero, no timeout is applied to the connection.
49      NB the parameter timeout applies to the login process only and should be set to a lower value
50      to time out failed connections
51 -->
52   </listeners>
53
54   <accounts>
55       <login id="staff"  password="staff" delimiter="|" error-detect="enabled" institution="CPL" encoding="ascii" checked_in_ok="1" payment_type_writeoff="06" disallow_overpayment="1" />
56       <login id="koha"   password="koha"  delimiter="|" error-detect="enabled" institution="kohalibrary" encoding="utf8" />
57       <login id="koha2"  password="koha" institution="kohalibrary2" terminator="CR" />
58       <login id="lpl-sc" password="1234" institution="LPL" />
59       <login id="lpl-sc-beacock" password="xyzzy"
60              delimiter="|" error-detect="enabled" institution="LPL"
61              send_patron_home_library_in_af="1"
62              cv_send_00_on_success="1"
63              ct_always_send="1"
64              cv_triggers_alert="1"
65              allow_empty_passwords="1"
66              cr_item_field="shelving_location"
67              ae_field_template="[% patron.surname %][% IF patron.firstname %], [% patron.firstname %][% END %]"
68              da_field_template="[% patron.surname %][% IF patron.firstname %], [% patron.firstname %][% END %]"
69              av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"
70              hide_fields="BD,BE,BF,PB"
71              register_id=''
72              holds_block_checkin="0"
73              prevcheckout_block_checkout="0"
74              overdues_block_checkout="1"
75              format_due_date="0"
76              inhouse_patron_categories="">
77           <!-- Refer to syspref SIP2SortBinMapping for full explanation of sort bin mapping -->
78           <sort_bin_mapping mapping="CPL:itype:eq:BK:1"/>
79           <sort_bin_mapping mapping="CPL:location:eq:OFFICE:2"/>
80           <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
81           <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
82           <patron_attribute field="XY" code="CODE" />
83           <item_field field="ZY" code="permanent_location" />
84           <syspref_overrides>
85               <AllFinesNeedOverride>0</AllFinesNeedOverride>
86           </syspref_overrides>
87           <custom_patron_field field="DE" template="[% patron.dateexpiry %]" />
88       </login>
89   </accounts>
90
91 <!--
92 Institution tags are for enabled branches.  There needs to be one
93 institution stanza for each institution named in the accounts above.
94 The implementation attribute is actually used to find the code to run,
95 in our case "ILS".
96 -->
97
98 <institutions>
99     <institution id="MAIN" implementation="ILS" parms="">
100           <policy checkin="true" renewal="true" checkout="true"
101             status_update="false" offline="false"
102           timeout="100"
103             retries="5" />
104     </institution>
105     <institution id="CPL" implementation="ILS" parms="">
106           <policy checkin="true" renewal="true" checkout="true"
107             status_update="false" offline="false"
108           timeout="25"
109             retries="5" />
110     </institution>
111     <institution id="kohalibrary" implementation="ILS" parms="">
112           <policy checkin="true" renewal="false" checkout="true"
113             status_update="false" offline="false"
114           timeout="100"
115             retries="5" />
116     </institution>
117     <institution id="kohalibrary2" implementation="ILS" parms="">
118           <policy checkin="true" renewal="false" checkout="true"
119           timeout="100"
120             retries="3" />
121     </institution>
122     <institution id="LPL" implementation="ILS">
123           <policy checkin="true" renewal="false" checkout="true"
124           timeout="100"
125             retries="5" />
126     </institution>
127 </institutions>
128
129 <!-- This section allows system preferences to be overridden on a global basis.
130      If the same system preference is overridden at the login level, the login
131      version will take precedence.
132 -->
133 <syspref_overrides>
134       <AllFinesNeedOverride>0</AllFinesNeedOverride>
135 </syspref_overrides>
136 </acsconfig>