_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of VoIP Question
Sent: Wednesday, October 20, 2010 11:04 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] 2 step dialing
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 outgoing
while 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
Should be (_X.,15,Dial(Local/1/${ccdest}@outgoing,50)
Or
_X.,15,Dial(Local/${ccdest}@outgoing,50)
${ccdest} returns value of ccdest to dialplan
Local/${ccdest} selects local channel ccdest
You might want local/1 with ccdest value.
Also you might want to look into the DISA command
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20101020/0471094c/attachment.htm