old_contents: #!flask/bin/python
  from flask import request, render_template, Flask
  import  os, sys, json
  import requests
  import random
  app = Flask(__name__)
  
  from random import randint
  from telesign.messaging import MessagingClient
  from telesign.voice import VoiceClient
  from flask import request
  
  @app.route('/')
  def index():
      return  render_template('start.html')
  	
  @app.route('/send')
  def send():
      args = request.args
      customer_id = "2C1097F6-3917-4A53-9D38-C45A3C8ADD2B"
      api_key = "FTgHUVjcPWvgzCvtksi2v+tMLTAXbh5LLVEl1Wcl4NAtszxElZL4HS/ZwJqJufRkEmRpwUTwULxsZgL2c649vQ=="
      phone_number = "14083389124"
      message = args['msg']
      message_type = "ARN"
      messaging = MessagingClient(customer_id, api_key)
      response2 = messaging.message(phone_number, message, message_type)
      voice = VoiceClient(customer_id, api_key)
      response1 = voice.call(phone_number, message, message_type)
      return "success"
  
  
  @app.route('/forward')
  def forward():
      args = request.args
      customer_id = "2C1097F6-3917-4A53-9D38-C45A3C8ADD2B"
      api_key = "FTgHUVjcPWvgzCvtksi2v+tMLTAXbh5LLVEl1Wcl4NAtszxElZL4HS/ZwJqJufRkEmRpwUTwULxsZgL2c649vQ=="
      phone_number = "14084299128"
      messages2 = ["Hello, citibank is offering you an amazing discount on your favorite armani watch! ", "Invest in this abc policy today and after 3 months you can try your favorite sky diving!"]
      messages1 = ["Hello, citibank is offering you an amazing discount on your favorite armani watch!  Link : https://goo.gl/DYVALW", "Invest in this abc policy today and after 3 months you can try your favorite sky diving!"]
      message1 = random.choice(messages1)
      message2 = random.choice(messages2) 
      message_type = "ARN"
      messaging = MessagingClient(customer_id, api_key)
      response2 = messaging.message(phone_number, message1, message_type)
      voice = VoiceClient(customer_id, api_key)
      response1 = voice.call(phone_number, message2, message_type)
      return render_template('forward.html')
  
  
      
  if __name__ == '__main__':
  	app.secret_key = os.urandom(12)
  	#app.run(debug=True)
  
new_contents: #!flask/bin/python
  from flask import request, render_template, Flask
  import  os, sys, json
  import requests
  import random
  app = Flask(__name__)
  
  from random import randint
  from telesign.messaging import MessagingClient
  from telesign.voice import VoiceClient
  from flask import request
  
  @app.route('/')
  def index():
      return  render_template('start.html')
  	
  @app.route('/send')
  def send():
      args = request.args
      customer_id = "2C1097F6-3917-4A53-9D38-C45A3C8ADD2B"
      api_key = "FTgHUVjcPWvgzCvtksi2v+tMLTAXbh5LLVEl1Wcl4NAtszxElZL4HS/ZwJqJufRkEmRpwUTwULxsZgL2c649vQ=="
      phone_number = "16692628464"
      message = args['msg']
      message_type = "ARN"
      messaging = MessagingClient(customer_id, api_key)
      response2 = messaging.message(phone_number, message, message_type)
      voice = VoiceClient(customer_id, api_key)
      response1 = voice.call(phone_number, message, message_type)
      return "success"
  
  
  @app.route('/forward')
  def forward():
      args = request.args
      customer_id = "2C1097F6-3917-4A53-9D38-C45A3C8ADD2B"
      api_key = "FTgHUVjcPWvgzCvtksi2v+tMLTAXbh5LLVEl1Wcl4NAtszxElZL4HS/ZwJqJufRkEmRpwUTwULxsZgL2c649vQ=="
      phone_number = "14084299128"
      messages2 = ["Hello, citibank is offering you an amazing discount on your favorite armani watch! ", "Invest in this abc policy today and after 3 months you can try your favorite sky diving!"]
      messages1 = ["Hello, citibank is offering you an amazing discount on your favorite armani watch!  Link : https://goo.gl/DYVALW", "Invest in this abc policy today and after 3 months you can try your favorite sky diving!"]
      message1 = random.choice(messages1)
      message2 = random.choice(messages2) 
      message_type = "ARN"
      messaging = MessagingClient(customer_id, api_key)
      response2 = messaging.message(phone_number, message1, message_type)
      voice = VoiceClient(customer_id, api_key)
      response1 = voice.call(phone_number, message2, message_type)
      return render_template('forward.html')
  
  
      
  if __name__ == '__main__':
  	app.secret_key = os.urandom(12)
  	#app.run(debug=True)
  
subject: change num