Esempio n. 1
0
 def post(self):
     tropo = tropo.Tropo()
     tropo.call(MY_PHONE, channel='TEXT', network='SMS', answerOnMedia='True')
     tropo.say ("Wish you were here")
     json = tropo.RenderJson()
     logging.info ("Json result: %s " % json)
     self.response.out.write(json)
Esempio n. 2
0
 def post(self):
     tropo = tropo.Tropo()
     tropo.call(MY_PHONE,
                channel='TEXT',
                network='SMS',
                answerOnMedia='True')
     tropo.say("Wish you were here")
     json = tropo.RenderJson()
     logging.info("Json result: %s " % json)
     self.response.out.write(json)
Esempio n. 3
0
def CallDemo(handler, tropo):
    tropo.call(THEIR_PHONE)
    json = tropo.RenderJson()
    logging.info ("CallDemo json: %s " % json)
    handler.response.out.write(json)
Esempio n. 4
0
def CallDemo(handler, tropo):
    tropo.call(THEIR_PHONE)
    json = tropo.RenderJson()
    logging.info("CallDemo json: %s " % json)
    handler.response.out.write(json)