<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello Koha Developers, </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Do you think we should have an option for SIP2 server to allow SC status (99) before the login (93)  ? I'm not aware if anyone else before reported about such a problem, I may try to develop this feature for the community if you think it is going to be useful for others, </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">And of course I wish someone can give me some tips about where to start, I tried to look in the SIP2 server code. and it is still not clear for me where is the place we are closing connection if not logged in. if someone can point me to that , this would be really helpful. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm talking about the raw_transport. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you very much.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Karam Qubsi</strong> <span dir="auto"><<a href="mailto:karamqubsi@gmail.com">karamqubsi@gmail.com</a>></span><br>Date: Mon, Aug 26, 2019 at 6:29 PM<br>Subject: SC Status before sip2 login<br>To: Koha <<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a>><br></div><br><br><div dir="ltr"><div style="font-family:arial,helvetica,sans-serif">Hello Koha Community, </div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">I'm working with a selfcheck machine that is sending the sc status request (99) before the login request (93) . and that is causing koha sip server to close the connection. </div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">From official documentation of SIP * , it look like that this status message can be sent before initialising SIP login, so I'm not sure if there is an option to allow this request or even allow login without username/password as we are going to secure the connection using ssh anyway. </div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">Any ideas or tips would be highly appreciated,</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">Thank you very much</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">Karam .</div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">* <a href="http://multimedia.3m.com/mws/media/355361O/sip2-protocol.pdf" style="font-family:Arial,Helvetica,sans-serif" target="_blank">http://multimedia.3m.com/mws/media/355361O/sip2-protocol.pdf</a>  (page 6 ) : </div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">SC Status<br>The SC status message sends SC status to the ACS. It requires an ACS Status Response message reply from the ACS. This message will be the first message sent by the SC to the ACS once a connection has been established (exception: the Login Message may be sent first to login to an ACS server program). The ACS will respond with a message that establishes some of the rules to be followed by the SC and establishes some parameters needed for further communication.</blockquote><div style="font-family:arial,helvetica,sans-serif"><br></div><div><br></div>-- <br><div dir="ltr" class="m_-2655571404619076049gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font style="color:rgb(68,68,68)" color="#3366ff"><i>Karam Qubsi</i></font><div><br></div></div></div></div></div></div></div></div>
</div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font style="color:rgb(68,68,68)" color="#3366ff"><i>Karam Qubsi</i></font><div><br></div></div></div></div></div></div></div></div>