We are looking for an experienced Twilio developer to create a single Twilio Function (or a small, self-contained Twilio Service with one primary Function) to handle a specific inbound call routing scenario. The goal is to put the caller on hold with music, attempt to connect them to a primary number with a key press confirmation, and if that fails or is not answered, automatically transfer the call to a secondary backup number. Detailed Requirements: The Twilio Function should perform the following steps in order: 1. Place Caller on Hold with Music: o When the Twilio Function is invoked, the incoming caller should immediately be placed on hold and hear Music on Hold (MOH). o The URL for the MOH audio file (e.g., an MP3) should be easily configurable (e.g., via an environment variable or passed into the function). 2. Attempt Connection to Primary Number (with Key Press Confirmation): o While the original caller is on hold listening to music, the Function should initiate an outbound call to a pre-defined Primary Phone Number with a specific caller id of a different Twilio number from the same account. o If the Primary Number answers, the person who answered should hear a brief audio prompt (e.g., "You have an incoming call. Press any key to accept."). This prompt audio/text should be easily configurable. o If the person at the Primary Number presses any key within a specified timeout (e.g., 5-10 seconds, ideally configurable): --The original caller should be taken off hold. -- The original call and the call with the Primary Number should be connected (bridged). -- The process ends here for this call. o If the Primary Number does not answer (busy, no answer, failed call) OR if they answer but do not press a key within the timeout: --The attempt to connect to the Primary Number should be terminated. -- The original caller should remain on hold (or seamlessly continue hearing MOH if it was never interrupted). -- Proceed to Step 3. 3. Transfer to Secondary (Backup) Number: o If Step 2 was unsuccessful, the original caller (who is still on hold) should be immediately transferred to a pre-defined Secondary Phone Number. o This transfer should be direct, with no additional waiting, prompts, or key press verification required for the Secondary Number. Key Considerations & Configurability: • The Primary Phone Number, Secondary Phone Number, MOH audio URL, prompt for the Primary Number, and key press timeout should be easily configurable (e.g., through Twilio Function environment variables or passed as parameters). • The solution should be robust and handle common call statuses (answered, busy, no-answer, failed). • The code should be clean, well-commented, and follow Twilio best practices. Deliverables: 1. The complete Twilio Function code. 2. Clear instructions on how to deploy the Function to a Twilio Service and configure the necessary environment variables. 3. A brief explanation of the call flow logic implemented. We are looking for a quick turnaround on this small project. We are excited to see your proposals!
Keyword: Web Development
Price: $50.0
Here at Lifecycle Insights, we're launching a new subscription offering. We plan to leverage AI heavily as part of that offering. We're looking for novel suggestions on how AI can be applied to our offering. This project would be a short-term, brainstorming input. Once ...
View JobWe (Esile Marketing) are looking for an expert web developer or web team to partner with us to support our clients. We currently have 5-clients who require web support across a variety of CMS systems including Hubspot, WordPress, and others. We are looking for someone w...
View Job1. Customize the Shopify theme’s color scheme and fonts to match company branding 2, Design and congure the homepage using the analyzed theme structure 3. Open search for better search results, Sku search to load specific variant. 4. Custom Pages (3): Contact Us (with ...
View Job