# Phone call from zoom video sdk

**URL:** <https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639>\
**Category:** Video SDK\
**Created:** [June 5, 2023, 2:53pm UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639 "2023-06-05T14:53:51Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 5, 2023, 2:53pm UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/1 "2023-06-05T14:53:51Z")

</div>

Type of Video SDK: Web  
Version 1.6.2.  
Need a feature that enables a host to join the call and have the participant receive it on their phone.  
called the **getSupportCountryInfo** function to get the country code **“+1”** but when calling **inviteByPhone** function, getting **“no matching country code”** error.  
Please guid. If I am doing it the wrong way, please guide me in the right direction.

Thanks and regards,  
Samiran S.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 6, 2023, 2:56am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/2 "2023-06-06T02:56:57Z")

</div>

Hey @samirans

Thanks for your feedback.

Did you check the return value of `stream.isSupportPhoneFeature()`?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 6, 2023, 5:47am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/3 "2023-06-06T05:47:36Z")

</div>

Hi,  
Not checked previously. But now check, it’s giving **false**. Maybe the account is not set up properly.  
Can you please confirm that the implementation is correct?

Thanks and regards,  
Samiran S

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 6, 2023, 10:25am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/4 "2023-06-06T10:25:04Z")

</div>

Hey @samirans

The usage is correct. Video SDK will check the feature support before calling out, then the error occurs.

The error message is misleading, we will improve it in future versions.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 7, 2023, 2:29pm UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/5 "2023-06-07T14:29:20Z")

</div>

Hello there,  
The **isSupportPhoneFeature** function returns **true** and receives the call on the smartphone (Android or iOS) also. But when the participant receives the call from their phone, the call goes to the waiting room. Can you please guide me here? So that the participant can join the call directly and do a conversation with the host of the call.

Thanks and regards,  
Samiran

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 8, 2023, 3:21am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/6 "2023-06-08T03:21:13Z")

</div>

Hey @samirans

Did you set the `pressingOne` option when invoking the `stream. inviteByPhone` method?

> **[Stream | Zoom Video SDK for Web - 1.7.10](https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#inviteByPhone)**
>
> Documentation for Zoom Video SDK for Web - 1.7.10

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 8, 2023, 5:04am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/7 "2023-06-08T05:04:14Z")

</div>

Hello, @vic.yang  
I have tried with **pressingOne** option when getting a call, after pressing 1 it goes to the waiting room, and tried without this option, then after receiving the call, it goes to the waiting room. Please guide me here.

Here I am providing how I invoke the option into **inviteByPhone** method,  
**streams.inviteByPhone(‘country code’, ‘phone number’, ‘name’, {pressingOne: true})**

Thanks,  
Samiran

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 8, 2023, 5:30am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/8 "2023-06-08T05:30:04Z")

</div>

Hey @samirans

Would you mind sharing the Session ID that has issues with us for troubleshooting?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 8, 2023, 7:31am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/9 "2023-06-08T07:31:14Z")

</div>

Hello @vic.yang ,  
Here is the Session ID “27uiYwjgTCytxE/HT5+V9Q==”.

Thanks,  
Samiran

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 8, 2023, 8:14am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/10 "2023-06-08T08:14:08Z")

</div>

Hey @samirans

We will inform you if there is any finding.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 9, 2023, 7:23am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/11 "2023-06-09T07:23:21Z")

</div>

Hello @vic.yang,  
Is there anything find out?

Thanks,  
Samiran

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 9, 2023, 9:54am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/12 "2023-06-09T09:54:37Z")

</div>

Hey @samirans

It’s indeed an issue with us. We are still working on it.

We will let you know if there is any update.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [June 13, 2023, 2:49am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/13 "2023-06-13T02:49:10Z")

</div>

Hey @samirans

We have fixed the issue. Could you try it again?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 13, 2023, 8:06am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/14 "2023-06-13T08:06:02Z")

</div>

Greetings, @vic.yang  
Now it is working. I appreciate your assistance.  
However, if I hang up the phone after receiving a call, the **dialout-state-change** event should have sent the code **4** , but I instead received **5**. Could you please assist me here?

Thank you,  
Samiran

---

<div class="post-metadata">

**Author:** ![jenzushsu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jenzushsu/32/34251_2.png) [@jenzushsu](https://devforum.zoom.us/u/jenzushsu)\
**Post date:** [June 13, 2023, 8:23am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/15 "2023-06-13T08:23:26Z")

</div>

Hi @samirans,

May we understand the scenario that you receive the DiaoutState value. For example:

1. The platform call out to a user.
2. The user rejects the call.

---

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 13, 2023, 8:33am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/16 "2023-06-13T08:33:38Z")

</div>

Hi @jenzushsu ,

Below is the scenario:

1. The platform calls out a user( this time the value is **1** )
2. User gets the call( this time the value is **2** )
3. User rejects the call( Don’t get any value)
4. After waiting some time getting value **5**

Thanks,  
Samiran

---

<div class="post-metadata">

**Author:** ![jenzushsu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jenzushsu/32/34251_2.png) [@jenzushsu](https://devforum.zoom.us/u/jenzushsu)\
**Post date:** [June 13, 2023, 9:25am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/17 "2023-06-13T09:25:16Z")

</div>

Hi @samirans ,

Thank you for providing the scenario. For inviteByPhone(), have you define DialOutOption as well? We are checking to make sure we can replicate the same scenario as what you have shared above.

---

<div class="post-metadata">

**Author:** ![samirans](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@samirans](https://devforum.zoom.us/u/samirans)\
**Post date:** [June 13, 2023, 9:46am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/18 "2023-06-13T09:46:46Z")

</div>

Hello @jenzushsu ,

No, I haven’t defined **DialOutOption**.  
I just call the **inviteByPhone** function. Here it is.  
**inviteByPhone(country code, phone number, Name);**

Thanks

---

<div class="post-metadata">

**Author:** ![jenzushsu](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jenzushsu/32/34251_2.png) [@jenzushsu](https://devforum.zoom.us/u/jenzushsu)\
**Post date:** [June 13, 2023, 11:02am UTC](https://devforum.zoom.us/t/phone-call-from-zoom-video-sdk/89639/19 "2023-06-13T11:02:24Z")

</div>

Hi @samirans,

Thank you for your prompt reply. There is another conversation with our team and I would like to take this discussion offline on the calling behavior. As for the initial issue, I understand it has been resolved.
