https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42770
--- Comment #3 from Lari Strand <[email protected]> --- To clarify, in our implementation the self check machines use the same communication logic that the normal SIP2 protocol uses but with requests/responses wrapped in XML like this: <?xml version="1.0" encoding="UTF-8"?> <ns1:sip xmlns:ns1="http://axiell.com/Schema/sip.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://axiell.com/Schema/sip.xsd sip.xsd" login="TESTSIP2" password="xxxxxxxxxxxxxx"> <request>9900522.10AY2AZFC9F</request> </ns1:sip> They send the 93/94 authentication when the machines boot up inside an XML (or when sip server has been down). After that they send command messages that are passed in the XML like the example above. This way the logic changes required for the self check machines "core SIP logic" were kept to a minimum. So each message gets parsed, a 93/94 message is being created from the login/pw fields and hadled for each invidual message before passing on the actual command message from the XML to the SIP server. We have modified our handling of 93 messages so that the logs would not be overflooded with authSuccess entries in the action logs. We also generate responses for 99/98 messages (SC status message) in the REST API instead of passing these to the SIP server to lighten the load caused by these unnecessary "are you still online?" requests, since we're not relying on a always-on connection. Some SC manufacturers have modified their software so that they do not rely on these 99/98 messages anymore to function or they are sent less frequently (thus freeing up some of our server capacity, imagine 100's of SC machines bombarding us with these messages every minute or so). The token system seems interesting but can't they just rely on 93/94 and the checksum/sequence number field provided by the protocol itself? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
