<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">( </td>
<td class="md" nowrap="nowrap" valign="top">struct <a class="el" href="http://www.asterisk.org/doxygen/structast__channel.html">ast_channel</a> * </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 * </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 * </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 </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 </td>
<td class="mdname" nowrap="nowrap"> <em>timeout</em></td>
</tr>
<tr>
<td class="md"><br></td>
<td class="md">) </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">"#"</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>