2 Stage Dialing

I am running Asterisk 1.4 on a system and I would like to configure 2 stage dialing, but with a bit of a twist.

  1. When a call comes in I want the caller to hear a message like “please dial 11 to continue your call”.
  2. Once they hit 11 the call connects, and if they don’t the call will terminate/end.

The whole reason behind this is to stop robo calls from filling up our PBX and causing us issues with CDR’s.

Is there a way to do this?


same => n,GotoIf($["${answ}"= “11”]?human,s,1)

This example works on Asterisk current version of Asterisk , I’m not sure if work on Asterisk 1.4

It won’t because you have to use | instead of ,

So do I replace | with all the , ?

Also I am pretty sure “same” does not work with 1.4 I think you need exten, right?