Koha-clms/C4/SIP
Kyle M Hall e49a6b8ad4 Bug 13432 - SIP Server does not respect timeout setting
Koha's SIP server accepts timeout parameters, but those parameters
are only used for the login portion of a telnet transport session.
Other than that, they are ignored, and as long as whatever opened
the connection keeps it open, it will stay open indefinitely.

Test Plan:
1) Set the timeout setting on your SIP server to 10 seconds
2) Modify misc/sip_cli_emulator.pl, add "sleep 100;" directly after line 91
3) Start your SIP server
4) Run the modified sip script with valid parameters
5) Watch the SIP server stderr
6) Note that even though the script waits far too long before continuing,
   the SIP server never kills the connection, and the requests the cli
   script makes come back with valid data.
7) Apply this patch
8) Restart your SIP server
9) Repeat step 4
10) Note that this time you see "SIP Timed Out!" in the SIP server
    stderr and when the script finally makes it's request, it doesn't
    come back with valid data.

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 03335ab401)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2015-02-10 09:44:07 +13:00
..
ILS Bug 11633 Return Correct status if patron blocked by fines 2014-09-23 15:30:12 -03:00
Sip Bug 12571 - Add ability to customize SIP2 screen messages 2014-10-28 09:26:47 -03:00
t Bug 9845: correct SIP 08checkin.t 2013-09-08 06:03:11 +00:00
ILS.pm Bug 8769: Allow SIP2 return backdating 2014-05-05 15:04:38 +00:00
ILS.pod adding openncip / opensip SIP2 service 2007-11-06 06:32:53 -06:00
Makefile bug 3435: SIP2 - 3M extension for SmartChute checkin. 2009-07-30 11:06:53 -04:00
README bug 2509: fix file permissions 2008-08-21 18:55:02 -05:00
SIPServer.pm Bug 13432 - SIP Server does not respect timeout setting 2015-02-10 09:44:07 +13:00
Sip.pm Bug 12571 - Add ability to customize SIP2 screen messages 2014-10-28 09:26:47 -03:00
acstest.py adding openncip / opensip SIP2 service 2007-11-06 06:32:53 -06:00
example_institution_dump.sh Bug 2968 - SIP ACS_STATUS message (98) misreported config. 2009-02-26 14:57:22 -06:00
interactive_item_dump.pl Expand interactive SIP tests. 2009-06-17 11:42:44 -05:00
interactive_members_dump.pl Modifying Members : Add Mod and GetMember 2009-09-30 11:29:23 +02:00
interactive_patron_check_password.pl Interactive tests for SIP abstraction representation and Members. 2008-06-25 11:45:30 -05:00
interactive_patron_dump.pl Expand interactive SIP tests. 2009-06-17 11:42:44 -05:00
interactive_renew_all_dump.pl Interactive debugging aides for SIP abstraction layer. 2008-06-05 22:43:44 -05:00
test.txt updating ILS::Patron for Koha. 2007-11-06 06:32:55 -06:00
xmlparse.pl Bug 2505 - Add commented use warnings where missing in the C4/ directory 2010-04-21 20:25:32 +12:00

README

README for Open NSIP 3M-SIP Server

DEPENDENCIES

SIPServer is written entirely in Perl, but it require these CPAN
perl modules to run:

     Net::Server - The SIP server is a Net::Server::Prefork server
     XML::LibXML
     XML::Parser
     XML::Simple - for parsing the config file
     UNIVERSAL::require - for loading the correct ILS interface module
     Clone - for running the test cases

LOGGING

SIPServer uses syslog() for status and debugging messages.  All
syslog messages are logged using the syslog facility 'local6'.
If you need to change this, because something else on your system
is already using that facililty, just change the definition of
'LOG_SIP' at the top of the file SIPServer.pm

Make sure to update your syslog configuration to capture facility
'local6' and record it.