]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/examples/oils_sip.xml.example
Merge Dan Wells' changes to the serial schema from the
[working/Evergreen.git] / Open-ILS / examples / oils_sip.xml.example
1 <acsconfig xmlns="http://openncip.org/acs-config/1.0/">
2
3         <error-detect enabled="true" />
4
5   <!-- Set Net::Server::PreFork runtime parameters -->
6         <!--  <server-params
7            min_servers='1'
8            min_spare_servers='0' /> -->
9   
10   
11         <listeners>
12                 <service
13                         port="0:8080/tcp"
14                         transport="http"
15                         protocol="NCIP/1.0" />
16
17                 <service
18                         port="8023/tcp"
19                         transport="telnet"
20                         protocol="SIP/1.00"
21                         timeout="60" />
22
23                 <service
24                         port="127.0.0.1:6001/tcp"
25                         transport="RAW" 
26                         protocol="SIP/2.00"
27                         timeout="60" />
28         </listeners>
29
30         <accounts>
31                 <login id="scclient" password="clientpwd" institution="gapines"/>
32         </accounts>
33
34         <!-- Institution tags will hold stuff used to interface to -->
35         <!-- the rest of the ILS: authentication parameters, etc.  I -->
36         <!-- don't know what yet, so it'll just be blank.  But there -->
37         <!-- needs to be one institution stanza for each institution -->
38         <!-- named in the accounts above. -->
39         <institutions>
40
41
42                 <institution id="gapines" implementation="OpenILS::SIP">
43
44                         <!-- This defines what actions we want to allow 
45                                 remote clients (self-check machines) to perform -->
46                         <policy 
47                                 checkin="true" 
48                                 checkout="true" 
49                                 renewal="true" 
50                                 status_update="false" 
51                                 offline="false" 
52                                 timeout="600" 
53                                 retries="3"/>
54         
55                         <!-- implementation specific config options go here -->
56                         <implementation_config>
57                                 <bootstrap>SYSCONFDIR/opensrf_core.xml</bootstrap>
58                                 <currency>USD</currency>
59
60                                 <!-- The default encoding defined in the SIP specification is -->
61                                 <!-- ASCII, which isn't great for French, Spanish, Armenian. -->
62                                 <!-- You can specify a different encoding here, based on the -->
63                                 <!-- encodings supported by your SIP client and your Encode -->
64                                 <!-- module; run the following command to get a list of supported -->
65                                 <!-- encodings: -->
66                                 <!--   perl -MEncode -le "print for Encode->encodings(':all')" -->
67
68                                 <!-- UTF-8 is the recommended encoding if your SIP client supports it -->
69                                 <encoding>ascii</encoding>
70
71                                 <!-- These defines what this SIP code has the ability to support -->
72                                 <supports>
73                                         <item name='magnetic media' value='true'/>
74                                         <item name='security inhibit' value='false'/>
75                                         <item name='offline operation' value='false'/>
76                                         <item name='patron status request' value='true'/>
77                                         <item name='checkout' value='true'/>
78                                         <item name='checkin' value='true'/>
79                                         <item name='block patron' value='true'/>
80                                         <item name='acs status' value='true'/>
81                                         <item name='login' value='true'/>
82                                         <item name='patron information' value='true'/>
83                                         <item name='end patron session' value='true'/>
84                                         <item name='fee paid' value='false'/>
85                                         <item name='item information' value='true'/>
86                                         <item name='item status update' value='false'/>
87                                         <item name='patron enable' value='false'/>
88                                         <item name='hold' value='false'/>
89                                         <item name='renew' value='true'/>
90                                         <item name='renew all' value='false'/>
91                                 </supports>
92                                 <options>
93                                         <!-- msg64, the patron information request can be
94                                           made to return item barcodes by setting
95                                           the option 'msg64_summary_datatype' to 'barcode'
96                                           as below. Any other value, or no value at all
97                                           will cause OpenILS::SIP to return the title
98                                           in response to a message 64 request, which was the
99                                           default behaviour in previous versions of Evergreen.
100                                         -->
101                                         <option name='msg64_summary_datatype' value='barcode' />
102                                 </options>
103
104                 <!-- If uncommented, overrides the legacy_script_support value in opensrf.xml for SIP. -->
105                 <!--
106                 <legacy_script_support>false</legacy_script_support>
107                 -->
108
109                                 <scripts>
110                     <!-- 
111                         When legacy script support is disabled, the <script> configuration
112                         is ignored.  The SIP server pulls item configuration information
113                         from the database instead (config.circ_modifier).
114                     -->
115                                         <path>LOCALSTATEDIR/</path>
116                     <path>LOCALSTATEDIR/catalog/</path>
117                                         <item_config>circ/circ_item_config.js</item_config>
118                                 </scripts>
119
120                         </implementation_config>
121         
122                 </institution>
123         
124         </institutions>
125 </acsconfig>