Overview of ARI Extensions (/ext)
mainThe library includes several high-level extensions in the /ext directory to simplify complex telephony tasks:
- AudioURI: Utilities for constructing Asterisk audio playback URIs (handling digits and dates).
- Bridgemon: A cache and proxy for bridge data that allows you to
Watch()for state changes efficiently without redundant API calls. - Play: A tool for executing media playback sequences and waiting for DTMF responses (includes
play.Play()andplay.Prompt()). - Record: A session wrapper for managing recordings, including beep control, termination listening (hangup, DTMF, silence, timeout), and saving/reviewing recordings.