title: Why 'Dial' application is not executed in this asterisk dial plans' context?
body: <p>I have this dial plan in the Asterisk config files:</p>
  
  <pre><code>[voicemenu-custom-1]
  exten = s,1,NoOp(VM_Main)
  exten = s,n,Answer()
  exten = s,n,Goto(ringgroup,s,1)
  exten = s,n,Dial(DAHDI/g1/009396464991)
  exten = s,n,Hangup()
  </code></pre>
  
  <p>It's a very simple context in a dial plan, which asks the Asterisk to <code>Answer</code>, then to execute another context named <code>ringgroup</code> (to ring all the phones at the same time), then try to ring an external number (<code>009396464991</code>) and then hangup.</p>
  
  <p>The code of the <code>ringgroup</code> context is:</p>
  
  <pre><code>[ringgroup]
  exten = s,1,NoOp(RG1)
  exten = s,n,Dial(SIP/1001&amp;SIP/1002&amp;SIP/1003&amp;SIP/1004,30,${DIALOPTIONS})
  exten = s,n,Hangup()
  </code></pre>
  
  <p>But what I get is that Asterisk answers the inbound call, then goes to the <code>ringgroup</code> context, but when it comes to the execution of the line <code>s,n,Dial(DAHDI/g1/009396464991)</code>, it encounters a dial error and won't execute <code>Dial</code> application. </p>
  
  <p>What is wrong here?</p>