@tiledesk/tiledesk-voice-twilio-connector 0.1.15 → 0.1.16-rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -183,7 +183,7 @@ router.post('/webhook/:id_project', async (req, res) => {
183
183
  project_id: project_id,
184
184
  user: user,
185
185
  conversation_id: conversation_id,
186
- integrations: settings.integrations
186
+ integrations: integrations
187
187
  }
188
188
  if (!redis_client) {
189
189
  return res.status(500).send({ message: "Redis not ready. Check redis connection..." })
@@ -252,6 +252,9 @@ router.post('/nextblock/:callSid/', async(req, res) => {
252
252
  let from, to;
253
253
 
254
254
  let redis_data = await redis_client.get('tiledesk:vxml:'+callSid+':session');
255
+ console.log('redissssss', redis_client)
256
+ console.log('redissssss 2', 'tiledesk:vxml:'+callSid+':session')
257
+ console.log('redissssss 3', redis_data)
255
258
  //let redis_data = await redis_client.hGetAll('tiledesk:vxml:'+callId);
256
259
  if (!redis_data) {
257
260
  return res.status(500).send({ success: "false", message: "Can't retrive data for callSid ->" + callSid });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-voice-twilio-connector",
3
- "version": "0.1.15",
3
+ "version": "0.1.16-rc2",
4
4
  "description": "Tiledesk VOICE Twilio connector",
5
5
  "license": "MIT",
6
6
  "author": "Gabriele Panico",