Search results

  1. Adrian Fretwell

    Inbound Routes issue

    The easiest way to set up inbound routes is to use Dialplan->destinations. It is documented here: http://docs.fusionpbx.com/en/latest/dialplan/destinations.html I can't see what you have as your Context in the screenshot but inbound routes are normally in the public context, they have to be...
  2. Adrian Fretwell

    single domain migration from server A to B

    You are welcome to play with this .php code that I wrote some time ago. I hacked it together when we thought we had a need to move some customers from one Fusion instance to another but the need went away, so I never finished or testing it properly. Nor did I write the import counterpart. I...
  3. Adrian Fretwell

    500 Internal Server Error. from Yealink Phones on BLF Notify

    I looked at that this morning, using "Show all" I wondered if that may work. How many did you reboot at once?
  4. Adrian Fretwell

    500 Internal Server Error. from Yealink Phones on BLF Notify

    There is a helpful post here about rebooting phones: https://www.pbxforums.com/threads/reboot-phones-in-domain.144/
  5. Adrian Fretwell

    New Installation 4.5.11

    In the directory /var/log/nginx, have a look at access.log and error.log
  6. Adrian Fretwell

    New Installation 4.5.11

    Hi Robert, I see the 404 issue. What shows up in your nginx logs? I suggest you edit and remove your IP etc. from the post before people start playing too much.
  7. Adrian Fretwell

    500 Internal Server Error. from Yealink Phones on BLF Notify

    Hi @agree I have just done a packet trace, and yes I'm seeing the 500 internal error from many phones, mostly Yealinks but some Polycoms too. Looks like we need to do a mass phone reboot!
  8. Adrian Fretwell

    Disable logging for section of LUA script

    I may be wrong about this... I think you can override default logging levels within your dial plan to log more verbosely but you cannot override to log less information. For example: If, at the console (fs_cli) you execute fsctl loglevel err and in your dial plan you have <action...
  9. Adrian Fretwell

    SOLVED Action Based on Bridge Return Value - Possible?

    Hi James, I replicated what you are trying to do and get the same result. I think the reason is that all the conditions in a dial plan statement get evaluated before any actions are processed. So when ${sip_invite_failure_phrase} is evaluated, it has not yet been set by the result of the...
  10. Adrian Fretwell

    Failed Registration with status Operation has no matching challenge [904].

    We had something similar to this a few years ago with another UAS (Not FreeSwitch) It was a badly constructed www-Authenticate header in the 401 message. If you can get a packet capture of the registration message exchange it may shed a little more light on what is going on. I've never seen...
  11. Adrian Fretwell

    Disable logging for section of LUA script

    Do your DTMF entries still get logged if you change the logging level at the fscli? fsctl loglevel err I agree with not giving reasons to block an application, but remember, an application by itself cannot claim to be PCI complient. There are so many other factors that contribute to PCI...
  12. Adrian Fretwell

    Disable logging for section of LUA script

    You can control logging level within a session with the "session_loglevel" application: <action application="session_loglevel" data="debug"/> So you could try: session:execute('session_loglevel', 'err') to reduce the logging. Also, don't get too hung up with the PCI (Payment Card Industry)...
  13. Adrian Fretwell

    CURL authentication

    I'm sure there are lots of ways of doing this in LUA, using the socket libraries, socket.http, for example, but I have no experience of using any of them. There are curl bindings for LUA, there is a Debian package: https://packages.debian.org/buster/lua-curl again, I have no experience...
  14. Adrian Fretwell

    CURL authentication

    I don't think there is any logging with curl other than the exit codes and whatever is written to stderr. For specifying the password in a file, you have two options: -n/--netrc for .netrc or -K/--config <config file> to specify a config file, the default config file is .curlrc I believe that...
  15. Adrian Fretwell

    CURL authentication

    Just a wild guess, could the api:execute be having difficulty accessing your .netrc file (permisions or relative path)?
  16. Adrian Fretwell

    Follow Me not working For Queues, But works when calling direct extension.

    Dial strings are no longer used for Follow me. I believe that re-saving an existing follow me should remove the dial string. Some apps have been moved to their own repository for security reasons, have a look at FusionPBX on Github for more information.
  17. Adrian Fretwell

    New Installation 4.5.11

    @robert I'm sorry, I tried but could not replicate your fault. Could you have an SSL certificate issue? As for provision passwords, I normally make a copy of the provision default http_auth_password in each domain so I can set them on a per domain basis.
  18. Adrian Fretwell

    Fusionbpx Web GUI not displaying entire pages

    What user is Nginx running as, on a default Debian install is is www-data, if this is the case, it would not have permissions to access the file/directory owned by user freeswitch, as the error suggests. What are your software version numbers, OS, Fusion, FreeSwitch etc.? How did you do the...
  19. Adrian Fretwell

    fusionpbx load balancing

    This may be of some interest to you: https://freeswitch.org/confluence/display/FREESWITCH/Enterprise+deployment+OpenSIPS We use Opensips a great deal for providing SIP trunks, and it is extremely flexible and stable. I personally have never used it with FreeSwitch/Fusion. They key things with...
  20. Adrian Fretwell

    Flush Cache button permissions

    To have the buttons display you need the permission "system_status_sofia_status". BUT clicking the flush cache button calls: /var/www/fusionpbx/app/sip_status/cmd.php This script will only execute if you are superadmin: //check permissions if (if_group("superadmin")) { //access...