Search results

  1. Dast

    Soc 2 Type 2 certification

    lol no.
  2. Dast

    is it right to clear RAM cache daily?

    I would advise against this. Linux likes to keep caches full to minimise disk reads, this is a good thing for performance. It will automatically optimise what to keep in the cache. Unused RAM is wasted RAM. What is your reason for wanting to free up memory?
  3. Dast

    Conference rooms sessions

    Haha, this is a classic gotcha. Glad you got it sorted.
  4. Dast

    Conference rooms sessions

    From looking at this file, it appears an entry is added to the v_conference_sessions table after hangup when session_enabled = true. What version of PHP are you running? I know there are still some quirks with FusionPBX and PHP 8.1. What is the output of the FreeSwitch console when you end a...
  5. Dast

    Upload Recordings does nothing

    It could be a file system permission issue. This one-liner should fix ownership, incase that's the issue. chown $(stat -c "%u:%g" /proc/$(pgrep -f freeswitch)/) -R /var/lib/freeswitch/recordings/
  6. Dast

    Conference rooms sessions

    From looking at the master branch source, here, there are 4 different permissions that control which options appear in the Tools column; conference_interactive_view conference_active_view conference_cdr_view conference_session_view Ensure you have these permissions. You need to relogin for...
  7. Dast

    FusionPBX API SaaS Service

    Awesome. Thanks for opening up the docs. I'm looking forward to the proxy agent.
  8. Dast

    FusionPBX API SaaS Service

    I'm unable to access the docs, it requires approval. Would be great if it was just public. Looking at the setup script, it appears you're interacting with the database directly. How are you handling scenarios that require interacting with the FS event socket? Such as creating/deleting a gateway?
  9. Dast

    Scheduled Tabular Reporting?

    I just copied the existing CDR script and made some modifications, mainly where it now acts as a JSON API endpoint. It was somewhat a pain to initially convert to returning json instead of html, due to the way fusionpbx code is structured, but only really has to be done once. This allows me to...
  10. Dast

    SMS app adding new carrier

    I'm not sure that is the case, as you said it worked when manually running the curl command. At this stage I am unsure what the issue could be. What is the output of the following command? file $(which curl)
  11. Dast

    SMS app adding new carrier

    This would indicate the cmd is failing to execute. Have you tried running the "fs_cli" cli app, and seeing what it outputs when you send an sms?
  12. Dast

    Blf issue, green button even if extension is not registered

    According to the following pdf, the T42s only supports values 0 or 1 for features.blf_led_mode - https://www.yealink.com/upfiles/products/201809/1536808372413.pdf This variable controls how the BLF light works. What are you trying to accomplish, how do you want the BLF light to work?
  13. Dast

    SMS app adding new carrier

    afaik, the only log output for SMS stuff is by using fs_cli. Try the following revised lua, I added a few missing quotes, and also have the curl command append it's result into the /tmp/sms.send.log file. cmd = "curl '" .. api_url .. "' -H \"Content-Type: 'application/xml; charset=utf-8'\"...
  14. Dast

    Blf issue, green button even if extension is not registered

    Try changing the value to 1, and enable it. Then restart the phones and wait for them to provision.
  15. Dast

    Blf issue, green button even if extension is not registered

    What is the value of your "yealink_blf_led_mode" setting in Default Settings -> Provision ?
  16. Dast

    SMS app adding new carrier

    Yes, you can use the mod_curl module for freeswitch; https://freeswitch.org/confluence/pages/viewpage.action?pageId=3965033 iirc the mod_curl module is blocking, so the dialplan won't continue until the curl command completes.
  17. Dast

    SMS app adding new carrier

    Looks like you're missing a single quote in your lua curl command, however it is not missing in your cli curl command, as illustrated in following screenshot; Try adding a single quote before the "application/xml" part, as follows; cmd = " curl " .. api_url .. " -H \"Content-Type...
  18. Dast

    SMS app adding new carrier

    I am guessing the issue is likely related to escaping the string when used in the lua script. Because in the lua script the cmd is within double-quotes, example; cmd = "curl -u ....................... <response>0</response> </sms> "; This means if you need to use any double-quotes within your...
  19. Dast

    SMS app adding new carrier

    Hard to see what is going on from the screenshot, but the error suggests the receiving server is unable to parse your data as valid XML. Start by confirming your curl command is correct, and you have properly quoted/escaped everything. If you post your code from the...
  20. Dast

    SMS app adding new carrier

    To test the curl command manually, use something like this and replace the variables (signified by a $) with your test values. curl -u 'api_url' '<sms> <user> <username>$username</username><password>$secret_key</password></user><source>$outbound_caller_id_number</source> <destinations>...