[Koha] Unable to Checkin using SIP
Joe Atzberger
ohiocore at gmail.com
Tue Jul 7 01:21:36 NZST 2009
The Checkin Response message is:
101YNN20090706 055021AOCCL|ABMIC004|AQ|AJThe 8051 Micro Controller...
The first two digits identify the message (10 - Checkin Response). The next
digit identifies the success of the result: 1 means OK. So SIP says you got
checked in fine. Your SIP client may be misinterpreting the result.
However, the AQ (permanent location) field being empty and the lack of an AO
(institution id) field suggest that the item here may not have a populated
homebranch, or that your SIP config has not established what branch the
terminal is operating at. The SIP user also should have a valid branchcode
in their record, and SIPconfig.xml should have that valid branchcode as part
of their "institution". That could cause the checkin to fail, since Koha
would not know what branch the return should be happening at.
Also, your SIP client is sending empty fields. That's why you get the
"unsupported field" warning with the empty string.
--
Joe Atzberger
LibLime - Open Source Library Solutions
2009/7/6 vimal laxman <vimallaxman at gmail.com>
> Dear List ,
> I am trying to checkin using SIP but unable to .iam
> alble to do the checkout but when i give the checkin message it give the
> message saying it has sucessfully checked in but the syslog does not reflect
> the same.copy of both checkout and checkin messages from syslog for your
> reference.
>
> Jul 6 05:49:34 boss acs-server[17728]: INPUT MSG: ' 11YN20090629
> 01234820090629 012348AO||AA1888|ABMIC004|^M'
> Jul 6 05:49:34 boss acs-server[17728]: Sip::MsgType::new('Sip::MsgType',
> '11YN200906...', '11'): seq.no '0', protocol 1
> Jul 6 05:49:34 boss acs-server[17728]:
> Sip::MsgType::_initialize('Checkout', 'YN20090629 01234820090629
> 012348AO||AA1888|ABMIC004', 'CCA18A18', '38', ...)
> Jul 6 05:49:34 boss acs-server[17728]: Unsupported field '' in Checkout
> message 'YN20090629 01234820090629 012348AO||AA1888|ABMIC004'
> Jul 6 05:49:34 boss acs-server[17728]: new ILS::Patron(1888): found patron
> '1888'
> Jul 6 05:49:34 boss acs-server[17728]: new ILS::Item('MIC004'): found with
> title 'The 8051 Micro Controller-Architecture,Programming and Applications '
>
> Jul 6 05:49:34 boss acs-server[17728]: ILS::Transaction::Checkout
> performing checkout...
> Jul 6 05:49:34 boss acs-server[17728]: ILS::Checkout: patron 1888 has
> checked out HASH(0x9738c9c), MIC004
> Jul 6 05:49:34 boss acs-server[17728]: OUTPUT MSG: '121NNY20090706
> 054934AOCCL|AA1888|ABMIC004|AJThe 8051 Micro
> Controller-Architecture,Programming and Applications |AH0|'
> Jul 6 05:50:03 boss acs-server[17728]: INPUT MSG: ' ^M'
> Jul 6 05:50:03 boss acs-server[17728]: sip_protocol_loop: empty input
> skipped
> Jul 6 05:50:21 boss acs-server[17728]: INPUT MSG: ' 09N20090629
> 024548 AP|AOCCL|ABMIC004^M'
> Jul 6 05:50:21 boss acs-server[17728]: Sip::MsgType::new('Sip::MsgType',
> '09N2009062...', '09'): seq.no '0', protocol 1
> Jul 6 05:50:21 boss acs-server[17728]:
> Sip::MsgType::_initialize('Checkin', 'N20090629 024548
> AP|AOCCL|ABMIC004', 'CA18A18', '37', ...)
> Jul 6 05:50:21 boss acs-server[17728]: new ILS::Item('MIC004'): found with
> title 'The 8051 Micro Controller-Architecture,Programming and Applications '
>
> Jul 6 05:50:21 boss acs-server[17728]: new ILS::Patron(1888): found patron
> '1888'
> Jul 6 05:50:21 boss acs-server[17728]: OUTPUT MSG: '101YNN20090706
> 055021AOCCL|ABMIC004|AQ|AJThe 8051 Micro Controller-Architecture,Programming
> and Applications |'
>
> from my understanding of the code the checkin doesnot initialize or the ILS
> is not initializing the checkin process .i have searched the entire web
> looking for an answer.please do help me out to resolve this issue.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090706/7ab4bd87/attachment.htm
More information about the Koha
mailing list