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

    Too many sip clients? Do I need Asterisk or Siproxed?

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 6 Posters 1.6k 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
      cmb
      last edited by

      You could accommodate that using Asterisk. Have it connect out to your SIP account, then create individual accounts for every device in it. That's basically what Fritzbox seems to do. Your clients connect only to the local PBX, and only it connects to the provider.

      1 Reply Last reply Reply Quote 0
      • D
        deltix
        last edited by

        Or buy inexpensive Grandstream or Cisco adapter and you can use analog phones with VoIP service. You can get it for less then $50.

        1 Reply Last reply Reply Quote 0
        • S
          schpongo
          last edited by

          Ah ok.
          So I can achieve my goal using asterisk, great.
          I'm very new to even the concept of asterisk, but I'll try my luck.
          Could one of you point me in the right direction (a good search term or guide)?

          I thought about using an adapter but because I'm only "playing" around with pfsense to broaden my horizon I don't want to invest too much money in hardware.
          If I wanted an easy solution I would just get an old fritzbox, those are even cheaper :).

          1 Reply Last reply Reply Quote 0
          • chpalmerC
            chpalmer
            last edited by

            The only other way would be to get a public IP address for each of your client devices and do 1:1 nat with them, or better yet let each client have its own individual public IP address with no NAT transversal.

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            1 Reply Last reply Reply Quote 0
            • D
              deltix
              last edited by

              His problem has nothing with firewall. Problem is in single SIP account and multiple clients. They all must have unique SIP account. I can do that with my provider (Vitelity) as I can create sub-accounts. Currently I have two, one for my desk phone and one for my cell phone. I can configure call routing too and use both device at the same time. I'm still limited to single DID and two calls maximum.

              1 Reply Last reply Reply Quote 0
              • ?
                Guest
                last edited by

                If I wanted an easy solution I would just get an old fritzbox, those are even cheaper

                The AVM FB is a combination between router, phone PBX and modem, it splits the services
                by feeding them with different cables from outside you will not have given by the pfSense!

                To connect your old analog phone to the network it could be running over this Cisco adapter!
                Cisco Small Business SPA112 2 Port Phone Adapter

                There are three often used ways to get it flawless working:

                • A STUN Server in the Internet
                • A PBX appliance like Asterisk in the DMZ
                • An integrated SIP-ALG inside of pfSense

                In my eyes the fastest way:
                set up the asterisk pbx appliance in the DMZ
                open the right ports to the pbx appliance
                Connect your phones to the appliance
                ready!

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  I've not had much luck with Asterisk servers behind pfsense or really any kind of NAT.

                  1 Reply Last reply Reply Quote 0
                  • ?
                    Guest
                    last edited by

                    I've not had much luck with Asterisk servers behind pfsense or really any kind of NAT.

                    :o
                    Put the asterisk PBX appliance inside of a DMZ
                    then open some ports, what ever needed to get it running, like an ordinary server with Internet contact
                    adjust your rule sets
                    thats it

                    Ok fairly I must tell you that I am using the Siemens Gigaset DX800a since years
                    and this is staying outside of the LAN but there fore I haven´t any kind of problems with VOIP.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      For me, asterisk server works fine with phones that are also behind pfsense with the server.  The issues always happen when the server is behind pfsense and the phones are elsewhere in the world behind some other router.

                      1 Reply Last reply Reply Quote 0
                      • chpalmerC
                        chpalmer
                        last edited by

                        NAT was not an original feature in SIP. In fact it had to be shoe-horned in later as carriers started going after your run of the mill residential service customer. Its still not perfect and devices and carriers still deal with it in different ways.

                        Most carriers will let you sign in with multiple SIP devices into one account. I know of non that can reliably do so when the customer is trying to use the same "public" IP address for more than one device.

                        I use VOIPo and have multiple SIP devices on my primary business numbers at different locations.

                        Triggering snowflakes one by one..
                        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.