View | Details | Raw Unified | Return to bug 7238
Collapse All | Expand All

(-)a/debian/templates/SIPconfig.xml (-1 / +84 lines)
Line 0 Link Here
0
- 
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
  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" />
30
31
    <service
32
      port="127.0.0.1:6001/tcp"
33
      transport="RAW" 
34
      protocol="SIP/2.00"
35
      timeout="60" />
36
  </listeners>
37
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>
46
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
-->
53
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>

Return to bug 7238