Freeswitch package



  • Today I've tried to add the freeswitch package.
    It installs but when I go to the status page I get a lot of errors:

    
    Warning: fsockopen(): unable to connect to ***.***.***.***:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 Warning: fsockopen(): unable to connect to 10.10.5.1:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 no handle
    sofia status 	
    
    Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/v_status.php on line 209
    
    Warning: fsockopen(): unable to connect to ***.***.***.***:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 Warning: fsockopen(): unable to connect to 10.10.5.1:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 no handle
    sofia status profile external 	
    
    Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/v_status.php on line 239
    
    Warning: fsockopen(): unable to connect to ***.***.***.***:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 Warning: fsockopen(): unable to connect to 10.10.5.1:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 no handle
    sofia status profile internal-ipv6 	
    
    Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/v_status.php on line 239
    
    Warning: fsockopen(): unable to connect to ***.***.***.***:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 Warning: fsockopen(): unable to connect to 10.10.5.1:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 no handle
    sofia status profile internal 	
    
    Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/v_status.php on line 239
    
    Warning: fsockopen(): unable to connect to ***.***.***.***:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 Warning: fsockopen(): unable to connect to 10.10.5.1:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 no handlestatus
    
    Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/v_status.php on line 252
    
    Warning: fsockopen(): unable to connect to ***.***.***.***:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 Warning: fsockopen(): unable to connect to 10.10.5.1:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 no handleshow channels
    
    Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/v_status.php on line 270
    
    Warning: fsockopen(): unable to connect to ***.***.***.***:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 Warning: fsockopen(): unable to connect to 10.10.5.1:8021 in /usr/local/pkg/v_config.inc on line 222 Warning: socket_set_blocking(): supplied argument is not a valid stream resource in /usr/local/pkg/v_config.inc on line 223 no handleshow calls
    
    Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/www/packages/freeswitch/v_status.php on line 289
    
    Backup / Restore
    The 'backup' button will tar gzip /usr/local/freeswitch to /root/backup/freeswitch.bak.tgz it then presents a file to download. If the backup file does not exist in /root/backup/freeswitch.bak.tgz then the 'restore' button will be hidden. Use Diagnostics->Command->File to upload: to browse to the file and then click on upload it now ready to be restored.
    
    Call Detail Records
    /usr/local/freeswitch/log/cdr-csv/Master.csv
    
    Web Interface
    Use the following button to update the web interface.
    
    Logs
    /usr/local/freeswitch/log/cdr-csv/freeswitch.log
    
    tail -n 500 /usr/local/freeswitch/log/freeswitch.log
    
    


  • I was also trying to review the package and had some serious problems :

    pfSense 1.2.3

    Warning: fopen(/usr/local/freeswitch/conf/directory/default/default.xml): failed to open stream: No such file or directory in /usr/local/pkg/freeswitch.inc on line 399 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 411 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 413 Warning: fopen(/usr/local/freeswitch/conf/autoload_configs/event_socket.conf.xml): failed to open stream: No such file or directory in /usr/local/pkg/freeswitch.inc on line 415 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 424 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 426 Warning: fopen(/usr/local/freeswitch/conf/autoload_configs/xml_rpc.conf): failed to open stream: No such file or directory in /usr/local/pkg/freeswitch.inc on line 428 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 439 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 441 Warning: fopen(/usr/local/freeswitch/scripts/recordings.js): failed to open stream: No such file or directory in /usr/local/pkg/freeswitch.inc on line 296 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 381 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 383 Warning: fopen(/usr/local/freeswitch/conf/autoload_configs/shout.conf.xml): failed to open stream: No such file or directory in /usr/local/pkg/freeswitch.inc on line 446 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 455 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 457 Warning: fopen(/usr/local/freeswitch/scripts/config.js): failed to open stream: No such file or directory in /usr/local/pkg/freeswitch.inc on line 461 Warning: fwrite(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 464 Warning: fclose(): supplied argument is not a valid stream resource in /usr/local/pkg/freeswitch.inc on line 466 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pkg/freeswitch.inc:399) in /usr/local/www/pkg_edit.php on line 35

    Any idea ??



  • Ok,

    My fault, should have read better, answer is here :

    http://forum.pfsense.org/index.php/topic,28040.msg146075.html#msg146075


Log in to reply