Search results

  1. D

    email_recordings.lua not sending attachment

    We were testing a script that sends an email with the recording of the 911 call to administrators to notify first responders who made the call. The script works fine on a PI but on an fresh Ubuntu install it sends the email with correct caller & called but there is no file attachment. The...
  2. D

    Accessing database variables from inside Dialplan

    OK, exporting a domain-variable is visible in the script. And changes to the variable are immediately reflected in next call. Does this solve my problem of asking a user to edit a dialplan? Can I expose just this variable to them without having them gain access to all other variables?
  3. D

    Accessing database variables from inside Dialplan

    It is there but the script did not populate it. Ill try export.
  4. D

    Accessing database variables from inside Dialplan

    Great tip! I was not aware of that application. It did show my custom variable. Thanks
  5. D

    Accessing database variables from inside Dialplan

    Creating a new variable inside the dialplan "domain-variables" -> emergency_email_address=xxxx@xxx.com Then referencing that variable in the 911 dialplan -> email_recordings_to=${emergency_email_address} did not return a value. That does not help at all. Might as well hard code the address into...
  6. D

    Accessing database variables from inside Dialplan

    Thanks Mark, So what would be the best way to enable a site admin to manage the email destination used for 911 calls? I really do not wish to expose coding dialplans to anyone.
  7. D

    Accessing database variables from inside Dialplan

    I have a lua script that begins recording if 911 is called and after the call ends it emails the recorded call to some address. We wanted the destination to: address to be a database variable so a user would not have to code an actual dialplan. In building this we discovered the system caches...
  8. D

    Accessing database variables from inside Dialplan

    What is the syntax to populate a fusionpbx dialplan variable with a data field in the advanced/defaults or advanced/variables tables? Say we add a new variable to a domain - either in adv/def or adv/vars and want to use that in a dialplan. Thanks in advance. ddd
  9. D

    911 Outbound Route lua Email

    We have been wanting to include the recording of the call in the email but have not had success! The recording file is named correctly and in the right place but the email_recordings.lua fails with cannot open /tmp. What syntax is correct to include a wav file?