User Tools

Site Tools


evergreen-admin:sip2mediator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
evergreen-admin:sip2mediator [2020/11/30 11:26] ericksonevergreen-admin:sip2mediator [2022/02/10 13:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Evergreen SIP Server with SIP2Mediator (Testing Edition) ====== ====== Evergreen SIP Server with SIP2Mediator (Testing Edition) ======
- 
-These instructions assume the SIP2Mediator is running on an Ubuntu server. 
  
 ===== Quick Setup ===== ===== Quick Setup =====
Line 8: Line 6:
  
   * Install the latest working branch from [[https://bugs.launchpad.net/evergreen/+bug/1901930|bug #1901930]]   * Install the latest working branch from [[https://bugs.launchpad.net/evergreen/+bug/1901930|bug #1901930]]
-  * If necessary, apply opensrf.xml additions to support the new open-ils.sip2 service and restart Evergreen. +  * If necessary... 
-  If necessary, apply Apache eg_vhost.conf and eg_startup changes required to load the new Apache module and reload Apache. +    * Apply SQL changes 
-  If necessary, create an Evergreen user account with adequate permissions to perform as a SIP user ([[evergreen-admin:sip#adding_sip_users|See Adding SIP Users]]).+    * Apply opensrf.xml additions to support the new open-ils.sip2 service and restart Evergreen. 
 +    Apply Apache eg_vhost.conf and eg_startup changes required to load the new Apache module and reload Apache. 
 +    Create an Evergreen user account with adequate permissions to perform as a SIP user ([[evergreen-admin:sip#adding_sip_users|See Adding SIP Users]])
 +      * The password for this Evergreen account can be anything (the stronger the better).  It will never be used directly. 
 +      * For testing, the stock 'admin' account works fine.
   * In the staff client, navigate to Administration => Server Administration => SIP Accounts and click 'New Account' to create a new SIP account.   * In the staff client, navigate to Administration => Server Administration => SIP Accounts and click 'New Account' to create a new SIP account.
 +    * Set the "ILS Username" to match the Evergreen user account created above.
 +    * Click the "Set Password" button to apply a SIP account password.
 +    * "Workstation", "Transient", "Activity Who" are optional.
 +    * Check the 'Enabled' checkbox.
 +    * Save changes.
  
 ==== SIP2Mediator Setup ==== ==== SIP2Mediator Setup ====
 +
 +These instructions assume the SIP2Mediator is running on an Ubuntu server.  It also assumes the SIP2Mediator is running on the same host as Evergreen.  See the --help options to specify non-default listen address for SIP and the target HTTP address.
 +
 +More information about the mediator may be found at [[https://github.com/berick/SIP2Mediator]]
  
 <code> <code>
Line 24: Line 35:
 </code> </code>
  
-==== Testing ====+===== Testing =====
  
   * Assumes SIP2Mediator is running on localhost   * Assumes SIP2Mediator is running on localhost
   * Assumes Concerto data   * Assumes Concerto data
   * See --help for more options   * See --help for more options
-  * +
 From within the SIP2Mediator directory: From within the SIP2Mediator directory:
  
Line 37: Line 48:
     --sip-password sip-password-you-just-created \                                  --sip-password sip-password-you-just-created \                             
     --item-barcode CONC4000080 -message item-information       --item-barcode CONC4000080 -message item-information  
 +</code>
 +
 +  * The response should look like this
 +
 +<code>
 +[SENDING]
 +[93] Login Request
 +uid algorithm                     0
 +pwd algorithm                     0
 +[CN] login user id                sip-username-you-just-created
 +[CO] login password               sip-password-you-just-created
 +----------------
 +[RECEIVED, duration: 0.158]:
 +[94] Login Response
 +ok                                1
 +----------------
 +[SENDING]
 +[17] Item Information Request
 +transaction date                  20201130    162815
 +[AO] institution id               example
 +[AB] item identifier              CONC4000080
 +----------------
 +[RECEIVED, duration: 0.062]:
 +[18] Item Information Response
 +circulation status                04
 +security marker                   02
 +fee type                          01
 +transaction date                  20201130    162815
 +[AB] item identifier              CONC4000080
 +[AH] due date                     2020-11-24 13:55:34
 +[AJ] title identifier             The piano concertos
 +[AP] current location             BR1
 +[AQ] permanent location           BR1
 +[BG] owner                        BR1
 +[BH] currency type                USD
 +[BV] fee amount                   0.00
 +[CF] hold queue length            0
 +[CK] media type                   001
 +[CM] hold pickup date
 +[CT] destination location         BR1
 +[CY] hold patron id
 +----------------
 +
 </code> </code>
  
  
  
evergreen-admin/sip2mediator.1606753619.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.