What is the best practice for recording a username? Should we use the ‘record’ tag, and if so, what is the correct syntax? Basically, my call dialplan for the recording is as follows:
=> The caller is prompted to record their username after the beep. The maximum recording time is 14 seconds.
=> If the recording is less than 3 seconds => then an alert is played: ‘Your username is too short’
=> If the recording is OK => the following menu appears: to confirm your recording, press 3; to listen to it again, press 2; and to re-record it, press 1. Is it possible to do this in Python? I’ve heard of epoch…
This can be done entirely in the Asterisk dialplan using Record(), Background(), and WaitExten(). Python is only necessary if you need custom processing or external integration.
Is there a specific reason you’re considering Python for this?