Freeswitch wont start



  • this is a copy and paste from another thread that doesnt appear closed but I can't post on.

    I am running pfsense 2.0.1-RELEASE (i386) on ESXi 5.0

    I have the same issue in that it installs (and reinstalls) but there is no /usr/local/freeswitch directory. All indications are that it installs and the service doesn't start.

    When I try to start it I get the message "freeswitch has been started." but the service remains stopped.

    The other issues are PHP errors on various pages:

    • Services > FreeSWITCH > Profiles:
        - Warning: opendir(/usr/local/freeswitch/conf/sip_profiles): failed to open dir: No such file or directory in /usr/local/pkg/freeswitch.inc on line 270
        - Warning: Invalid argument supplied for foreach() in /usr/local/www/packages/freeswitch/freeswitch_profiles.php on line 118
    • Services > FreeSWITCH > Status:
        - Warning: fsockopen(): unable to connect to 192.168.1.67:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
        - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170
        - Warning: fsockopen(): unable to connect to 192.168.4.1:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
        - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170 no handle
        - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 181
        - Warning: opendir(/usr/local/freeswitch/conf/sip_profiles): failed to open dir: No such file or directory in /usr/local/pkg/freeswitch.inc on line 270
        - Warning: Invalid argument supplied for foreach() in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 184
        - Warning: fsockopen(): unable to connect to 192.168.1.67:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
        - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170
        - Warning: fsockopen(): unable to connect to 192.168.4.1:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
        - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170 no handlestatus
        - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 224
        - Warning: fsockopen(): unable to connect to 192.168.1.67:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
        - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170
        - Warning: fsockopen(): unable to connect to 192.168.4.1:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
        - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170 no handleshow channels
        - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 242
        - Warning: fsockopen(): unable to connect to 192.168.1.67:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
        - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170
        - Warning: fsockopen(): unable to connect to 192.168.4.1:8021 (Operation timed out) in /usr/local/pkg/freeswitch.inc on line 169
        - Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 170 no handleshow calls
        - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_status.php on line 261
    • Services > FreeSWITCH > Vars:
        - Warning: fopen(/usr/local/freeswitch/conf/vars.xml): failed to open stream: No such file or directory in /usr/local/www/packages/freeswitch/freeswitch_vars.php on line 56
        - Warning: filesize(): stat failed for /usr/local/freeswitch/conf/vars.xml in /usr/local/www/packages/freeswitch/freeswitch_vars.php on line 57
        - Warning: fread(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_vars.php on line 57
        - Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/freeswitch_vars.php on line 58

    Any ideas on how I can install this package?



  • Take a look here and see if an alternative install to pfSense might work for you…

    http://wiki.fusionpbx.com/index.php?title=PfSense_Install

    Im not sure how well if at all the freeswitch packages have been kept up...



  • Fusion PBX installed and worked fine for me on 2.0.1 (apart from no audio on the internal network, but I'm working on that). So I Know it installs and runs. I've only tried the freeswitch-dev package on pfSense-1.2.3 so I don't know if it works on 2.0.1.



  • @chpalmer:

    Take a look here and see if an alternative install to pfSense might work for you…

    http://wiki.fusionpbx.com/index.php?title=PfSense_Install

    Im not sure how well if at all the freeswitch packages have been kept up...

    Hi Chpalmer, I am running the latest version 2.0.1 of pfsense. Are you suggesting that freeswitch may not work well with this release and I install an older one?


Locked