2 step dialing

Home » Asterisk Users » 2 step dialing
Asterisk Users No Comments

Hello all,

We’re trying to build a small IVR application to allow callers to use the
Asterisk for outgoing calls in a 2 steps dialing mode.

The context for outgoing calls is called “outgoing” (we have there an LCR
and routing mechanism we want to use, depending on the destination).

This is what we did, but it doesn’t work:
exten => _X., 13, Read(ccdest,vm-enter-num-to-call,,,2)
exten => _X., 14, NoOp($ccdest)
exten => _X., 15, Dial(Local/$ccdest@outgoing,50)

The error we get is:
chan_local.c:538 local_call: No such extension/context
$ccdest@outgoingwhile calling Local channel