LP1528301 Add SIP Support for BF field on type 10 checkin responses user/driscoll/LP1528301_sip_BF_field-signoff
authorblake <blake@mobiusconsortium.org>
Thu, 9 Jun 2016 14:11:04 +0000 (09:11 -0500)
committerMartha Driscoll <driscoll@noblenet.org>
Fri, 3 Mar 2017 21:47:23 +0000 (16:47 -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>
Sip/MsgType.pm

index 4079467..2862b7e 100644 (file)
@@ -709,6 +709,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  );
         }
     }