LP#1338761: add support for Relais extensions to message 24
authorGalen Charlton <gmc@esilibrary.com>
Mon, 7 Jul 2014 19:55:05 +0000 (12:55 -0700)
committerMike Rylander <mrylander@gmail.com>
Fri, 5 Dec 2014 17:17:54 +0000 (12:17 -0500)
commit89ceb8e681e9957d79bace88c27865ea41befc98
tree2a79eb8f8b044cad9380ea699a895c57ba89bbda
parentcd773c26cf585fb97c8ee0277e3b9e4574815f34
LP#1338761: add support for Relais extensions to message 24

The Relais SIP2 client expects that the Patron Status Response
(msg 24) will contain certain non-standard fields that are more
properly included in the patron information response:

- patron home address
- patron email
- patron home phone

In addition, and contrary to the specification, Relais expects that
the variable fields in the response will be given in the order that
they appear in the spec.

This patch ensures that the Patron Status repsonse emits the
institution ID, patron ID, and personal name in that order.  It also
adds a new institution option, relais_extensions_to_msg24, to make
the response includes the additional fields.  For example:

  <relais_extensions_to_msg24 enabled="true" />

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
SIPconfig.xml
Sip/Configuration/Institution.pm
Sip/MsgType.pm