_____  

From: [email protected]
[mailto:[email protected]] 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/$ccd...@outgoing,50)

The error we get is:
chan_local.c:538 local_call: No such extension/context $ccd...@outgoing
while calling Local channel
    -- Couldn't call $ccd...@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/${ccde...@outgoing,50)

Or 

_X.,15,Dial(Local/${ccde...@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

 

 

 

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to