Search results

  1. 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/
  2. 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...
  3. Dast

    FusionPBX API SaaS Service

    Awesome. Thanks for opening up the docs. I'm looking forward to the proxy agent.
  4. 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?
  5. 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...
  6. 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)
  7. 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?
  8. 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?
  9. 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'\"...
  10. 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.
  11. 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 ?
  12. 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.
  13. 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...
  14. 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...
  15. 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...
  16. 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>...
  17. Dast

    SMS app adding new carrier

    As far as i know, there's no real sms log other than which is shown in fs_cli. I would start out by confirming your curl command works successfully, does it work if you manually run that curl message from cli? My guess would be your strings are not escaped/quoted properly. Try something like...
  18. Dast

    SMS app adding new carrier

    To add a new carrier you need to add support for sending and receiving via that carrier. Sending via new carrier: You can edit `/usr/share/freeswitch/scripts/app/sms/index.lua` to add a new carrier, around line 400~ you will find a bunch of if-else statements. Add a new if-else for your new...
  19. Dast

    Outbound SMS

    The instructions at https://github.com/fusionpbx/fusionpbx-apps/tree/master/sms are still relevant and worked fine for me recently. Where are you getting stuck?
  20. Dast

    School Bells

    Adrian is correct, you can't multicast over the internet. You could however tunnel multicast over the internet via a vpn, or as Adrian suggested use some kind of relay to forward/replicate the packets.