Mike,

The 3M Standard Interchange Protocol doesn't define PC or PF fields.
Ordinarily the AQ field isn't associated with patrons, it's associated with items and designates their "permanent location".

The summary field works like this:

Position       Definition
0                    hold items
1                    overdue items
2                    charged items
3                    fine items
4                    recall items
5                    unavailable holds
6                    fee items


Despite the fact that there are only 7 defined fields the field length is required to be 10 characters so the last 3 are always spaces.
Placing a Y in any of the fields is basically a request for that field's detailed information is requested in addition to the summary information.
If you do not wish the detailed information then use a space character (ASCII code $20) in that field on the 63 request.
Only one category of items should be requested at a time, so, for example, to get the detailed information on charged items and fine items
you would need to make 2 requests
63002YYYYMMDDZZZZHHMMSS   Y.......
and then
63002YYYYMMDDZZZZHHMMSS    Y.......
Parsing each response for the information requested.

All of this is based on SIP version 2.

Randy Rowe
Lincoln City Libraries I.T.


-----Original Message-----
From: "Planet Mike" <mike@planetmike.org>
Sent 10/13/2011 5:07:55 PM
To: koha@lists.katipo.co.nz
Subject: [Koha] SIP Assistance

Hello community.

I am looking for assistance with setting up the SIPServer for Overdrive access. I am new to SIP and have found various docs on how to setup SIP with 3M machines, but not a lot about Overdrive.
I have setup a SIP user as staff with circ access and configured the SIPServer.xml. I can start the SIP service and log in.
When I telnet in to the service, I get the following:

### telnet session ###

telnet my.host.org 8023
Trying 1.11.11.11...
Connected to my.host.org.
Escape character is '^]'.
login: abcsip
password: driveover
Login OK.  Initiating SIP
9300CNabcsip|COdrive|CCABC
941
63001201110131610000 0000000000  AOABC|AA12345678901234
64      00120111013    171831000000000000000000000000
AOABC|AA12345678901234|AEService User|BLY|CC10|BD316 Bloomfield St|BEuser@email.com|BF718.555.1212|PB19741201|PCVOLUNTEER|PIY|AFGreetings from Koha. |


###  end telnet session ###


To me, this looks like it is working. I am able to run a few different AA numbers and get the correct results.
Now for the question.

I need to make sure that PC, PF and AQ fields are available and correct. I see that PC is in my Message 64, but how do I ask for PF and AQ?
I am also a bit lost when it comes to what the summary field is. I set mine to 0000000000 in the Message 63 to get a 64 that didn't start 64YYYY.


Could someone please explain to me how to get at least PC PF and AQ from the Patron Information?

 
What else, if anything,  do I have to do in ether the SIP configuration or Koha configuration?

Thank you for your help,
Mike
_______________________________________________
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha