Search results

  1. S

    Dialplan Inline Lua Code (not invocation of a .lua file)

    In my diaplan instead of invoking a lua file like this: action set result=${lua file.lua 'arg1' 'arg2'} Can I write the lua code inline something like: action set result=${lua <lua-code-here>}
  2. S

    Parse JSON response in curl_response_data

    Beginner's question: In my dial plan I use curl to call an API. Now as I understand if the response (i.e. {curl_response_data}) is a string I can simply set <variable>=${curl_response_data}. However the response from the API is a JSON {"key1:"val1", "key2":"val2"}. How can I parse/obtain the...
  3. S

    SOLVED Best Practice to Extract CDR Report for a Tenant in Multi-Tenant Setup

    Closing the issue as there is a wealth of information is available under json.variables that can be used to query CDR
  4. S

    SOLVED Best Practice to Extract CDR Report for a Tenant in Multi-Tenant Setup

    SYSTEM VERSION:V4.4.3 Debian 9.9 Our Multi Tenant Setup is as follows: --Dial Plans at the "Global" level. --Extensions - At the "Tenant" Level We can query CDR across all Tenant. But if we want to query CDR for calls/traffic at the Tenant Level. One way I can think is to filter traffic by...
  5. S

    SOLVED Voicemail Download Link

    There is a probable bug (or maybe its my misunderstanding or misconfiguration on our end) in version 4.4.3 that in a multi-tenant (multi-domain) environment the link that is generated for the domain is incorrect because it starts with the domain name which the DNS cannot resolve. e.g. if...
  6. S

    SOLVED Voicemail Download Link

    @ad5ou: Thanks, I'll give it a shot. @TC Dan: 'Public' as in accessible by the user (extension) for whom the voicemail is intended without the user having to explicitly loginto FusionPBX (I guess that is the quandary). The use case is for the CRM agents (the user with the extension) that...
  7. S

    SOLVED Voicemail Download Link

    SYSTEM VERSION:V4.4.3 Debian 9.9 This is a beginner's question. We have currently configured Voicemail and are receiving the voicemails as an email attachment. Is there a way to also publicly access the voicemail audio files ? i.e. would we need to reconfigure nginx to publicly...
  8. S

    SOLVED Use PostgreSQL In Dialplan

    Closing the Issue as I've decided to use the lua script to connect with the db per this thread https://www.pbxforums.com/threads/caller-id-lookup-cidlookup-from-contacts.20/#post-13734
  9. S

    SOLVED Use PostgreSQL In Dialplan

    Hi I am pretty new to FusionPBX. I'd like my Diaplan to query the fusionpbx PG db to check a condition/set a variable in the dial-plan. I'm in early stages and I followed the steps: on my Debian 9.9 FusionPBX v 4.4.11 1. Create the database dsn Advance-->Databases | Save 2. I then go to the...
  10. S

    SOLVED Updating Advance Settings via GUI breaks its ability to Connect with the Event Socket

    @Adrian Fretwell Thank you for the tip. I got it working by : 1. creating an ACL record 2. In Advanced-->settings change the Event Socket IP address to 0.0.0.0 3. modifying the XML file (shown below) to incorporate the ACL created in step#1 4. Restart freeswitch: sudo systemctl restart...
  11. S

    SOLVED Updating Advance Settings via GUI breaks its ability to Connect with the Event Socket

    SYSTEM VERSION:V4.4.3 Debian 9.9 BUG DESCRIPTION: If I edit the settings (Changed Listen Address to :: or for that matter any field update using the GUI) then the GUI is unable to connect to event_socket. Though fs_cli and all other no GUI functions (like call routing) work fine. I am even...