Python script to download Twilio voicemails
Budget: $10 – $30 USD
Create Python script that . . .
SETUP:
Retrieves Twilio credentials from local external file (just for one phone number)
USER PROMPTS:
Prompts user with GUI dialog box to pick Start date & time and End date & time (default to Now – 24 hours for Start and Now – 18 hours for end) of voicemails to be retrieved. [I’d be OK with not using a GUI if the same defaults can be provided in text and the user can change easily.]
VOICEMAIL RETRIEVAL:
Creates folder on local PC and gives it the name of the 10 digit Twilio phone number (i.e. 555-123-1234).
Copies each voicemail (MP3) that meet the time/date filter from the User Prompt section, into the newly created folder, and names each file with the Twilio phone number, date and time the voicemail was created (i.e. 555-123-1234_2022-10-22_21:02:10.mp3).
LOCAL FILE MANIPULATION:
Combine all of the voicemail (MP3) files into a single MP3 file with a welcome sound, separation sound for each voicemail and ending sound like this example:
Welcome.mp3 + voicemail number 1, + beep.mp3 + voicemail number 2, + beep.mp3 + voicemail number X (for all voicemails) + Ending.mp3. The resulting file should be named Twilio phone number and then “combo” (i.e. 555-123-1234_combo.mp3).
NOTES:
-Freelancer will test on their own Twilio account and create their own Welcome.mp3 and Ending.mp3 dummy files.
-Voicemails should remain on Twilio after script has been run.
-If there are no voicemails present at Twilio, the script should handle that and exit nicely.
-If the script has already been run already, the script should handle that local directory is already created and/or that some/all voicemail files are already present.
-Script should be reasonably documented for any lines who's function is not obvious.
-Any extra libraries (i.e. MP3) required should be documented, with instructions for loading.
-Script should run at a Windows command prompt with Python 3.9 or later.
END.
SETUP:
Retrieves Twilio credentials from local external file (just for one phone number)
USER PROMPTS:
Prompts user with GUI dialog box to pick Start date & time and End date & time (default to Now – 24 hours for Start and Now – 18 hours for end) of voicemails to be retrieved. [I’d be OK with not using a GUI if the same defaults can be provided in text and the user can change easily.]
VOICEMAIL RETRIEVAL:
Creates folder on local PC and gives it the name of the 10 digit Twilio phone number (i.e. 555-123-1234).
Copies each voicemail (MP3) that meet the time/date filter from the User Prompt section, into the newly created folder, and names each file with the Twilio phone number, date and time the voicemail was created (i.e. 555-123-1234_2022-10-22_21:02:10.mp3).
LOCAL FILE MANIPULATION:
Combine all of the voicemail (MP3) files into a single MP3 file with a welcome sound, separation sound for each voicemail and ending sound like this example:
Welcome.mp3 + voicemail number 1, + beep.mp3 + voicemail number 2, + beep.mp3 + voicemail number X (for all voicemails) + Ending.mp3. The resulting file should be named Twilio phone number and then “combo” (i.e. 555-123-1234_combo.mp3).
NOTES:
-Freelancer will test on their own Twilio account and create their own Welcome.mp3 and Ending.mp3 dummy files.
-Voicemails should remain on Twilio after script has been run.
-If there are no voicemails present at Twilio, the script should handle that and exit nicely.
-If the script has already been run already, the script should handle that local directory is already created and/or that some/all voicemail files are already present.
-Script should be reasonably documented for any lines who's function is not obvious.
-Any extra libraries (i.e. MP3) required should be documented, with instructions for loading.
-Script should run at a Windows command prompt with Python 3.9 or later.
END.