title: Retrunning data from VXML to Asterisk dialplan
body: <p><em>How to return the DTMF input during voice file playback.
      I am executing AGI from Asterisk dial plan and from the vxml file I want to return the collected DTMF.
      <strong>Here is my vxml</em></strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;vxml version="2.0" xmlns="http://www.w3.org/2001/vxml"&gt;
  &lt;form id="top"&gt;
    &lt;property name="inputmodes" value="dtmf"/&gt;
    &lt;field name="mydigits" type="digits?maxlength=1"&gt;
      &lt;prompt&gt;
        &lt;audio type="audio/basic" src="http://127.0.0.1/soundfiles/mysound.wav"/&gt;     
      &lt;/prompt&gt;
      &lt;grammar mode="dtmf" version="1.0"&gt;
      &lt;rule id="digit" scope="public"&gt;
       &lt;one-of&gt;      
         &lt;item&gt; 1 &lt;/item&gt;
         &lt;item&gt; 2 &lt;/item&gt;
         &lt;item&gt; 3 &lt;/item&gt;      
       &lt;/one-of&gt;
      &lt;/rule&gt;
      &lt;/grammar&gt;    
    &lt;/field&gt;
    &lt;filled mode="any"&gt;    
      &lt;return namelist="mydigits"/&gt;
    &lt;/filled&gt;
  &lt;/form&gt;
  &lt;/vxml&gt;
  </code></pre>
  
  <p>I read that from my asterisk dial plan as:-</p>
  
  <pre><code>;;this will call the local hosted vxml file above     
      exten =&gt; 1,n,Agi(agi://127.0.0.1/url=${vxmlurl})
  
  
  ;;try to read the data set at vxml file.    
  exten =&gt; 1,n,Verbose(0, "got mydigits ${mydigits} !")
  </code></pre>
  
  <p><em>But it does not get anything other than empty to the Asterisk dial plan variable.</em><br>
  <strong>Any idea of what I miss there?</strong></p>