# Using STUN on VPBX Connect

**URL:** https://forums.vitalpbx.org/t/using-stun-on-vpbx-connect/4154
**Category:** VitalPBX Mobile
**Created:** [June 9, 2024, 10:33pm UTC](https://forums.vitalpbx.org/t/using-stun-on-vpbx-connect/4154 "2024-06-09T22:33:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![iquest](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/iquest/32/654_2.png) [@iquest](https://forums.vitalpbx.org/u/iquest)
#### Post date: [June 9, 2024, 10:33pm UTC](https://forums.vitalpbx.org/t/using-stun-on-vpbx-connect/4154/1 "2024-06-09T22:33:49Z")

</div>

We are experiencing mute calls with some VPBX Connect calls.  
Is there a way we can confugure a STUN server as we can on CloudSoftphone?

 ![Captura de tela 2024-06-07 184626](https://forums.vitalpbx.org/uploads/default/original/2X/f/fb5184b6e3175c2104c95cd74614d4ae82c08c07.png)

---

<div class="post-metadata">

### Author: ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)
#### Post date: [June 10, 2024, 3:22pm UTC](https://forums.vitalpbx.org/t/using-stun-on-vpbx-connect/4154/2 "2024-06-10T15:22:10Z")

</div>

Hello,

You can set the STUN/TURN Servers in _ **Settings/PBX Settings/RTP Settings** _.

Please note that if you have VitXi WebRTC, that configuration may cause problems with calls because VitXi WebRTC has its own STUN/TURN configuration module.

Regards!

---

<div class="post-metadata">

### Author: ![iquest](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/iquest/32/654_2.png) [@iquest](https://forums.vitalpbx.org/u/iquest)
#### Post date: [June 11, 2024, 2:46pm UTC](https://forums.vitalpbx.org/t/using-stun-on-vpbx-connect/4154/3 "2024-06-11T14:46:46Z")

</div>

We did that, but appear have no effect on VPBX Connect clients.  
Note that we are running on Vital PBX v4 and VitalPBX Connect app.  
Removing the STUN config on Settings/PBX Settings/RTP Settings wont adress the problem because it began before we add STUN server there.

---

<div class="post-metadata">

### Author: ![iquest](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/iquest/32/654_2.png) [@iquest](https://forums.vitalpbx.org/u/iquest)
#### Post date: [June 14, 2024, 3:03pm UTC](https://forums.vitalpbx.org/t/using-stun-on-vpbx-connect/4154/4 "2024-06-14T15:03:55Z")

</div>

Somehow, after a core reload, we are now are not having the mute call issues, but we noticed another problem.  
Every call we make through some providers gets no audio, we directed theses calls via another vital (v.3) and we get perfect audio, we noticed only one diference on the Vitals invite, on the v4 that gats no audio in response, it sends maxptime:20, the v3 sends maxptime:150.  
I tryed to add maxptime:150 on SIP Settings Custom Options, but it made no difference. Could it be the cause of the problem? How to adjust the maxptime?

---

<div class="post-metadata">

### Author: ![maynor](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/m/3e96dc/32.png) [@maynor](https://forums.vitalpbx.org/u/maynor)
#### Post date: [June 28, 2024, 7:50pm UTC](https://forums.vitalpbx.org/t/using-stun-on-vpbx-connect/4154/5 "2024-06-28T19:50:10Z")

</div>

Hello!

Could you please send us screenshots of the device profile you’re using?

Regards!
