Summary
We are developing a calling application for call integration using the Calling Extensions SDK (GitHub - HubSpot/calling-extensions-sdk: A JavaScript SDK for integrating calling apps into HubSpot. · GitHub).
It appears that in the HubSpot CRM contact view (/contacts/:id/objects/0-1/views/all/list), the onDialNumber event is sometimes triggered with an unintended objectId when initiating a call by clicking a phone number for a specific contact record.
Issue Details
Steps to Reproduce
-
Open the HubSpot CRM contact view (
/contacts/:id/objects/0-1/views/all/list). -
Open the detail view for any contact record (Contact A) (
/contacts/:id/record/0-1/:objectId) and initiate a call using the “Call” button → In this case, theonDialNumberevent is triggered with the correctobjectIdset. -
Return to the HubSpot CRM contact view (
/contacts/:id/objects/0-1/views/all/list) using the web browser’s back button. -
From the HubSpot CRM contact view (
/contacts/:id/objects/0-1/views/all/list), click the phone number in the “Phone Number” column for any contact record (Contact B) to initiate a call → In this case, theonDialNumberevent is triggered with theobjectIdfor Contact A instead of Contact B.
Expected Behavior
In step 4 of the “Steps to Reproduce” above, the objectId for Contact B should be passed.
Impact
The calling application incorrectly assumes that a call was made to an unintended contact.