Giter VIP home page Giter VIP logo

node-red-contrib-wazo-platform's Introduction

node-red-contrib-wazo-platform

npm version

Provide a Node-RED connector for integrating with the Wazo Platform, enabling seamless communication and automation workflows.

Installation

cd ~/.node-red
npm install node-red-contrib-wazo-platform

Quick Start

This package provides nodes that connect to the WebSocket to receive events from the Wazo Platform, as well as nodes for interacting with various APIs in the application. These nodes will be categorized under the 'Wazo CP' and 'Wazo UC' groups in the palette.

  • 'Wazo CP' stands for Communication Programmable.
  • 'Wazo UC' stands for Unified Communication.

Examples

Answer and Hangup call after 5 seconds.

example1

Small IVR

example2

node-red-contrib-wazo-platform's People

Contributors

dependabot[bot] avatar fblackburn1 avatar palybok avatar sboily avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node-red-contrib-wazo-platform's Issues

Request node doesnt take body object.

Hello,

I am trying to get CDR with "request" node and it works until I add msg.payload.body object.

No outputs once msg.payload.body object is added.

Nodered V2.0.5
node-red-contrib-wazo-platform V1.0.27

Can't add node on a node-red fresh install

Hi,
when i try to add the node i get this message in the node-red palette :

    Error [ERR_REQUIRE_ESM]: require() of ES Module /data/node_modules/node-fetch/src/index.js from /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js not supported. Instead change the require of index.js in /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js to a dynamic import() which is available in all CommonJS modules. (line:4)
    ERR_REQUIRE_ESM
    Error [ERR_REQUIRE_ESM]: require() of ES Module /data/node_modules/node-fetch/src/index.js from /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js not supported. Instead change the require of index.js in /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js to a dynamic import() which is available in all CommonJS modules. (line:4)
    Error [ERR_REQUIRE_ESM]: require() of ES Module /data/node_modules/node-fetch/src/index.js from /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js not supported. Instead change the require of index.js in /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js to a dynamic import() which is available in all CommonJS modules. (line:2)
    ERR_REQUIRE_ESM
    Error [ERR_REQUIRE_ESM]: require() of ES Module /data/node_modules/node-fetch/src/index.js from /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js not supported. Instead change the require of index.js in /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js to a dynamic import() which is available in all CommonJS modules. (line:4)
    ERR_REQUIRE_ESM
    Error [ERR_REQUIRE_ESM]: require() of ES Module /data/node_modules/node-fetch/src/index.js from /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js not supported. Instead change the require of index.js in /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js to a dynamic import() which is available in all CommonJS modules. (line:4)
    Error [ERR_REQUIRE_ESM]: require() of ES Module /data/node_modules/node-fetch/src/index.js from /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js not supported. Instead change the require of index.js in /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js to a dynamic import() which is available in all CommonJS modules. (line:4)
    Error [ERR_REQUIRE_ESM]: require() of ES Module /data/node_modules/node-fetch/src/index.js from /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js not supported. Instead change the require of index.js in /data/node_modules/node-red-contrib-wazo-platform/nodes/lib/internal_api.js to a dynamic import() which is available in all CommonJS modules. (line:4)

node-red v3.0.2

thank you

Trunk does not connect

Bonjour Silvain,

first of all, thank you for this great repo, it is most useful and well usable.

I got everything to work according to your docs and video, and the websocket node outputs events fine.
I got one trunk configured and I can select it. I noticed, the trunk node does not have an input like in the video anymore. When I call in or out the trunk node wont output any messages and it does not show the "unregister - calls: X" batch like in the video. The debug node won't show anything for it and the gauge does not either (while at the same time the websocket will output just fine).

Am I doing something wrong or is it a bug?

Best regards,
Sven

Application ?

hello
I'm playing with node-red and wazo, the config is ok but when I try to associate say web-socket or event to server config it's crashing on node side :

Error
at Function.fromResponse (/.node-red/node_modules/@wazo/sdk/dist/wazo-sdk.js:1:5174)
at /
/.node-red/node_modules/@wazo/sdk/dist/wazo-sdk.js:3:5925
at processTicksAndRejections (node:internal/process/task_queues:94:5)
at async /***/.node-red/node_modules/node-red-contrib-wazo-platform/nodes/event.js:72:26

I can see "applications" is empty in the dialog panel in node-red. So I have created an app on wazo platform side but doesn't appear neither in choices nor by default.

Could you please let me know how to "see" my Node application inside "choose applications" or if something is wrong on my side please ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.