[Koha] KOHA 17.11 SIP2 - problem to connect

kamil smichaelxx at tlen.pl
Wed Jan 24 01:01:40 NZDT 2018


Helo,
I have problem to connect from telnet to SIP2. 
I configure SIP2config.xml

<acsconfig xmlns="http://openncip.org/acs-config/1.0/">
  <error-detect enabled="true" />
  <server-params
    min_servers='1'
    min_spare_servers='0'
    log_file='Sys::Syslog'
    syslog_ident='koha_sip'
    syslog_facility='local6'
  />

  <listeners>
    <service
      port="8023/tcp"
      transport="telnet"
      protocol="SIP/2.00"
      client_timeout="600"
      timeout="60" />
    <service
      port="127.0.0.1:6001/tcp"
      transport="RAW"
      protocol="SIP/2.00"
      client_timeout="600"
      timeout="60" />
  </listeners>

  <accounts>
      <login id="sip1"   password="sip1pass"  delimiter="|"
error-detect="enabled" institution="BIB"  encoding="utf8" />
  </accounts>

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

When testing from emulator is working OK
sip_cli_emulator.pl -a 127.0.0.1  -p 6001 -su sip1 -sp sip1pass -l BIB
--patron 15 --password sip1pass -m patron_status_request

When I try connect to telnet:

telnet localhost 8023
Trying ::1...
Connected to localhost.
Escape character is '^]'.
login: sip1
password: sip1pass
Login OK.  Initiating SIP
Connection closed by foreign host.

In LOG
Dec 18 07:13:35 host koha_sip[4122]: telnet_transport 1: uid length 5, pwd
length 10
Dec 18 07:13:35 host koha_sip[4122]: get_clean_string  pre-clean(length 5):
sip1
Dec 18 07:13:35 host koha_sip[4122]: get_clean_string post-clean(length 4):
sip1
Dec 18 07:13:35 host koha_sip[4122]: get_clean_string  pre-clean(length 10):
#012sip1pass
Dec 18 07:13:35 host koha_sip[4122]: get_clean_string post-clean(length 8):
sip1pass
Dec 18 07:13:35 host koha_sip[4122]: telnet_transport 2: uid length 4, pwd
length 8
Dec 18 07:13:39 host koha_sip[4122]: Successful login/auth for 'sip1' of
'BIB'
Dec 18 07:13:39 host koha_sip[4122]: login_core: $VAR1 = 'ILS';
Dec 18 07:13:39 host koha_sip[4122]: new ILS 'BIB'
Dec 18 07:13:39 host koha_sip[4122]: telnet_transport: uname/inst:
'sip1/BIB'
Dec 18 07:14:39 host koha_sip[4122]: Inactive: timed out
Dec 18 07:14:39 host koha_sip[4122]: telnet_transport: shutting down


What is the possible problem?

Thanks 
Kamil
 



--
Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html


More information about the Koha mailing list