Just for fun, a few associations I’m part of want to set up our own IP-phone network, with our own phone numbers and such.

  • Is this possible?
  • How would one go about doing this?
  • Does it have to be it’s own separate network or can it work via the internet without special setup beyond a public IP?
  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    32
    ·
    6 months ago

    You will want a couple things. First get yourself some VoIP phones. Yealink is a decent brand. Grand stream Wave is a good option for Android and iOS softphones.

    Secondly download a PBX. I recommend Fusion PBX others will recommend 3cx but the main thing is to avoid Asterisk.

    Finally get yourself a SIP trunk from a phone provider.

    Now cry in pain as you are constantly bombarded with SIP attacks in your home.

    • m_randall@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      13
      ·
      6 months ago

      Interesting - why avoid asterisk?

      I looked into fusion to play with but I’ve been using asterisk casually since like the 00s with no issues.

      • slazer2au@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        6 months ago

        Owned by a for profit *aaS provider whose motivations are money.

        Fusion PBX is a front end of freeswitch is not. Mark and the team at Fusion are top notch with their support.

        • stoerte@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          ·
          6 months ago

          Is fusionpbx completely open source? Do you have any further reasons why you would recommend it?

          I was looking into asterisk the last couple of days for a new company PBX and need some alternatives to compare against. Asterisk looks also a bit complicated though not impossible

        • m_randall@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          6 months ago

          Ah yes that makes sense. I was taken aback by my latest install of freepbx. I feel it wasn’t as aggressive during the Digium days but it definitely left a bad taste in my mouth.

          I heard good things about free switch, although it seems like a paradigm change. I’ll have to check it out.

    • TedZanzibar@feddit.uk
      link
      fedilink
      English
      arrow-up
      8
      ·
      6 months ago

      What’s the problem with Asterisk? FreePBX uses it and as far as I can tell, it’s the only way to get Lenny working.

    • freddoOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 months ago

      Is it possible to just run your own SIP-trunk? We’re not intending on sending or receiving calls from external numbers outside of our little network.

      • notabot@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        ·
        6 months ago

        If you don’t need external calling you don’t need a trunk, it’s just for connecting to the outside world. I found [[https://www.asterisk.org/|Asterisk]] was a good place to start. The config is rather involved though, so there are various front ends for it.

  • shininghero@kbin.social
    link
    fedilink
    arrow-up
    8
    ·
    6 months ago

    Assuming you already have the IP phones, you need two things. A PBX server (for the VoIP stuff), and a SIP trunk with a block of external phone numbers.

    Start with the PBX server software, there’s several free/open-source implementations. Once you’re comfortable with it and have internal calling good to go, then you can spend on the SIP trunk and number blocks.

    • aStonedSanta@lemm.ee
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      6 months ago

      Next step. Have your on site manager call in and tell the ISP to change your sip trunk settings to fuck everything and let no one know. 😎

      • shininghero@kbin.social
        link
        fedilink
        arrow-up
        8
        ·
        6 months ago

        Step 3: unfuck the SIP settings, then email both HR and their supervisor to throw them under the bus. Also covers your ass for step 4.

        Step 4: Route the manager’s calls to a disconnected number. When they come knocking about their phone not working, tell them, “No, you should be able to dial out, unless someone changed the SIP trunk settings and didn’t tell me.”

    • freddoOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 months ago

      What do you mean by “a block of external phone numbers?” We’d like to simply have our own internal numbers ideally, nothing to connect to the regular phone network.

      • shininghero@kbin.social
        link
        fedilink
        arrow-up
        6
        ·
        6 months ago

        SIP providers usually sell numbers in contiguous series for businesses. For example, if your company buys a block of 50 numbers, the SIP provider then allocates XXX-5100 to XXX-5150.

        But since you’re keeping this strictly internal, you don’t have to worry about that.

  • blackstrat@lemmy.fwgx.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 months ago

    I’ve been running 3CX for a couple of years with a Voicehost trunk configured. I found it much simpler than free PBX to setup and maintenance has been a breeze. There’s apps or a web based option too. 3CX can be a little picky with older unsupported hardware - the old Cisco phone I bought was a tricky setup, but the Yealink I have phone was plug and play easy.

    The tricky bit was configuring the opnsense router and firewall to correctly handle all the ports properly, but I think that’d be the same for any solution and for an internal only option probably not required.

  • tvcvt@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 months ago

    I administer a handful of FreePBX systems that run pretty smoothly and are relatively friendly to use. Crosstalk Solutions on YouTube has a bunch of videos on the software if you want to get up to speed about how everything works.

  • Godort@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    Yes, it’s possible

    You need a SIP trunk to connect to and a PBX server. I would also recommend a proxy server to obfuscate your SIP server as it will be constantly attacked.

    It doesn’t technically need its own network, but having it on its own VLAN is recommended as you will want to have some QoS policies for the UDP voice traffic otherwise your call audio will be choppy

  • tristan@aussie.zone
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 months ago

    You can do this pretty easily using asterisk and then just point your VoIP clients to it’s IP address

    But…

    Whatever you do, unless you’re an expert with network security, don’t leave it on its default port if you’ll expose it to the internet.

    You’ll have that many bots trying to get in that it’ll DDoS you within a few hours of setting it up. Even if you have it on a different port, you’ll have lots of bots trying to get in.

    If you ever see those “unlimited international calls” cards sold in third world countries for like $5-10, those are mostly hacked VoIP systems that have accounts or access to a phone line

  • WeAreAllOne@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    6 months ago

    Why don’t you use regular chat apps that have voice video capabilities?

    • dick_stitches@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 months ago

      Sounds like OP is interested in learning to set up/administer a VoIP system rather than just looking for a communications platform

  • elmicha@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    If you happen to have a Fritzbox with VoIP capability it contains a SIP server and you can register SIP clients on it (e.g. Fritz App Fon, linphone, twinkle) and use them to phone internally.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 months ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    Git Popular version control system, primarily for code
    IP Internet Protocol
    UDP User Datagram Protocol, for real-time communications

    3 acronyms in this thread; the most compressed thread commented on today has 8 acronyms.

    [Thread #666 for this sub, first seen 8th Apr 2024, 18:25] [FAQ] [Full list] [Contact] [Source code]