Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Asterisk redial until connect extension
include => to-destination_name
exten => 3627,1(dialing),Dial(SIP/**phone_number**@**trunk_name)
exten => 3627,n,GotoIf($["${DIALSTATUS}" = "BUSY"]?busy:completed)
exten => 3627,n(busy),Playback(beep)
exten => 3627,n,Goto(dialing)
exten => 3627,n(completed),Hangup()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment