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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Mar 9 10:16:25 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-19460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249954#comment-249954 ] 

Friendly Automation commented on ASTERISK-19460:
------------------------------------------------

Change 13883 merged by George Joseph:
enum.c: Make ast_get_txt() actually do something.

[https://gerrit.asterisk.org/c/asterisk/+/13883|https://gerrit.asterisk.org/c/asterisk/+/13883]

> [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
>         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