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 243.3k 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
      m4f1050
      last edited by

      Any idea when these will be out of beta stage and available via the package section in the webgui?  (asterisk 1.8.x and the asterisk-gui 2.x)
      I am currently on 2.0.2

      Thanks.

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        @m4f1050:

        Any idea when these will be out of beta stage and available via the package section in the webgui?  (asterisk 1.8.x and the asterisk-gui 2.x)
        I am currently on 2.0.2

        Thanks.

        Mafioso,

        The port submit of asterisk-gui is still pending on freebsd ports.  :(

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • M
          m4f1050
          last edited by

          Good luck and I hope they hurry up because I am not installing Asterisk until the gui is there or altogether.  :)

          1 Reply Last reply Reply Quote 0
          • A
            asterix
            last edited by

            Ditto. I am totally confused with the current package and how to configure it. I am a GUI guy and would love to have GUI for this package for me to start taking advantage of it.

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

              Hello,
              a newbie question…

              I'm yet another cheapskate with a TDM400P PCI analog telephony card doing 'nowt in an old box...and wondering if the zaptel/DHADI route (even with the apparent echo issues...) is worth pursuing and how to get some stable drivers to try on a production box (I know!!).

              I've been looking around
              http://www.voip-info.org/wiki/view/FreeBSD%20zaptel looked interesting but seems a dead end...

              The card is recognised by pciconf -lv  :
              none2@pci0:1:8:0:      class=0x078000 card=0x0003b100 chip=0x0001e159 rev=0x00 hdr=0x00
                  vendor    = 'Tiger Jet Network Inc'
                  device    = 'Multiple devices use this ID: General Purpose I/O Controller'
                  class      = simple comms

              but doesn't show up in dmesg

              Is there hope? or is it (very likely) easier to erm... Ubuntu it?

              Any pointers very welcome  ;D

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                To run asterisk cards on freebsd will need it drivers and dahdi. I do not recomend it on pfsense.

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

                Help a community developer! ;D

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

                  @marcelloc:

                  To run asterisk cards on freebsd will need it drivers and dahdi. I do not recomend it on pfsense.

                  marcelloc
                  Thanks - I had to ask the question…  there seems to have been some activity - but quite a while ago and the hardware has moved on.

                  I guess I'll try a Draytech VoIP router to handle analog and see how I get on with that....  TDM400P >=ebay

                  1 Reply Last reply Reply Quote 0
                  • M
                    muchacha_grande
                    last edited by

                    Have a little question that may become big.

                    I'm running pfSense 2.1 beta1 and installed Asterisk package.

                    I can see the Asterisk page in the status menu and the service running in the services status page. So I'm assuming that the package is working, at least for now.

                    But in the main Asterisk page it enumerates these directories:

                    • Directories
                        –-----------
                        Configuration file:         
                        Configuration directory:    /usr/pbi/asterisk-i386/etc/asterisk
                        Module directory:            /usr/pbi/asterisk-i386/lib/asterisk/modules
                        Spool directory:            /usr/pbi/asterisk-i386/var/spool/asterisk
                        Log directory:              /usr/pbi/asterisk-i386/var/log/asterisk
                        Run/Sockets directory:      /usr/pbi/asterisk-i386/var/run/asterisk
                        PID file:                    /usr/pbi/asterisk-i386/var/run/asterisk/asterisk.pid
                        VarLib directory:            /usr/pbi/asterisk-i386/share/asterisk
                        Data directory:              /usr/pbi/asterisk-i386/share/asterisk
                        ASTDB:                      /usr/pbi/asterisk-i386/var/db/asterisk/astdb
                        IAX2 Keys directory:        /usr/pbi/asterisk-i386/share/asterisk/keys
                        AGI Scripts directory:      /usr/pbi/asterisk-i386/share/asterisk/agi-bin

                    Are they alright or I have to move them to another place before configuring Asterisk?

                    I think that they should be pointing to other places.

                    1 Reply Last reply Reply Quote 0
                    • marcellocM
                      marcelloc
                      last edited by

                      @muchacha_grande:

                      Are they alright or I have to move them to another place before configuring Asterisk?

                      Yes, pfsense 2.1 installs packages under /usr/pbi

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

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • M
                        muchacha_grande
                        last edited by

                        Hi, I've recently installed Asterisk package on pfSense 2.1 beta1 and made it work with a little config.
                        But I can't see logs or calls on the status interface. May be is not correctly installed.

                        Thank you…

                        1 Reply Last reply Reply Quote 0
                        • marcellocM
                          marcelloc
                          last edited by

                          I did not checked asterisk package on 2.1.

                          Maybe it's looking for logs on the wrong folder.

                          check if there are logs in /usr/pbi/asterisk-xx/var folder

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

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • M
                            muchacha_grande
                            last edited by

                            Yes, they are there…

                            More precisely in /usr/pbi/asterisk-i386/var/log/asterisk/

                            1 Reply Last reply Reply Quote 0
                            • marcellocM
                              marcelloc
                              last edited by

                              @muchacha_grande:

                              Yes, they are there…

                              More precisely in /usr/pbi/asterisk-i386/var/log/asterisk/

                              try to create a symlink to /var/log/asterisk

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

                              Help a community developer! ;D

                              1 Reply Last reply Reply Quote 0
                              • M
                                muchacha_grande
                                last edited by

                                I'd modified the paths of the PHPs. They are hardcoded for version 2.0.

                                Thank you very much…

                                1 Reply Last reply Reply Quote 0
                                • M
                                  muchacha_grande
                                  last edited by

                                  Hi again,

                                  finally with an Asterisk up and running on pfSense 2.1 beta1.

                                  I'm trying to enable fax sending and receiving with res_fax.so and res_fax_digium.so.

                                  I've already registered my box with Digium's register method explained in Digiums site but theres a lib missing when I do module load res_fax_digium.so.

                                  Here is the output:

                                  Asterisk 1.8.19.0, Copyright (C) 1999 - 2012 Digium, Inc. and others.
                                  Created by Mark Spencer markster@digium.comAsterisk 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.

                                  == Parsing '/usr/pbi/asterisk-i386/etc/asterisk/asterisk.conf':  == Found
                                    == Parsing '/usr/pbi/asterisk-i386/etc/asterisk/extconfig.conf':  == Found
                                  Connected to Asterisk 1.8.19.0 currently running on pfsense (pid = 6011)
                                  Verbosity is at least 3
                                  pfsenseCLI> module load res_fax_digium.so                                                                                Unable to load module res_fax_digium.so
                                  Command 'module load res_fax_digium.so' failed.
                                  [Feb  7 21:26:58] WARNING[6011]: loader.c:409 load_dynamic_module: Error loading module 'res_fax_digium.so': Shared object "libc.so.6" not found, required by "res_fax_digium.so"
                                  [Feb  7 21:26:58] WARNING[6011]: loader.c:874 load_resource: Module 'res_fax_digium.so' could not be loaded.
                                  pfsense
                                  CLI>

                                  There in no comments about this at Digium's site.

                                  Does anyone succeded on making fax module work on pfSense?

                                  Thanks…/markster@digium.com

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    whitewater
                                    last edited by

                                    Hello,
                                    I'm testing asterisk on pfsense since some weeks. It's very stable :)
                                    Thank you for this great work !

                                    I have 3 pfsense with an IPSEC vpn :
                                    site A : 192.168.1.0
                                    site B : 192.168.2.0 - with an pika warp / freepbx asterisk
                                    site C : 192.168.3.0 - with your package asterisk on pfsense.

                                    I would like to connect from site A to site C with a SIP client. Test with zoiper.

                                    zoiper site A to asterisk site B : ok. it works :)
                                    zoiper site A to asterisk pfsense site C : ko. it doesn't works :(

                                    On states pfsense, of the site A & C, i have :
                                    NO_TRAFFIC:SINGLE

                                    IPSEC VPN rules are corrects. * for all settings.
                                    what should i do ?
                                    thank you :)

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      erespejel
                                      last edited by

                                      I see the asterisk gui, but the user and password do not work, edit manager.conf and nothing

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        robi
                                        last edited by

                                        I see that the GUI of the package needs some work to be compatible to 2.1. I'll soon post the necessary modifications.

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          robi
                                          last edited by

                                          Is there a place where I could push the modifications needed for this plugin to work with 2.1? Like GitGub, etc…?

                                          1 Reply Last reply Reply Quote 0
                                          • R
                                            robi
                                            last edited by

                                            I've just modified my config file editor page, with complete backup and restore options.

                                            I've also optimized the installation to properly run on NanoBSD systems. I'm going to update them accordingly at https://github.com/pfsense/pfsense-packages/tree/master/config/asterisk

                                            asterisk_edit_file.png
                                            asterisk_edit_file.png_thumb

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