RetryDial(announce,sleep,retries,dialargs)
Full arguments reference
announcerequired - Filename of sound that will be played when no channel can be reachedsleeprequired - Number of seconds to wait after a dial attempt failed before a new attempt is maderetriesrequired - Number of retriesdialargsrequired - Same format as arguments provided to the Dial application
This application will attempt to place a call using the normal Dial application. If no channelA single call leg passing through Asterisk. Channels represent connections to endpoints and are what dialplan applications act on. can be reached, the announce file will be played. Then, it will wait sleep number of seconds before retrying the call. After retries number of attempts, the calling channel will continue at the next priority in the dialplanThe core call-routing configuration of Asterisk, written mostly in extensions.conf as contexts, extensions, and priorities that decide how every call is handled. Full definition →. If the retries setting is set to 0, this application will retry endlessly. While waiting to retry a call, a 1 digit extension may be dialed. If that extension exists in either the contextA named section of the dialplan that groups extensions. Calls enter a specific context and can only reach extensions visible from it, making contexts the basic unit of call routing and security. defined in EXITCONTEXT or the current one, The call will jump to that extension immediately. The dialargs are specified in the same format that arguments are provided to the Dial application.
announcerequired - Filename of sound that will be played when no channel can be reachedsleeprequired - Number of seconds to wait after a dial attempt failed before a new attempt is maderetriesrequired - Number of retriesdialargsrequired - Same format as arguments provided to the Dial application
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.