Bug 17681: Exiisting typos might thow some feees when recieved
[koha.git] / etc / SIPconfig.xml
blob40e495eebc452b9480ba59ff4880fd3ce8fc34dc
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="term1"  password="term1" delimiter="|" error-detect="enabled" institution="CPL" encoding="ascii" checked_in_ok="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              av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]" >
55           <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
56           <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
57       </login>
58   </accounts>
60 <!--
61 Institution tags are for enabled branches.  There needs to be one
62 institution stanza for each institution named in the accounts above.
63 The implementation attribute is actually used to find the code to run,
64 in our case "ILS".
65 -->
67 <institutions>
68     <institution id="MAIN" implementation="ILS" parms="">
69           <policy checkin="true" renewal="true" checkout="true"
70             status_update="false" offline="false"
71           timeout="100"
72             retries="5" />
73     </institution>
74     <institution id="CPL" implementation="ILS" parms="">
75           <policy checkin="true" renewal="true" checkout="true"
76             status_update="false" offline="false"
77           timeout="25"
78             retries="5" />
79     </institution>
80     <institution id="kohalibrary" implementation="ILS" parms="">
81           <policy checkin="true" renewal="false" checkout="true"
82             status_update="false" offline="false"
83           timeout="100"
84             retries="5" />
85     </institution>
86     <institution id="kohalibrary2" implementation="ILS" parms="">
87           <policy checkin="true" renewal="false" checkout="true"
88           timeout="100"
89             retries="3" />
90     </institution>
91     <institution id="LPL" implementation="ILS">
92           <policy checkin="true" renewal="false" checkout="true"
93           timeout="100"
94             retries="5" />
95     </institution>
96 </institutions>
97 </acsconfig>