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 548 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

      "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 Reply Quote 0
      • S
        slu @raulmartin
        last edited by

        @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

          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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.