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

    New package: Session Border Controller

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    4 Posts 2 Posters 1.4k 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.
    • F
      Fesoj
      last edited by

      Hi!

      I'd like to support a session border controller like application (based on Asterisk) for pfSense. Currently I can successfully build my customized packages from the ports dir on a native FreeBSD system and now it is time to start moving this to pfSense. Given all the necessary testing, I figured that offering this with vs. 2.3 might be a good idea.

      Is there somewhere a document that describes the changes as far as package development is concerned? I haven't found anything yet, except some small posts.

      So far my basic understanding is that I install a development version of vs. 2.3 and somehow add the ports tree, from which I can generate the binaries for package. Additionally, there will be the xml install script and whatever is necessary for the new gui. Am I missing something here?

      It may be a bit early, but I do want to go away from modifying .conf files directly, but offer a gui for setting up SIP and IAX trunks. For home servers it could make sense to allow endpoints like phones, but I do not want to make things so general that it will be a fully blown pbx. Comments are welcome.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        We don't have any formal docs yet. You wouldn't put the ports tree onto pfSense, you'd put that onto a FreeBSD box where it would be compiled, etc.

        Basically, On the FreeBSD box, check out the pfSense copy of FreeBSD-ports from github. Look and other pfSense-pkg* ports and see how they are laid out. All of the package files (xml, php, etc) are in the port directory in a specific structure. Copy a similar one that already exists and adjust as needed. Some basic skill with maintaining FreeBSD ports is needed but not much (mostly making sure the plist is correct and such), the FreeBSD docs for that are out there and are not specific to pfSense.

        Once the package is built, move the package archive file(s) to pfSense and install them with the pkg command.

        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
        • F
          Fesoj
          last edited by

          check out the pfSense copy of FreeBSD-ports from github

          Done.

          Ok, so pkg will install the binaries as well as the GUI and additional files? For the time being I could install with pkg install , but the pfSense GUI would do pretty much the same.

          At the weekend, I'll have a look at the current alpha snapshot and study some small packages.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            @Fesoj:

            Ok, so pkg will install the binaries as well as the GUI and additional files? For the time being I could install with pkg install , but the pfSense GUI would do pretty much the same.

            At the weekend, I'll have a look at the current alpha snapshot and study some small packages.

            On 2.3 pkg install handles everything, binaries and GUI components. It works identically to installing the package via the GUI now, which makes development that much easier.

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