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)
 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)
def CallDemo(handler, tropo):
    tropo.call(THEIR_PHONE)
    json = tropo.RenderJson()
    logging.info ("CallDemo json: %s " % json)
    handler.response.out.write(json)
def CallDemo(handler, tropo):
    tropo.call(THEIR_PHONE)
    json = tropo.RenderJson()
    logging.info("CallDemo json: %s " % json)
    handler.response.out.write(json)