# VitalPBX Direct Media issues

**URL:** <https://forums.vitalpbx.org/t/vitalpbx-direct-media-issues/1753>\
**Category:** VitalPBX\
**Created:** [September 6, 2022, 9:28am UTC](https://forums.vitalpbx.org/t/vitalpbx-direct-media-issues/1753 "2022-09-06T09:28:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Klemen](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/k/9e8a1a/32.png) [@Klemen](https://forums.vitalpbx.org/u/Klemen)\
**Post date:** [September 6, 2022, 9:28am UTC](https://forums.vitalpbx.org/t/vitalpbx-direct-media-issues/1753/1 "2022-09-06T09:28:14Z")

</div>

Hello,

I have tried to configure the Direct media functionality to be used when making internal calls between extensions.

The steps that I have followed:

- In VitalPBX, under Device Profiles, I have enabled the Direct Media setting.
- The previously configured Device profile is used on all extensions.
- All extensions are using the same codec, ALAW.
- IP phones in use are Fanvil and are also using only ALAW codec.

According to the articles and guides, that I found online, these steps should enable direct media, can someone please help me regarding this configuration?

Thank and Best regards, Klemen

---

<div class="post-metadata">

**Author:** ![PitzKey](https://forums.vitalpbx.org/user_avatar/forums.vitalpbx.org/pitzkey/32/420_2.png) [@PitzKey](https://forums.vitalpbx.org/u/PitzKey)\
**Post date:** [September 6, 2022, 9:31am UTC](https://forums.vitalpbx.org/t/vitalpbx-direct-media-issues/1753/2 "2022-09-06T09:31:25Z")

</div>

Can you please elaborate further?

- Are the phones on the same LAN?
- How did you determine that it isn’t working?

---

<div class="post-metadata">

**Author:** ![Klemen](https://forums.vitalpbx.org/letter_avatar_proxy/v4/letter/k/9e8a1a/32.png) [@Klemen](https://forums.vitalpbx.org/u/Klemen)\
**Post date:** [September 6, 2022, 9:45am UTC](https://forums.vitalpbx.org/t/vitalpbx-direct-media-issues/1753/3 "2022-09-06T09:45:10Z")

</div>

Hello PitzKey,

Yes, the phones are in the same LAN.  
I have determined that it is not working with taking packet captures, the RTP speech always goes from the calling phones IP to VitalPBX IP and then to the called phones IP.

---

<div class="post-metadata">

**Author:** ![system](https://forums.vitalpbx.org/uploads/default/original/1X/672b458a1d454755270c2c16adc5316b641c3c6a.png) [@system](https://forums.vitalpbx.org/u/system)\
**Post date:** [October 6, 2022, 9:45am UTC](https://forums.vitalpbx.org/t/vitalpbx-direct-media-issues/1753/4 "2022-10-06T09:45:26Z")

</div>

Closed on October 6, 2022, 9:45am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
