]> git.ipfire.org Git - thirdparty/asterisk.git/commit
enum.c: Make ast_get_txt() actually do something.
authorSean Bright <sean.bright@gmail.com>
Wed, 4 Mar 2020 22:53:57 +0000 (17:53 -0500)
committerSean Bright <sean.bright@gmail.com>
Wed, 4 Mar 2020 23:02:21 +0000 (17:02 -0600)
commitab63f0cd0fc9771b65d49894692bde56d321ed68
tree0681212ccc58ee3ca44c2deb21e2605f8118e9f8
parent5a8018875d65a9bcbb39b5ab017aebec74835225
enum.c: Make ast_get_txt() actually do something.

The ast_get_txt() API function (and by extension, the TXTCIDNAME
dialplan function) were broken in
65b8381550a9f46fdce84de79960073e9d51b05d such that we would never
actually make a DNS TXT query as described.

This patch restores the documented behavior.

ASTERISK-19460 #close
Reported by: George Joseph

Change-Id: I1b19aea711488cb1ecd63843cddce05010e39376
main/enum.c