How to create call from twilio helper liabrary in google app engine

后端 未结 1 1752
旧时难觅i
旧时难觅i 2021-01-23 22:22

I am trying to create an Outbound call from google app engine using the Twilio Java helper library

Example:

private void createcall(HttpServletRequest r         


        
相关标签:
1条回答
  • 2021-01-23 23:01

    Apparently twilio lib internally uses Apache HttpClient which need to be tweaked to be used on GAE: https://code.google.com/p/googleappengine/wiki/WillItPlayInJava#Apache

    Not sure if you will be able to inject your own ClientConnectionManager into Twillio lib though.

    Update:

    You can instantiate your own HttpClinet with tweaks to make it work on GAE and then inject it into twilio lib:

    twilioRestClient.setHttpclient(gaeHttpClient);
    
    0 讨论(0)
提交回复
热议问题