diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-31 10:56:20 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-31 10:56:20 +0000 |
commit | 9d10da3a963359c7e34c565ed0d9901ef619fb3e (patch) | |
tree | 02a3efdbb322db18e9fe090b7b3c52c8c95d054e /include/asterisk | |
parent | 972f6f432d58ccc2b01686c53f807cd156254a3f (diff) |
Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46631 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/enum.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asterisk/enum.h b/include/asterisk/enum.h index b5b88479a..c2fe3b592 100644 --- a/include/asterisk/enum.h +++ b/include/asterisk/enum.h @@ -35,9 +35,11 @@ If you need any record, then set it to empty string \param maxtech Max length \param suffix Zone suffix (if is NULL then use enum.conf 'search' variable) - \param options Options ('c' to count number of NAPTR RR, or number - the position of required RR in the answer list + \param options Options ('c' to count number of NAPTR RR) + \param record The position of required RR in the answer list */ -int ast_get_enum(struct ast_channel *chan, const char *number, char *location, int maxloc, char *technology, int maxtech, char* suffix, char* options); +int ast_get_enum(struct ast_channel *chan, const char *number, char *location, int maxloc, char *technology, + int maxtech, char* suffix, char* options, unsigned int record); /*! \brief Lookup DNS TXT record (used by app TXTCIDnum \param chan Channel |