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

    HELP - FreeSwitch again, now from a clean slate

    Scheduled Pinned Locked Moved pfSense Packages
    33 Posts 4 Posters 28.0k 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.
    • chpalmerC
      chpalmer
      last edited by

      Is there a way to keep freeswitch from loading the lan profile after removing the xml file?  It still shows up in profiles…

      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
      • C
        cybrsrfr
        last edited by

        To remove the lan profile do the following.
        rm -R /usr/local/freeswitch/conf/sip_profiles/lan
        rm /usr/local/freeswitch/conf/sip_profiles/lan.xml

        Then restart freeswitch. Now look at the status page and the lan profile should be gone.

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

          Yep Worked!    Thanks!!

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

            I got a lot further, thanks also to the freeswitch mailinglist :-)
            I've gotten the phones registered, I've got multiple DID's registered, and I've created groups and everything.
            Works very smootly.
            Still a bit of work to be done to get all the way there, but it's getting closer.

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

              It really isn't that hard but mis-conceptions about certain things can make it a lot harder. I think the lan profile caused confusion. I will remove the lan profile from the package.

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

                One thing that isn't mentioned in the 'multi-homed guide' as far as I can see it is that the:
                autoload_configs/acl.conf.xml
                contains some acl lists, I changed those to my own LAN.
                I'l not really sure what it does as of yet, but I didn't like some foreign IP's appearing :-)
                And also in the vars.xml I had to set
                  <x-pre-process cmd="set" data="domain=10.11.12.25">(my pfsense lan address)
                otherwise the phones wouldn't be allowed to register.</x-pre-process>

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

                  Could you add the
                  vm-notify-email-all-messages
                  statement to the 'extensions' defining in the package?

                  I'm moving all the config I've created directly in the config files to the pfsense, as I really want to have it in the pfsense (for backup purposes).

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

                    I think this is more a Freeswitch related question rather than a "Package" (or how Freeswitch interacts with and runs under pfSense) question but…

                    acl.conf.xml seems to be related to clients connecting without authenticating... If I have all my clients authenticating, is there really a need for the acl file?

                    Can reference to it be disabled?

                    I have "Rejected by acl "domains". Falling back to Digest auth" showing up in my logs constantly and nothing I do seems to fix it...

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

                      No it's just a matter of the fields shown in the configing of extensions in the pfsense interface, and include the config in the pfsense.xml as well.

                      acl…xml: Ahh, I see, well, I got rid of it by changing it to my local lan, and then just allow the server itself access.

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

                        From my log-
                        [DEBUG] sofia.c:4628 IP 172.31.125.15 Rejected by acl "domains". Falling back to Digest auth.

                        172.31.125.15 is my ata.  Does this simply mean it needs to authenticate and not allowed otherwise?

                        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
                        • C
                          cybrsrfr
                          last edited by

                          If the SIP traffic is sent to the internal profile on port 5060 and its not registered it will check the ACL (access control list) to see if it is allowed. But that isn't usually necessary if you have someone remote that wants to connect to you with a SIP URI send them to the external profile which puts the call in the public context. The external profile doesn't require registration and the call can come in it simply needs to be told where to go (inbound route). The inbound routing in the pfSense FreeSWITCH package is handled with the 'Public' tab. In FusionPBX which could be considered version 2 of the pfSense FreeSWITCH package 'Public' has been named 'Inbound Routes'.

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

                            Cool- thanks guys!

                            Ive got FusionPBX running on a windoes box for learning purposes…  Im real interested in trying to install it on my router as an upgrade to this but that for later...

                            But referring to FusionPBX configs and the way you have things set up default has helped me allot with configuring the package on the router in the last day...

                            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
                            • C
                              cybrsrfr
                              last edited by

                              Thats good that is why I put in some default settings to make getting started a little easier.
                              Note: Using the vHosts package which I created for this purpose you can get FusionPBX running on pfSense now if desired. I made the vHosts generic so that it will benefit other peoples needs as well.

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

                                Mark,

                                Without trying to show too much of my ignorance here, do you have a "quick & dirty" install guide for FusionPBX on pfSense?  Like chpalmer I've installed FusionPBX on a 2k3 server to look at but would like to install it on a pfSense box running Freeswitch.  I do understand that I would need to do the vHost package install first.  I couldn't find any info on the FusionPBX site for this. Thanx.

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

                                  Without trying to show too much of my ignorance here,

                                  Not me!  Ill totally claim ignorance…    ;D

                                  I would also love to see some form of a how to...  Need to do some googling to get started but figured Id at least get a little more familiar with what config does what on Freeswitch...

                                  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
                                  • chpalmerC
                                    chpalmer
                                    last edited by

                                    Looks like I need to familiarize myself a bunch more with FreeBSD commands….    :P ;D

                                    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
                                    • C
                                      cybrsrfr
                                      last edited by

                                      FusionPBX on pfSense

                                      1. Install FreeSWITCH easiest way is to install the FreeSWITCH pfSense package.
                                      2. Install the vHosts pacakge. (vHosts - virtual hosts)
                                      3. Setup fusionpbx.local in the dns forwarder package to point to the LAN IP of pfSense.
                                      4. Setup 'fusionpbx' website in the vHosts package with port 8001 or the port of your choice that is not used.
                                      5. After adding fusionpbx restart the vhosts web service. Then make sure you can view the phpinfo example page.
                                      6. From the console via ssh run the following or from Diagnostics -> Command
                                      cd /usr/local/vhosts/;fetch http://fusionpbx.com/downloads/fusionpbx-1.0.tar.gz
                                      cd /usr/local/vhosts/;tar xvf fusionpbx-1.0.tar.gz
                                      7. Open the web browser and you should see the install page. By default SQLite will be selected. The defaults should be fine.
                                      8. From the install page press save.
                                      9. Login to the FusionPBX with superadmin or admin with a password of FusionPBX.
                                      10. For configurations help please see.
                                      http://www.fusionpbx.com
                                      http://wiki.fusionpbx.com
                                      http://fusionpbx.com/support.php
                                      http://doc.pfsense.org/index.php/FreeSWITCH
                                      http://wiki.freeswitch.org

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

                                        Not a lot of new features in the fusionpbx compared to the pfsense package, but it looks a bit better.
                                        Is the fusionpbx going to be made a package as well (nudge nudge  :P)

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

                                          Thanks Mark!

                                          Appreciate all the help….    :)

                                          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
                                          • C
                                            cybrsrfr
                                            last edited by

                                            There is a lot of new tools too give you greater access to FreeSWITCH, and make it easier to use.

                                            • Public is now called 'Inbound Routes'
                                            • Template manager allows you to change the look and feel.
                                            • Menu manager allows you to change
                                            • XML Editor is for advanced users that want access to FreeSWITCH on a deeper level.
                                            • PHP Editor again for advanced users that know PHP
                                            • Script Editor allowing advanced users ability to add or modify scripts.
                                            • Dialplan and Inbound routes has a tool for 'add' that makes adding new entries much easier and faster.
                                            • Users can log into view their voicemail's
                                            • Users can be assigned to one or more extensions.
                                            • Database backend that can use SQLite, PostgreSQL, or MySQL. On pfSense it requires SQLite.

                                            And some new features. Keep in mind this took months to make multi-platform.

                                            • Additional features in Hunt groups
                                            • Additional features in the Auto Attendant
                                            • Conference interface to make it easier to add voice conference rooms with or without a pin number
                                            • Softphone that is if you have a have a sound card installed on the system
                                            • Ability to run multi-tenant with multiple instances of FreeSWITCH
                                            • Contact list

                                            Features that I'm currently working on.
                                            Call Broadcast make a recording and send it to a group of contacts.
                                            Call Forward transfer calls destined for an extension out to a cell phone.
                                            Call Queues possible before but this interface will make it easier.
                                            Automatic Phone provisioning

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