<br>Hello,<br>I think is a good idea to be able to pass the enders to <table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="md" nowrap="nowrap" valign="top">int ast_app_getdata           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap="nowrap" valign="top">struct <a class="el" href="http://www.asterisk.org/doxygen/structast__channel.html">ast_channel</a> *&nbsp;</td>
          <td class="mdname" nowrap="nowrap"> <em>c</em>, </td>
        </tr>
        <tr>
          <td class="md" align="right" nowrap="nowrap"><br></td>
          <td class="md"><br></td>
          <td class="md" nowrap="nowrap">char *&nbsp;</td>
          <td class="mdname" nowrap="nowrap"> <em>prompt</em>, </td>
        </tr>
        <tr>
          <td class="md" align="right" nowrap="nowrap"><br></td>
          <td class="md"><br></td>
          <td class="md" nowrap="nowrap">char *&nbsp;</td>
          <td class="mdname" nowrap="nowrap"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="md" align="right" nowrap="nowrap"><br></td>
          <td class="md"><br></td>
          <td class="md" nowrap="nowrap">int&nbsp;</td>
          <td class="mdname" nowrap="nowrap"> <em>maxlen</em>, </td>
        </tr>
        <tr>
          <td class="md" align="right" nowrap="nowrap"><br></td>
          <td class="md"><br></td>
          <td class="md" nowrap="nowrap">int&nbsp;</td>
          <td class="mdname" nowrap="nowrap"> <em>timeout</em></td>
        </tr>
        <tr>
          <td class="md"><br></td>
          <td class="md">)&nbsp;</td>
          </tr></tbody></table><br><br>LIkte this the <br><pre class="fragment">00124    res = <a class="code" href="http://www.asterisk.org/doxygen/channel_8c.html#a106">ast_readstring</a>(c, <a class="code" href="http://www.asterisk.org/doxygen/aesopt_8h.html#a16">
s</a>, maxlen, to, fto, <span class="stringliteral">&quot;#&quot;</span>);<br><a name="l00125"></a>00125    <span class="keywordflow">return</span> res;<br><br>is not an static #, but the value passed by parameters...<br>
<br><br></pre>Thanks,<br><br>Wilmar<br><br>