Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 443 Bytes
#!/usr/bin/env python3
from flask import Flask, request, jsonify
app = Flask(__name__)
@app.route("/webhooks/answer")
def answer_call():
ncco = [
{
"action": "talk",
"text": "Please wait while we connect you to the conference"
},
{
"action": "conversation",
"name": CONF_NAME
}]
return jsonify(ncco)
if __name__ == '__main__':
app.run(port=3000)
You can’t perform that action at this time.