[Koha] koha sip2 character and connection problem.

Ahmet Melih Başbuğ melihbasbug at gmail.com
Sat Feb 13 01:49:06 NZDT 2016


Hello

For our Koha library software, we installed koha SIP2 tool for RFID. In
SIPconfig, we configured encode=utf-8 for Turkish characters "ş,ı,ü" etc.
It works well at the beggining. However we hear from our customers. In
logs, we see result messages of sip2 with errornous characters after
configured 5-10 hours.

Feb 12 14:35:42 koha-web48 koha_sip[6280]: OUTPUT MSG: '121NNY20160212
143542AO60|AA61375041838|AB106000070188|AJDuygular*?*n dili|AH20160227
235900|AY1AZE6B5'

there is "?" in message. it must be "ı"

Feb 12 14:35:42 koha-web48 koha_sip[6280]: OUTPUT MSG: '121NNY20160212
143542AO60|AA61375041838|AB106000070188|AJDuygular*ı*n dili|AH20160227
235900|AY1AZE6B5'

my config file is;

<acsconfig xmlns="http://openncip.org/acs-config/1.0/">
<!-- above address gets nothing, it's just a namespace -->
  <error-detect enabled="true" />

<!--
  Set Net::Server::PreFork runtime parameters
  syslog_ident will identify SIP2 Koha server entries in syslog
  For OpenSolaris, add: syslog_logsock=stream
-->
  <server-params
    min_servers='10'
    min_spare_servers='5'
    log_file='Sys::Syslog'
    syslog_ident='koha_sip'
    syslog_facility='local6'
  />

  <listeners>
<!-- vestigial HTTP, never implemented: just use the OPAC!
        <service
      port="0:8080/tcp"
      transport="http"
      protocol="NCIP/1.0" />
-->
   <service
      port="8023/tcp"
      transport="telnet"
      protocol="SIP/2.00"
      timeout="60" />

    <service
      port="192.168.110.48:6001/tcp"
      transport="RAW"
      protocol="SIP/2.00"
      timeout="60" />
  </listeners>

  <accounts>
      <login id="sip24" password="test" delimeter="|"
error-detect="enabled" institution="24" encoding="utf8"/>
     </login>
  </accounts>

<!--
Institution tags are for enabled branches.  There needs to be one
institution stanza for each institution named in the accounts above.
The implementation attribute is actually used to find the code to run,
in our case "ILS".
-->

<institutions>
        <institution id="60" implementation="ILS" parms="">
            <policy checkin="true" renewal="true" checkout="true"
                   status_update="false" offline="true" timeout="100"
                   retries="5" />
    </institution>
...

What the connection-corrupt error and character errors can be?  what should
we do? is it bug? thanks.

Ahmet Başbuğ


More information about the Koha mailing list