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

    Asterisk 1.8 package

    Scheduled Pinned Locked Moved pfSense Packages
    281 Posts 59 Posters 252.8k 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.
    • M
      matthijs
      last edited by

      Hi,

      Is there a new Asterisk package comming in the near future for the Pfsense 2.3 release ?
      No asterisk package for Pfsense 2.3 is keeping me from upgrading to this new PFsense version at the moment.

      Kr,

      Matthijs

      1 Reply Last reply Reply Quote 0
      • C
        carlm
        last edited by

        @matthijs:

        Hi,

        Is there a new Asterisk package comming in the near future for the Pfsense 2.3 release ?
        No asterisk package for Pfsense 2.3 is keeping me from upgrading to this new PFsense version at the moment.

        Kr,

        Matthijs

        I have the same question. I'm in the same situation.

        1 Reply Last reply Reply Quote 0
        • rcfaR
          rcfa
          last edited by

          @carlm:

          @matthijs:

          Hi,

          Is there a new Asterisk package comming in the near future for the Pfsense 2.3 release ?
          No asterisk package for Pfsense 2.3 is keeping me from upgrading to this new PFsense version at the moment.

          Kr,

          Matthijs

          I have the same question. I'm in the same situation.

          Probably would require a full redo, particularly since the version of asterisk used by the old packages is, well, old, too.
          Rather would see freeswitch…

          1 Reply Last reply Reply Quote 0
          • T
            tdi
            last edited by

            Is anyone working on asterisk for 2.3 ?

            1 Reply Last reply Reply Quote 0
            • P
              Pawel
              last edited by

              HI, I need a working package asterisk11 or asterisk13 in pfsense 2.3 to work with new GUI.
              If anyone can help?

              1 Reply Last reply Reply Quote 0
              • F
                Fesoj
                last edited by

                There is no such package, but you can install the standard Asterisk packages from the regular FreeBSD 10.3 repository.

                Due to the complexity and diversity of Asterisk's configuration, a GUI might not really be helpful. A simple GUI always implies some assumptions on the usage of Asterisk.

                1 Reply Last reply Reply Quote 0
                • kklouzalK
                  kklouzal
                  last edited by

                  I agree, aside from giving the user multiple large text boxes for them to hand craft their particular needs out it would be very difficult to create a generic web gui for configuration. I'm not opposed to large text boxes though ;)

                  1 Reply Last reply Reply Quote 0
                  • P
                    Pawel
                    last edited by

                    Thanks for reply.

                    I install the standard Asterisk packages from the regular FreeBSD 10.3 repository:

                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/gsm-1.0.13_2.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/libpri-1.4.15.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/mpfr-3.1.4.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/mpc-1.0.3.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/gcc-4.8.5_2.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/binutils-2.25.1_3,1.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/release_3/All/gcc-ecj-4.5.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/gcc-4.8.5_2.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/openr2-1.3.3.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/postgresql93-client-9.3.13_2.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/sqlite-2.8.17_3.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/mpg123-1.23.6.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/png-1.6.23.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/libslang2-2.3.0.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/newt-0.52.19.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/dahdi-2.4.0rc5_6.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/e2fsprogs-libuuid-1.43.1_1.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/lua51-5.1.5_9.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/jansson-2.7_3.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/libgpg-error-1.24.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/libgcrypt-1.7.2.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/freetds-1.00.1,1.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/libogg-1.3.2_1,4.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/libvorbis-1.3.5,3.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/mysql56-client-5.6.30.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/speexdsp-1.2.r3_1.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/speex-1.2.r2,1.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/radiusclient-0.5.6_3.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/libtasn1-4.9.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/tpm-emulator-0.7.4_1.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/trousers-0.3.13.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/p11-kit-0.23.2.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/gnutls-3.4.14.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/iksemel-1.4_7.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/portaudio-19.20140130_5.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/pjsip-2.5.1_1.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/jbigkit-2.1_1.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/jpeg-turbo-1.4.2.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/tiff-4.0.6_2.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/spandsp-0.0.6.txz
                    pkg add http://pkg.freebsd.org/freebsd:10:x86:32/latest/All/asterisk13-13.10.0.txz

                    nano /etc/rc.conf
                    asterisk_enable="YES"

                    REBOOT SYSTEM

                    Asterisk work perfectly.
                    I connect Telephone and Intercom, voices work.

                    Now I'm working on a simple GUI to pfSense 2.3 and config editor to more configuration.
                    In attachment first screen from work.

                    One question, how to add asterisk to autostart on pfsense?

                    ast.png
                    ast.png_thumb

                    1 Reply Last reply Reply Quote 0
                    • F
                      Fesoj
                      last edited by

                      asterisk_enable="YES"
                      

                      This does not work as expected. A simple method to autostart Asterisk is to install the package "shellcmd" and add an entry for Asterisk.

                      PS: I am also working on a GUI interface. Currently I am exploring the ARI interface to see what could make sense inside pfSense.

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

                        Ok, I managed to install all required packages. And also installed shellcmd pfSense-package.
                        What is the correct command for Shellcmd to start Asterisk13 on boot ?

                        Ps. Thanks for all the info so far !! Nice topic !

                        EDIT:

                        on the command "asterisk -vvvgc" I get:

                        Asterisk 13.16.0, Copyright (C) 1999 - 2014, Digium, Inc. and others.
                        Created by Mark Spencer <markster@digium.com>
                        Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
                        This is free software, with components licensed under the GNU General Public
                        License version 2 and other licenses; you are welcome to redistribute it under
                        certain conditions. Type 'core show license' for details.
                        =========================================================================
                        [ Initializing Custom Configuration Options ]
                          == Parsing '/usr/local/etc/asterisk/extconfig.conf': Found
                          == Parsing '/usr/local/etc/asterisk/asterisk.conf': Found
                        XSLT support not found. XML documentation may be incomplete.
                        Unable to open Asterisk database '/var/db/asterisk/astdb.sqlite3': unable to open database file
                        ASTdb initialization failed.  ASTERISK EXITING!</markster@digium.com>
                        
                        1 Reply Last reply Reply Quote 0
                        • F
                          Fesoj
                          last edited by

                          A simple shellcmd would be```
                          /usr/local/sbin/asterisk -Uasterisk -F

                          
                          When you power down the router, Asterisk gets killed. Depending on what else Asterisk is doing, this can be a problem. You might want to consider a traditional shell script as described here: [https://doc.pfsense.org/index.php/Executing_commands_at_boot_time](https://doc.pfsense.org/index.php/Executing_commands_at_boot_time)
                          If you use the standard BSD script, it comes with a start and stop option.
                          
                          If you initially start Asterisk as root and later with restricted rights, then a couple of files and directories may not be accessible anymore. Please check astdb.sqlite3\. It should be owned by asterisk and group asterisk. Otherwise, chown.
                          
                          You need to check all the other working dirs of Asterisk and adjust the ownerships, if necessary. The dirs are listed in asterisk.conf.
                          
                          Hope this helps for now…
                          1 Reply Last reply Reply Quote 0
                          • marcellocM
                            marcelloc
                            last edited by

                            @Pawel:

                            Now I'm working on a simple GUI to pfSense 2.3 and config editor to more configuration.
                            In attachment first screen from work.

                            I can help you creating a gui package for that. Keep binaries install under bsd repository and gui package on my Unofficial package repo.

                            https://github.com/marcelloc/Unofficial-pfSense-packages

                            Treinamentos de Elite: http://sys-squad.com

                            Help a community developer! ;D

                            1 Reply Last reply Reply Quote 0
                            • B
                              brtech
                              last edited by

                              Is anybody currently running asterisk on pfsense, if so, which package have you used?

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