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

SIP ALG problem (stupid plain NAT)

Scheduled Pinned Locked Moved NAT
8 Posts 4 Posters 23.2k 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.
  • C
    chasingSol
    last edited by Oct 13, 2010, 9:05 PM

    Hi,

    I have an asterisk server sitting behind pfsense, I have successfully configured pfsense for NAT traversal, and clients from the internet can call clients inside the network of asterisk, as well as other clients registered with this asterisk server on the internet.

    The problem now is when a client from the internet do a call, the call disconnects in 10~20 seconds, but during this period the call goes fine and voice is heard on both ends; But when a client on the same network of asterisk calls another client registered from the internet, the call is established without any issues, and it doesn't disconnect.

    I have also noticed that when internet clients do calls, and the call is established on both ends, if one of the two parties hang up, the other end isn't notified and the call stays opened at this end.

    I have asked about this issue on asterisk mailing list and I was told to configure pfsense to do stupid plain NAT and dont touch the sip headers.

    How do I do that in pfsense?

    Any advice will be very much appreciated

    1 Reply Last reply Reply Quote 0
    • P
      Perry
      last edited by Oct 13, 2010, 9:10 PM

      Maybe you can find a hint here.
      http://doc.pfsense.org/index.php?title=Special%3ASearch&search=voip&go=

      /Perry
      doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • C
        chasingSol
        last edited by Oct 13, 2010, 9:20 PM

        I already went through all of them and tried them all.

        Setting the static port helped me in "no sound in both calling ends" issue, but they were not helpful in fixing the disconnection issue.

        1 Reply Last reply Reply Quote 0
        • J
          jimp Rebel Alliance Developer Netgate
          last edited by Oct 14, 2010, 1:05 PM

          What about point 2 here?

          http://doc.pfsense.org/index.php/VoIP_Configuration

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • C
            chasingSol
            last edited by Oct 15, 2010, 3:15 PM

            I already set "Firewall Optimization Options" to "Conservative", but it didn't help

            1 Reply Last reply Reply Quote 0
            • D
              danswartz
              last edited by Oct 24, 2010, 12:23 AM

              can you get a sniffer trace and see why (using wireshark) the connection is being torn down?

              1 Reply Last reply Reply Quote 0
              • C
                chasingSol
                last edited by Oct 24, 2010, 7:51 PM

                The issue was due to a router in the middle of the VoIP cloud which had the option SIP ALG enabled. I just disabled this option and everything worked without any issues.

                1 Reply Last reply Reply Quote 0
                • D
                  danswartz
                  last edited by Oct 25, 2010, 8:47 PM

                  Cool.

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