# Janus v1.3.2 Ignores rtp\_port\_range in Configuration – Always Uses Default Ports

**URL:** <https://janus.discourse.group/t/janus-v1-3-2-ignores-rtp-port-range-in-configuration-always-uses-default-ports/1658>\
**Category:** General\
**Created:** [July 3, 2025, 10:08am UTC](https://janus.discourse.group/t/janus-v1-3-2-ignores-rtp-port-range-in-configuration-always-uses-default-ports/1658 "2025-07-03T10:08:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goga](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@Goga](https://janus.discourse.group/u/Goga)\
**Post date:** [July 3, 2025, 10:08am UTC](https://janus.discourse.group/t/janus-v1-3-2-ignores-rtp-port-range-in-configuration-always-uses-default-ports/1658/1 "2025-07-03T10:08:40Z")

</div>

Environment:

Janus Version:\*\* 1.3.2 (`commit f594ef7ddbd76338b3f0727dd70bb71789fed0a6`)

- OS:\*\* Ubuntu 22.04 LTS
- Deployment:\*\* Manually compiled from source under `/opt/janus`
- Startup: Running via `systemd` and also tested via `janus -f`
- Config Path:\*\* `/opt/janus/etc/janus/janus.jcfg`

In the `media` block of `janus.jcfg`:

ini

CopyEdit

media: {  
rtp\_port\_range = “10000-20000”  
audio\_level\_ext = false  
}

Also using:

nat: {  
ice\_lite = true  
nat\_1\_1\_mapping = “104.245.147.134”  
}

Observed Behavior:

- Janus **does not bind** to any ports in `10000–20000`.
- It continues using ports like `5002`, `5102`, `5104`, etc.
- No log output shows `Using RTP port range 10000-20000`
- No config error or warning is printed — config is silently ignored
- Confirmed using `sudo ss -ulnp | grep janus`

What I’ve Tried:

- Confirmed Janus is using the correct config file
- Verified syntax and indentation are correct
- Restarted Janus via systemd and tested `janus -f` (foreground)
- Added `audio_level_ext = false` (saw this workaround referenced elsewhere)
- Used `journalctl` to confirm no warnings or parsing errors
- Confirmed that 3CX is sending RTP to dynamic ports, e.g., 36924 — but Janus never binds them

My Questions:

1. Is this a known issue with Janus 1.3.2?
2. Is `rtp_port_range` now dependent on a compile-time flag or missing plugin?
3. Should it still be set in the `media` block in modern builds?
4. Is the only solution a rebuild from the latest `main` branch?

---

<div class="post-metadata">

**Author:** ![lorenzo](https://yyz2.discourse-cdn.com/free1/user_avatar/janus.discourse.group/lorenzo/32/425_2.png) [@lorenzo](https://janus.discourse.group/u/lorenzo)\
**Post date:** [July 3, 2025, 10:29am UTC](https://janus.discourse.group/t/janus-v1-3-2-ignores-rtp-port-range-in-configuration-always-uses-default-ports/1658/2 "2025-07-03T10:29:36Z")

</div>

`rtp_port_range` is exclusively for ports Janus will use on the WebRTC side. It has nothing to do with ports that plugins (Streaming, SIP, others) may use for their own needs. Some plugins will have a port range of their own you can configure.

---

<div class="post-metadata">

**Author:** ![Goga](https://avatars.discourse-cdn.com/v4/letter/g/f17d59/32.png) [@Goga](https://janus.discourse.group/u/Goga)\
**Post date:** [July 3, 2025, 11:01am UTC](https://janus.discourse.group/t/janus-v1-3-2-ignores-rtp-port-range-in-configuration-always-uses-default-ports/1658/3 "2025-07-03T11:01:21Z")

</div>

I’ve built a WebRTC dialer that connects to a SIP server using the Janus SIP Gateway.  
SIP registration works fine, and calls are successfully established.

However, I’m experiencing **one-way audio** :

- Audio from the WebRTC dialer to the SIP endpoint works correctly.
- But audio from the SIP endpoint to the WebRTC dialer is not received.

I checked the SIP server and confirmed that it **is sending RTP packets** to the **public IP of the Janus server** , but the WebRTC dialer side receives no audio.
