[asterisk-dev] pass enders to ast_app_getdata instead of static #
Wilmar Campos
wilmar.campos at gmail.com
Thu Jun 15 12:09:16 MST 2006
Hello,
I think is a good idea to be able to pass the enders to int ast_app_getdata
( struct ast_channel<http://www.asterisk.org/doxygen/structast__channel.html>*
*c*,
char * *prompt*,
char * *s*,
int *maxlen*,
int *timeout*
)
LIkte this the
00124 res = ast_readstring
<http://www.asterisk.org/doxygen/channel_8c.html#a106>(c, s
<http://www.asterisk.org/doxygen/aesopt_8h.html#a16>, maxlen, to, fto,
"#");
00125 return res;
is not an static #, but the value passed by parameters...
Thanks,
Wilmar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060615/36ffe0de/attachment.htm
More information about the asterisk-dev
mailing list