Allow ENUM query functions to report lookup errors
authorKinsey Moore <kmoore@digium.com>
Tue, 9 Aug 2011 17:08:33 +0000 (17:08 +0000)
committerKinsey Moore <kmoore@digium.com>
Tue, 9 Aug 2011 17:08:33 +0000 (17:08 +0000)
commitc3bd5892a66db3391c55465d16bf121c736beb80
treef05ed6896dbcecd448745d2a7011895d40e9a245
parent5fe104ddb9cf4b19513c7fb78f3b4e282e8e519e
Allow ENUM query functions to report lookup errors

The ENUM dialplan functions do not report DNS query errors properly. It is
useful to differentiate between failed query (e.g. non-existent domain) vs. no
data records of the appropriate type. This is required to make overlapped
dialing work.

(closes issue ASTERISK-13769)
Review: https://reviewboard.asterisk.org/r/1355/
Patch-by: Timo Teras

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@331201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
UPGRADE.txt
funcs/func_enum.c
main/enum.c