jambonz / node-red-contrib-jambonz Goto Github PK
View Code? Open in Web Editor NEWNode-RED nodes for jambonz
Node-RED nodes for jambonz
The auth node has default base URLS for jambonz.us and jambonz.xyz,
These have now been replaced by jambonz.cloud so the node needs updating
Bargein property of Gather which is listed in document on jambonz.org (https://www.jambonz.org/docs/webhooks/gather/) but it is not available in Node-Red contribution. How do I use "bargein" in this Node-Red contribution?
I'm not really sure this is an issue, but it would be useful if we could feed the Say node with msg.payload instead of static text only.
The current Say node only allows for a static content box which it will tts. But what if data data is now dynamic and retrieved from an outside source.
I see no way to feed that into the Say node.
There is small bug in the gather node under the prompt settings.
If the prompt settings are changed lets say google, dutch, wavenet-d) on next open it will keep the vendor (google) and language (dutch) choice but the voice always defaults to standard-a-female.
The Say node is unaffected.
I am currently running into the following scenario:
The flow defines some variables and eventually gets to a dial node
The dial node has an action hook and a confirm hook configured
These hooks require the variables defined by the previous step
We tag these variables right before the dial node
The confirm hook does not get the customerData provided on the msg.call object
The action hook does get the customerData provided on the msg.call object
Is there a way to access the tagged data in a confirm hook as well?
When we try to get applications from jambonz, it logs conn to console which throws an error - see below
RED.nodes.registerType('create-call',{
...
var populateApplications = function() {
...
console.log(`server id ${serverId} has conn ${JSON.stringify(conn)}`);
error:
VM408:1381 Uncaught TypeError: Converting circular structure to JSON
--> starting at object with constructor 'd'
| property '$bidiHandler' -> object with constructor 'o'
--- property 'session' closes the circle
at JSON.stringify (<anonymous>)
at HTMLSelectElement.populateApplications (<anonymous>:1381:62)
it should log only necessary information or not log at all.
According to the docs at https://www.jambonz.org/docs/webhooks/gather/ there are some options related to max time, inter digit time which are not available on the node red nodes.
missing:
min digits
interdigittimeout
minbargeinwordcount
partialresulthook
Getting a message in the Node-RED startup about deprecation of the AWS SDK
(node:24100) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
Creating this issue to remind me to look into updating the dependency
jambonz feature server is expecting
{"dial":{"target":[{"type":"teams","number":"{+E164}"}],"answerOnBridge":false,"callerId":"{+E164}"}}
nodered app is returning
{"dial":{"target":[{"type":"teams","user":"{+E164}"}],"answerOnBridge":false,"callerId":"{+E164}"}}
node-red-contrib-jambonz/src/nodes/jambonz.js
Line 545 in 4dc73bc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.