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

Sean Bright (JIRA) noreply at issues.asterisk.org
Wed Mar 4 18:19:26 CST 2020


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

Work on ASTERISK-19460 started by Sean Bright.

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