Search results

  1. Adrian Fretwell

    Bad Request 400

    What do you see with an nft list ruleset
  2. Adrian Fretwell

    Bad Request 400

    This does look more like an ssl error, but it is worth checking the following: Check your /home/djangp-pbx/pbx/pbx/settings.py file. See what you have in the ALLOWED_HOSTS list. It should look have in there: '127.0.0.1', 'Your server IP', 'Your FQDN' at the very least. You can do a wildcard...
  3. Adrian Fretwell

    Move FreeSWITCH DB from SQLite into PostgreSql

    Currently only PostgreSQL is integrated into the core of FreeSWITCH - hence it is native. Other DBs can be used via ODBC but that would not be my choice.
  4. Adrian Fretwell

    Hello from the Bahamas

    You are very welcome.
  5. Adrian Fretwell

    Add PCMU codec

    There are no firewall rules that affect codecs. RTP traffic is accepted on ports 16384-32768.
  6. Adrian Fretwell

    DjangoPBX Beginners

    @simonjw Add the IP address(es) of your SIP provider in Admin->Switch->Access Controls. Set the type to "allow" Set the CIDR to <ip>/32 for a single address or you can specify a subnet 192.168.88.0/24 Leave domain blank Then in Utilities->Reload XML/ACL check the ACL box and click the...
  7. Adrian Fretwell

    DjangoPBX Beginners

    @simonjw You can download the royalty free mod_bcg729 form here: wget https://raw.githubusercontent.com/djangopbx/djangopbx-install.sh/master/binaries/mod_bcg729.so Copy this file to /lib/freeswitch/mods/ Go to Status->Switch Modules and stop the pass thorough G729 Then in Status->switch...
  8. Adrian Fretwell

    DjangoPBX Beginners

    Wise words. I do hope we will make it easy to get started with, sooner rather than later. But there are only a handful of us developing it right now. The last time I looked, I think FusionPBX had nearly 200 contributors! I would very much like this to become a community project with the...
  9. Adrian Fretwell

    DjangoPBX Beginners

    @simonjw Hi Simon, the problem is with the regex, I didn't notice it at first but the FreeSWITCH debug output gave me a clue: Dialplan: sofia/internal/201@voice.unlayer.network:5060 Action bridge(sofia/gateway/6a976d35-e442-4010-a541-a7bc0c6eb7fa/0) This told me that your capturing group $1...
  10. Adrian Fretwell

    DjangoPBX Beginners

    @NerdUno To be fair, I had designed the system for my own business needs, but decided to open source it so it can benefit others. The target audience I had in mind was ITSPs with a knowledge of FreeSWITCH. But I think you are absolutely right there does need to be a step by step guide, as you...
  11. Adrian Fretwell

    DjangoPBX Beginners

    OK, well your regex will certainly match a 10 digit number, so we may need to debug this a little further. At the command line will you type fs_cli This will get you into the FreeSWITCH CLI. (/quit) to get out. Once in CLI type fsctl loglevel debug Now make your call and you will see every...
  12. Adrian Fretwell

    DjangoPBX Beginners

    Your outbound route regex will match various combinations of: 000-000-0000-x0ext0 099-888-7777 0998887777 2799-888-7777 +2799-888-7777 With $1 containing the whole match (outside capturing group) Is that the pattern you are looking for?
  13. Adrian Fretwell

    DjangoPBX Beginners

    OK, your regex does not need that \ backslash. Other than that it's fine. Just looking at the outbound now...
  14. Adrian Fretwell

    DjangoPBX Beginners

    Yes, post your regex and I will have a look at it, or tell me what pattern you are trying to match and I'll have a go at writing it for you. Also you may find this site very useful for prototyping regex https://regex101.com/
  15. Adrian Fretwell

    DjangoPBX Beginners

    Documentation is an ongoing project in itself. It keeps getting moved forward as time allows. The documentation Repo is given below, if you wish to help contribute, pull requests are always welcome: https://github.com/djangopbx/djangopbx-docs
  16. Adrian Fretwell

    DjangoPBX Beginners

    Hi Simon, happy to help if I can. Yes, UFW does need to be removed. The Django-PBX installer does attempt to remove it if it exists. Django-PBX uses nftables for it's firewall and the is a point in the install script that prompts you to enter your IP address into a whitelist for service like...
  17. Adrian Fretwell

    DjangoPBX Beginners

    It wasn't really a bug fix. The user had deleted their selected domain and then tried to create a gateway - effectively with a non existent domain. The fix was just a test to stop someone deleting the domain they are currently working on. I'm sorry I know nothing about voipms.
  18. Adrian Fretwell

    DjangoPBX Beginners

    488 normally indicates "no codec intersection" i.e. the two endpoint could not agree on a codec. You will need to find out what codecs your softphone is offering and what codecs your SIP provider is willing to accept. You should not have anything in Hostname, unless you are running multiple...
  19. Adrian Fretwell

    DjangoPBX Beginners

    Just a note about the post above, whilst it is very helpful, I must state that changes to /usr/lib/systemd/system/nginx.service are NOT required on many Debian12 installations. If your NGINX works fine, leave it alone. I have seen the issue on some cloud and vps deployments. Building...
  20. Adrian Fretwell

    Call Broadcast scheduling not working

    In that case your issue may centre around the fact that in the call broad cast edit, the php function strtotime is used to convert the string presented in the web form to a unix timestamp. strtotime (https://www.php.net/manual/en/function.strtotime.php) knows nothing about time zones, so the...