[asterisk-users] 2 step dialing

VoIP Question voip.question at gmail.com
Wed Oct 20 11:04:22 CDT 2010


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 at outgoing,50)

The error we get is:
chan_local.c:538 local_call: No such extension/context
$ccdest at outgoingwhile calling Local channel
    -- Couldn't call $ccdest at outgoing

We know there's a syntax problem in line 15, but not sure how to fix it.

Thank you for your help.

Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101020/d27925b1/attachment.htm 


More information about the asterisk-users mailing list