diff options
Diffstat (limited to 'include/asterisk/enum.h')
-rw-r--r-- | include/asterisk/enum.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/asterisk/enum.h b/include/asterisk/enum.h index e36a9d910..b5b88479a 100644 --- a/include/asterisk/enum.h +++ b/include/asterisk/enum.h @@ -27,21 +27,21 @@ /*! \brief Lookup entry in ENUM Returns 1 if found, 0 if not found, -1 on hangup \param chan Channel - \param number E164 number with or without the leading + + \param number E164 number with or without the leading + \param location Number returned (or SIP uri) \param maxloc Max length - \param technology Technology (from url scheme in response) + \param technology Technology (from url scheme in response) You can set it to get particular answer RR, if there are many techs in DNS response, example: "sip" 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 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 */ -extern 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); /*! \brief Lookup DNS TXT record (used by app TXTCIDnum \param chan Channel - \param number E164 number with or without the leading + + \param number E164 number with or without the leading + \param location Number returned (or SIP uri) \param maxloc Max length of number \param technology Technology (not used in TXT records) @@ -49,9 +49,9 @@ extern int ast_get_enum(struct ast_channel *chan, const char *number, char *loca \param txt Text string (return value) \param maxtxt Max length of "txt" */ -extern int ast_get_txt(struct ast_channel *chan, const char *number, char *location, int maxloc, char *technology, int maxtech, char *txt, int maxtxt); +int ast_get_txt(struct ast_channel *chan, const char *number, char *location, int maxloc, char *technology, int maxtech, char *txt, int maxtxt); -extern int ast_enum_init(void); -extern int ast_enum_reload(void); +int ast_enum_init(void); +int ast_enum_reload(void); #endif /* _ASTERISK_ENUM_H */ |