This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| AUTH_ID="Replace with your auth_id" | |
| AUTH_TOKEN="Replace with your auth_token" | |
| SOUND_URL="Enter your sound file URL here" | |
| curl -XPOST \ | |
| -u ${AUTH_ID}:${AUTH_TOKEN} \ | |
| -H "Content-Type: application/json" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| AUTH_ID="Replace with your auth_id" | |
| AUTH_TOKEN="Replace with your auth_token" | |
| # Use a phone number in E164 format | |
| SPOOF_CALLER_ID="Set a CLID here" | |
| YOUR_PHONE_NUMBER="Set your phone number" | |
| NUMBER_TO_CALL="Set the phone number to call" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| AUTH_ID="Replace with your auth_id" | |
| AUTH_TOKEN="Replace with your auth_token" | |
| SPOOF_CALLER_ID1="Replace with your caller_id" | |
| FIRST_PHONE_NUMBER="Replace with a phone number" | |
| SPOOF_CALLER_ID2="Replace with your caller_id" | |
| SECOND_PHONE_NUMBER="Replace with a phone number" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import os.path | |
| from flask import Flask, request, make_response | |
| import plivo | |
| from plivo import XML | |
| app = Flask(__name__) | |
| def get_request_params(param): |