<div dir="ltr">Hello all,<br><br>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.<br><br>The context for outgoing calls is called "outgoing" (we have there an LCR and routing mechanism we want to use, depending on the destination).<br>
<br>This is what we did, but it doesn't work:<br><span class="gI">exten => _X., 13, Read(ccdest,vm-enter-num-to-call,,,2)<br>exten => _X., 14, NoOp($ccdest)<br>exten => _X., 15, Dial(Local/$ccdest@outgoing,50)<br>
<br>The error we get is:<br>chan_local.c:538 local_call: No such extension/context $ccdest@outgoing while calling Local channel<br> -- Couldn't call $ccdest@outgoing<br><br>We know there's a syntax problem in line 15, but not sure how to fix it.<br>
<br>Thank you for your help.<br><br>Michael<br></span></div>