{"id":1595,"date":"2025-10-08T14:43:54","date_gmt":"2025-10-08T14:43:54","guid":{"rendered":"http:\/\/gogetmuscle.com\/?p=1595"},"modified":"2025-10-08T17:40:46","modified_gmt":"2025-10-08T17:40:46","slug":"calling-extensions-sdk-i-do-not-receive-oncalleridmatchsucceeded-or-oncalleridmatchfailed","status":"publish","type":"post","link":"http:\/\/gogetmuscle.com\/index.php\/2025\/10\/08\/calling-extensions-sdk-i-do-not-receive-oncalleridmatchsucceeded-or-oncalleridmatchfailed\/","title":{"rendered":"[Calling extensions SDK] I do not receive onCallerIdMatchSucceeded or onCallerIdMatchFailed"},"content":{"rendered":"

I am developing a custom calling app that uses the Calling Extension SDK.<\/P>

\u00a0<\/P>

I have event listening working, e.g. when I click the phone icon in Hubspot on a contact record, I see the onDialNumber<\/EM><\/STRONG> event which proves my app is connected and ready to receive Hubspot events.<\/SPAN><\/P>

\u00a0<\/P>

I am now looking into inbound calling and have set\u00a0supportsInboundCalling<\/STRONG><\/EM>\u00a0to true<\/EM> via \/crm\/v3\/extensions\/calling<\/EM> API.<\/SPAN><\/P>

\u00a0<\/P>

I have a contact in Hubspot with a phone number, e.g.<\/SPAN><\/P>

+44 123 456 7891<\/STRONG><\/EM><\/P>

\u00a0<\/P>

I have initialized my calling app as before by sending the\u00a0initialized<\/STRONG> event, I also send a\u00a0userAvailable<\/STRONG> event and\u00a0userLoggedIn<\/STRONG> event.<\/P>

\u00a0<\/P>

When I tell Hubspot about an inbound call, I send an\u00a0incomingCall<\/EM><\/STRONG> event with the following payload:<\/P>createEngagement: true,
\nexternalCallId: “uuid-1234”,
\nfromNumber: “+441234567891”,
\ntoNumber: “+441987654321”,

\u00a0<\/P>

An engagement is also created in Hubspot against the contact that has a phone number of\u00a0+44 123 456 7891<\/STRONG><\/EM>:\"Screenshot<\/span><\/P>

When I hover over this call engagement, it shows the name of the contact it matches against.\u00a0<\/P>

If I change the fromNumber sent in the\u00a0incomingCall<\/EM><\/STRONG> event, there is no such engagement created as would be expected.<\/P>

\u00a0<\/P>

So it feels like I am doing the correct thing.<\/P>

\u00a0<\/P>

However, despite all this, I am not receiving a<\/P>

onCallerIdMatchSucceeded<\/EM><\/STRONG><\/P>

or even a<\/P>

onCallerIDMatchFailed<\/EM><\/STRONG><\/P>

\u00a0<\/P>

I need the data provided by a\u00a0onCallerIdMatchSucceeded <\/EM><\/STRONG>event to be able to pop the relevant contact record via object coordinates.<\/P>

\u00a0<\/P>

I’ve tried this in the provided\u00a0demo app<\/a> as well to no avail.<\/P>

\u00a0<\/P>

I’ve also noticed in the console when I examine the\u00a0Received message from SDK in Popup INCOMING_CALL<\/U>\u00a0event I send to Hubspot, the payload has an extra field (dialNumberDetails: undefined<\/STRONG><\/EM>) that is not present in\u00a0@hubspot<\/a>\/calling-extensions-sdk\u00a0<\/STRONG>:<\/P>

\u00a0<\/P>

\"Screenshot<\/span><\/P>

\u00a0<\/P>

calling-extensions-sdk\/types.ts<\/EM><\/P>export type OnIncomingCall = {
\n externalCallId: string;
\n fromNumber: string;
\n toNumber: string;
\n callStartTime?: number;
\n createEngagement?: boolean;
\n};

Not sure what dialNumberDetails<\/STRONG><\/EM> is and it is not documented anywhere I can see.<\/P>

\u00a0<\/P>

I would really appreciate someone reaching out about this. I’ve found multiple related posts from other devs on this which have no answer.<\/P>

\u00a0<\/P>

If someone from the calling extension SDK team could take a look here that would be great.\u00a0<\/P>

\u00a0<\/P>

Thank you<\/P>

David<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"

I am developing a custom calling app that uses the Calling Extension SDK.\u00a0I have event listening working, e.g. when I click the phone icon in Hubspot on a contact record, I see the onDialNumber event which proves my app is connected and ready to receive Hubspot events.\u00a0I am now looking into inbound calling and have […]<\/p>\n","protected":false},"author":1,"featured_media":1597,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1595"}],"collection":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/comments?post=1595"}],"version-history":[{"count":3,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1595\/revisions"}],"predecessor-version":[{"id":1600,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/posts\/1595\/revisions\/1600"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media\/1597"}],"wp:attachment":[{"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/media?parent=1595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/categories?post=1595"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gogetmuscle.com\/index.php\/wp-json\/wp\/v2\/tags?post=1595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}