[asterisk-bugs] [JIRA] (ASTERISK-19460) [patch] Function TXTCIDNAME never actually makes DNS calls and always returns an empty string

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Sep 9 11:12:47 CDT 2020


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-19460:
-------------------------------------

    Target Release Version/s: 18.0.0

> [patch] Function TXTCIDNAME never actually makes DNS calls and always returns an empty string
> ---------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-19460
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19460
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_enum
>    Affects Versions: 10.1.3
>         Environment: Fedora 16 x64
>            Reporter: George Joseph
>            Assignee: Sean Bright
>            Severity: Minor
>              Labels: patch
>      Target Release: 13.33.0, 16.10.0, 17.4.0, 18.0.0
>
>         Attachments: asterisk-txtcidname.patch
>
>
> Function TXTCIDNAME never even tries to do a DNS TXT lookup.  In looking through the history of main/enum.c, it doesn't look like it ever worked and in fact, the code in ast_get_txt that calls ast_search_dns was removed several years ago.  The current code reverses the number and inserts '.' between the characters (which may be correct for ENUM but not I believe for TXT), then returns without actually doing anything.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list