lua

  1. D

    Freeswitch Event Consumer

    Dear All, Please I need assistance on how to access and manipulate information from the code. The example is available in from Freeswitch lua API page but i can figure how to make it work...
  2. S

    Sending message from FusionPBX to sip agent

    I am using FusionPBX as SIP server(registar). FusionPBX works fine for call and SIMPLE message routing, but I need to modify it so that I can send SIP/SIMPLE messages to registered users from FusionPBX. I found on freeswitch docs site that it can be achieved from lua scripts or xml files. Here...
  3. A

    FusionPBX to GPT4

    Connect Fusionbpx to Chat GPT4 Prerequisites https://platform.openai.com/account Signup for an account and assign it to the api_key variable https://azure.microsoft.com/en-us/free/cognitive-services and assign it to the SPEECH_KEY variable The following lua packages installed using lua-rocks...
  4. J

    Install socket.http lua module

    I am trying to setup a IVR in lua that interacts with an HTTP API. I am trying to use socket.http to make the HTTP request. When I run the script from FreeSWITCH console, I am getting the error module 'socket.http' not found I am running FusionPBX on a Debian 11 VM, following the FusionPBX...
  5. ewdpb

    play_and_detect_speech: speech or DTMF

    Hi all, I am trying to use play_and_detect_speech so the caller can either say their choice or press a key. It works fine for speech but I have not been able to make it work for tone detection. This is what I am sending (with LUA)...