Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get this working on twilio flex #5

Open
mmirasol opened this issue Oct 14, 2020 · 7 comments
Open

Unable to get this working on twilio flex #5

mmirasol opened this issue Oct 14, 2020 · 7 comments

Comments

@mmirasol
Copy link

Hello. Thanks for creating this repo. I'm trying to deploy this to our flex project but I am unable to get it working and I'm unsure if I'm deploying the plugin correctly.

Things I've tried are:

  1. git clone the repo, go to the flex_plugin folder and run npm install and try to deploy using twilio flex:plugins:deploy
  • result: directory is not a flex plugin directory
  1. create a twilio plugin using twilio flex:plugins:create, copy the contents of src and depoy using twilio:flex:plugins:deploy
  • result: see changes on the flex agent desktop but im still unable to see incoming media and the outgoing media is not getting sent either. please see screenshot https://snipboard.io/cQxp2S.jpg
  1. same as Feature send media from flex #2 and I also tried to update package.json, and used the ones included in the repo,
  • result: webpack is not compatible with the other modules and the plugin did not get deployed.

The functions are in place and the proxy callback is also set to the mmshandler. Please advise what I could do to make it work? The README says to follow the guide to deploy and on flex docs the steps to create and deploy are just as follows:

twilio flex:plugins:create plugin-name
cd plugin-name
npm install
twilio flex:plugins:start
twilio flex:plugins:deploy

@mmirasol
Copy link
Author

Thanks in advance.

@bdm1981
Copy link
Collaborator

bdm1981 commented Oct 15, 2020

@mmirasol - There have been some enhancements to Twilio Functions and Flex Plugins since this repo was released. Make sure you created two Twilio Functions (legacy UI): mmsHandler.js & send-media-message.js. I will try and update the instructions later today to reflect the latest flex plugin deployment methods.

@mmirasol
Copy link
Author

mmirasol commented Oct 15, 2020 via email

@mmirasol
Copy link
Author

This fork receives incoming media well but does not send out media messages. There are no errors or even console logs showing that the send-media-message endpoint is being called. Please advise.

@Rentheria
Copy link

@mmirasol- I have had the same problem as you, the answer I have had about this is as follows:
"Since the plugins are developed by the community, I wont be able to escalate the issue to our engineering team.
You can log an issue on the github repository directly for further assistance from the developers."

@maxmito
Copy link

maxmito commented Feb 9, 2021

@mmirasol I converted from legacy and successfully installed https://github.com/LucasFrezarini/mms2FlexChat
it works, tested MMS part only, but Whatsapp should work too

@Amstrong
Copy link

Amstrong commented Mar 4, 2021

At the moment WhatsApp is not working for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants