From 9dd9dcaf74f72a84a46d9ac60a1d5c13ba932eff Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Fri, 23 Sep 2016 15:18:32 -0400 Subject: [PATCH] Add a simple Item Information test for SIP server Useful if you want to check the ability of the server to return Unicode response. Signed-off-by: Dan Scott --- docs/admin/sip_server.txt | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/admin/sip_server.txt b/docs/admin/sip_server.txt index 3cf3d1f28a..574dc311df 100644 --- a/docs/admin/sip_server.txt +++ b/docs/admin/sip_server.txt @@ -238,6 +238,7 @@ via +telnet+. In the following tests: in the ++ section of your SIP configuration file; * Replace the +$user_barcode+ and +$user_password+ variables with the values for a valid user. +* Replace the +$item_barcode+ variable with the values for a valid item. /////////////// Comments because we don't want to indent these numbered bullets! @@ -264,14 +265,26 @@ line and paste it into the telnet session: + 2300120080623 172148AO$instid|AA$user_barcode|AC$password|AD$user_password + -If successful, the SIP server returns the patron information for $barcode, +If successful, the SIP server returns the patron information for $user_barcode, similar to the following: + - 24 Y 00120100113 170738AEFirstName MiddleName LastName|AA$barcode|BLY|CQY + 24 Y 00120100113 170738AEFirstName MiddleName LastName|AA$user_barcode|BLY|CQY |BHUSD|BV0.00|AFOK|AO$instid| + The response declares it is a valid patron BLY with a valid password CQY and shows the user's +$name+. +. To test the SIP server's item information response, issue the following request: ++ + 1700120080623 172148AO$instid|AB$item_barcode|AC$password ++ +If successful, the SIP server returns the item information for $item_barcode, +similar to the following: ++ + 1803020120160923 190132AB30007003601852|AJRégion de Kamouraska|CK001|AQOSUL|APOSUL|BHCAD + |BV0.00|BGOSUL|CSCA2 PQ NR46 73R ++ +The response declares it is a valid item, with the title, owning library, +permanent and current locations, and call number. indexterm:[SIP] -- 2.11.0