Asterisk IVR Timeout Scripts
Budget: $30 – $250 USD
I am running FreePBX and need two concise dial-plan add-ons (Bash, Lua or AGI—whatever you’re most comfortable with) that slot straight into extensions_custom.conf.
• First script
In a series of IVRs, the caller can hit “*”. When that happens the system should announce the remaining time in minutes and seconds ("You have 3 minutes and 46 seconds left" three minutes left”) The time is calculated as 10 minutes - the time already in the call.
• Second script
If the call is still up once the 10-minute limit is reached, the IVR flow should be interrupted, the message “Thank you for calling, goodbye.” played, and the line cleanly hung up.
Acceptance check
1. Drop-in code with clear context lines showing where to paste/include.
2. Works on Asterisk 22.4.1 running under FreePBX 17 without breaking reloads. Code should be reasonably version independant.
3. Uses built-in sound prompts where possible; any new prompts must be noted so I can record them.
Please let me know which language you’ll use and how soon I can test the snippets.
• First script
In a series of IVRs, the caller can hit “*”. When that happens the system should announce the remaining time in minutes and seconds ("You have 3 minutes and 46 seconds left" three minutes left”) The time is calculated as 10 minutes - the time already in the call.
• Second script
If the call is still up once the 10-minute limit is reached, the IVR flow should be interrupted, the message “Thank you for calling, goodbye.” played, and the line cleanly hung up.
Acceptance check
1. Drop-in code with clear context lines showing where to paste/include.
2. Works on Asterisk 22.4.1 running under FreePBX 17 without breaking reloads. Code should be reasonably version independant.
3. Uses built-in sound prompts where possible; any new prompts must be noted so I can record them.
Please let me know which language you’ll use and how soon I can test the snippets.