Search results

  1. Adrian Fretwell

    Syntax to test for a number of caller ID's

    They generally live in /usr/share/freeswitch/scripts, You write them in any text editor and put them in this directory. Make sure the are owned by www-data, the user that FreeSwitch runs as (chown www-data:www-data myscript.lua). There are lots of resources on the internet about the LUA...
  2. Adrian Fretwell

    Syntax to test for a number of caller ID's

    If you update the table it will have no effect unless you instruct FreeSwitch to re-read the dialplan, this is normally done behind the scenes for you when you change dialplan detail in the GUI. It is achieved by a call to the Freeswitch event socket. There is a Fusion API that may be able to...
  3. Adrian Fretwell

    4.5.13 Dashboard missing items e.g. Switch version

    Forgive me if this has been covered in the latest continuing education, I have not had chance to go through it yet. I have just installed a clean FusionPBX 4.5.13 on Debian 10.2 and noticed that when logged in a superadmin a lot of information has disappeared from the system status box on the...
  4. Adrian Fretwell

    OpenSIPS to allow FTP traffic to external clients

    OpenSIPS deals with the SIP protocol not FTP. FTP is an insecure protocol, consider using SFTP. You can set up iptables rules to forward ports to another machine, you can even write an OpenSIPS script that will add the iptables rules based on some SIP message interaction if required.
  5. Adrian Fretwell

    Waiting for socket

    You may be running out of fpm worker processes. You may get more information from looking at your /var/log/php7.3-fpm.log (please substitute your php version). More information about php-fpm can be found below: https://geekflare.com/php-fpm-optimization/...
  6. Adrian Fretwell

    Connection to event socket failed.

    I'm not sure what is going on, we know @toolfolks did a clean install of Debian and FusionPBX and has the "Connection to event socket" error. A netstat -anlp | grep :8021 shows that the socket is not available and fs_cli does not connect, but FreeSwitch is running and shows a clean start up...
  7. Adrian Fretwell

    CDR software

    I have never found an inexpensive off the shelf solution to this. You may find the simplest thing is to write a CLI script, or three separate scripts, in php, perl, python etc. that takes each suppliers file and converts it into a standard format of your choice, that you can then import into...
  8. Adrian Fretwell

    Remote extension behind NAT question

    If you provision the phones from your Fusion server, an depending on the phone make/model, you should be able to set it in the provision template. For example in default settings yealink_rport can be enabled. ######################################################################### ##...
  9. Adrian Fretwell

    Sip Trunk connections problem.

    More than likely. On GSWave in settings -> Account, under Netwrok Settings make sure that the Outbound Proxy has your SIP port correctly set. E.g. test.me.co.uk:5060. Also remember that if your SIP server name resolves to your external public IP address then it will not work if you are trying...
  10. Adrian Fretwell

    Sip Trunk connections problem.

    If your gateway connects by registration, then no. Otherwise the provider will need to know what port to send to. In the case of the default SIP external profile it is port 5080. (5060 for the Internal profile).
  11. Adrian Fretwell

    Sip Trunk connections problem.

    Your router is not helping you. Many of the cheap provider supplied routers have limitations. There are a number of options open to you: 1. Configure FusionPBX so it does not use ports that your router does not allow. 2. Get a different router (If yours can be configured into modem mode...
  12. Adrian Fretwell

    Sip Trunk connections problem.

    Not a router I am familiar with. Disble all the ALGs and then see if it will let you open the ports.
  13. Adrian Fretwell

    Sip Trunk connections problem.

    I always advise people to disable SIP ALG. What make of router do you have?
  14. Adrian Fretwell

    Sip Trunk connections problem.

    I have assertained that the box is on a private LAN, I don't yet know if it is even talking to the outside world - one step at a time...
  15. Adrian Fretwell

    Adding Domains and connecting

    First, make sure that test.toolfolks.com resolves to the IP address of your FusionPBX box. It currently does not resolve at all. adrian@a2es-firework:~$ nslookup test.toolfolks.com Server: 192.168.6.1 Address: 192.168.6.1#53 ** server can't find test.toolfolks.com: NXDOMAIN If...
  16. Adrian Fretwell

    Adding Domains and connecting

    If you make a backup of your database just after a fresh install, then restoring the DB will pretty much give you a 'reset to default'. Its a good idea to make backups regularly because then you can always restore to a given point in time, helpful when you are 'playing'. If you are running in...
  17. Adrian Fretwell

    Sip Trunk connections problem.

    Hi, FreeSwitch logs are in /var/log/freeswitch. You can watch the log live with the tail command and the -f switch (CTRL-C to end). tail -f /var/log/freeswitch/freeswitch.log I mention how I do packet captures in this thread: https://www.pbxforums.com/threads/inbound-call-dropping.4038/#post-14765
  18. Adrian Fretwell

    Sip Trunk connections problem.

    You will need to get some more diagnostic information. What do the FreeSwitch logs say? Have you tried getting a packet capture to see what messages are being exchanged between your box and your provider?
  19. Adrian Fretwell

    SOLVED Audio format efficiency

    The simple answer, without discussing native formats, codecs and codec bit rates, is WAV mono sampled at 8000Hz.
  20. Adrian Fretwell

    Querying call data

    I'm sorry, I don't really understand what you are asking. Most installs of FusionPBX store data about completed calls in a Postgresql table called v_xml_cdr. If you want to get information about calls that are in progress, you can query the Freeswitch event socket or watch debug information in...