• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

TCP - UDP timeout for VoIP

Scheduled Pinned Locked Moved Traffic Shaping
3 Posts 3 Posters 547 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R
    raulmartin
    last edited by Jan 7, 2025, 9:45 AM

    "Good morning, and thank you in advance.
    In a pfSense version 2.7.2, I need to know or have confirmation on where I can set the timeout values for TCP sessions. In this installation, voice communications over VoIP are randomly dropping after approximately 15 minutes. The VoIP system provider has advised me to configure the TCP timeout to 1200 seconds and the UDP RTP audio timeout to 300 seconds.
    From what I’ve read, I believe these settings can be configured under System → Advanced → Firewall & NAT, in the State Timeouts section.
    If this is the correct section, which fields correspond to the UDP RTP and TCP timeouts mentioned earlier?
    I’ve also changed the Firewall Optimization Options to Conservative.
    Once again, I appreciate your attention."

    S 1 Reply Last reply Jan 7, 2025, 10:16 AM Reply Quote 0
    • S
      slu @raulmartin
      last edited by Jan 7, 2025, 10:16 AM

      @raulmartin said in TCP - UDP timeout for VoIP:

      In this installation, voice communications over VoIP are randomly dropping after approximately 15 minutes.

      In my eyes not a firewall problem!
      This sounds to me there is a issue with the session expiry or refresh of the VoIP phone.

      pfSense Gold subscription

      1 Reply Last reply Reply Quote 0
      • U
        Uglybrian
        last edited by Jan 7, 2025, 3:27 PM

        Using just the conservative setting for the firewall and giving the ip phone static ports, has always worked for me. You should not have to change TCP/UDP settings specifcally. Just the firewall optimaztion. see the pic for the detales of the differances.

        Screenshot from 2025-01-07 07-22-08.png

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received