LP1528301 Add SIP Support for BF field on type 10 checkin responses
authorblake <blake@mobiusconsortium.org>
Thu, 9 Jun 2016 14:11:04 +0000 (09:11 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 11 Nov 2021 15:19:44 +0000 (10:19 -0500)
This little patch will append the BF field in the SIP response during
checkin when the item is for another hold. Some self check software vendors
(ahem Bibliotheca) implement the hold phone number for the next patron this way.
You will need this patch as well as the code change to the Evergreen repo
LP1528301_Add_SIP_Support_for_BF_field_on_type_10_checkin_responses

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Martha Driscoll <driscoll@noblenet.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
Signed-off-by: Martha Driscoll <driscoll@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Sip/MsgType.pm

index bd7cb52..2f34858 100644 (file)
@@ -708,6 +708,7 @@ sub handle_checkin {
             $resp .= maybe_add(FID_DESTINATION_LOCATION, $item->destination_loc    );
             $resp .= maybe_add(FID_HOLD_PATRON_ID,       $item->hold_patron_bcode  );
             $resp .= maybe_add(FID_HOLD_PATRON_NAME,     $item->hold_patron_name   );
+            $resp .= maybe_add(FID_HOME_PHONE,           $item->hold_patron_phone  );
         }
     }