Bug 31028: (follow-up) Update notice module codes
[koha-ffzg.git] / etc / SIPconfig.xml
index 5701926..58d9b10 100644 (file)
@@ -5,14 +5,23 @@
 <!--
   Set Net::Server::PreFork runtime parameters
   syslog_ident will identify SIP2 Koha server entries in syslog
+  See documentation for Net::Server
+  user and group select what user the service should run as
+  if started as root (e.g. in server startup ) the server will switch to
+  this user after binding to the socket it is listening on
   For OpenSolaris, add: syslog_logsock=stream
 -->
   <server-params
     min_servers='1'
     min_spare_servers='0'
+    max_servers='1'
     log_file='Sys::Syslog'
     syslog_ident='koha_sip'
     syslog_facility='local6'
+    setsid="1"
+    user='koha'
+    group='koha'
+    pid_file='/var/run/sipserver.pid'
   />
 
   <listeners>
              ct_always_send="1"
              cv_triggers_alert="1"
              allow_empty_passwords="1"
+             cr_item_field="shelving_location"
              ae_field_template="[% patron.surname %][% IF patron.firstname %], [% patron.firstname %][% END %]"
              da_field_template="[% patron.surname %][% IF patron.firstname %], [% patron.firstname %][% END %]"
              av_field_template="[% accountline.description %] [% accountline.amountoutstanding | format('%.2f') %]"
              hide_fields="BD,BE,BF,PB"
              register_id=''
-             no_holds_checkin="1">
+             holds_block_checkin="0"
+             holds_get_captured="1"
+             prevcheckout_block_checkout="0"
+             overdues_block_checkout="1"
+             show_outstanding_amount="1"
+             format_due_date="0"
+             inhouse_item_types=""
+             inhouse_patron_categories="">
+          <!-- Refer to syspref SIP2SortBinMapping for full explanation of sort bin mapping -->
+          <sort_bin_mapping mapping="CPL:itype:eq:BK:1"/>
+          <sort_bin_mapping mapping="CPL:location:eq:OFFICE:2"/>
           <screen_msg_regex find="Greetings from Koha." replace="Welcome to your library!" />
           <screen_msg_regex find="Invalid patron barcode." replace="Barcode not found, are you sure this is your library card?" />
           <patron_attribute field="XY" code="CODE" />
@@ -69,6 +89,7 @@
               <AllFinesNeedOverride>0</AllFinesNeedOverride>
           </syspref_overrides>
           <custom_patron_field field="DE" template="[% patron.dateexpiry %]" />
+          <custom_item_field field="IN" template="[% item.itemnumber %]" />
       </login>
   </accounts>
 
@@ -117,5 +138,4 @@ in our case "ILS".
 <syspref_overrides>
       <AllFinesNeedOverride>0</AllFinesNeedOverride>
 </syspref_overrides>
-
 </acsconfig>