[Koha] Sip Server stops
Alberto Branco
abranco at casadaautonomia.pt
Wed Aug 8 03:47:40 NZST 2018
Hi all,
I'm having a problem with koha sip2, everything seems ok and I'm able to
login, but after the service is running for a while (it varies) the service
stops responding.
And I get this message when I try telnet:
telnet xxx.xxx.xxx.xxx 8023
Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.
After I restart the service everything comes back to normal.
Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.
login: myuser
password: mypass
Login OK. Initiating SIP
There are no errors in sip-error.log
This is my SIPconfig.xml
<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='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="0"
timeout="60" />
<service
port="localhost:6001/tcp"
transport="RAW"
protocol="SIP/2.00"
client_timeout="600"
timeout="60" />
<!--- client_timeout times out active connections which have not received
input from the client. Many persistent connections will send a status
request
every 5-7 mins so setting this to less than that will add instability
to the connection
if explicitly set to zero, no timeout is applied to the connection.
NB the parameter timeout applies to the login process only and should
be set to a lower value
to time out failed connections
-->
</listeners>
<accounts>
<login id="myuser" password="mypass" delimiter="|"
error-detect="enabled" institution="mylibrary" terminator="CR" />
</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="mylibrary" implementation="ILS" parms="">
<policy checkin="true" renewal="true" checkout="true"
status_update="false" offline="false"
timeout="50"
retries="5" />
</institution>
</institutions>
</acsconfig>
Thanks in advance
Alberto Branco
More information about the Koha
mailing list