Attempt call at a later time?

Can you put something in a context (in extensions.conf) that will attempt to call a user later if they didn’t press “2” to confirm they got the message?

exten => mycaller,1,Answer
exten => mycaller,2,Wait(1)
exten => mycaller,3,Playback(${PLAYFILE})
exten => mycaller,4,Playback(ack) ; if user presses 1, replay the outbound msg …
exten => mycaller,5,WaitExten(5)
exten => 1,1,Goto(mycaller,3)
exten => mycaller,n,Hangup

The above works. If I press 1, it will replay the message. I’m going to add something so that if the user presses 2 it will play a message that says “Thank you for acknowledging that you received the phone call”. However, if no input is received, I want to assume that the user didn’t actually hear the call, and I want the call to retry at specific time (e.g. 10 minutes later). The last thing I want to happen is for the call to be hungup and thrown away forever if there isn’t any user input.

Can this be accomplished?


if ‘2’ is not pressed, you could make a callfile with mtime set to 10 min after. then asterisk will call out according to your schedule.

below is for reference: … o-dial+out