[asterisk-bugs] [JIRA] (ASTERISK-18271) Pattern matching with res_config_mysql extensions does not behave as expected

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Feb 22 12:10:10 CST 2017


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

Friendly Automation commented on ASTERISK-18271:
------------------------------------------------

Change 5061 merged by zuul:
pbx_realtime: Prevent premature extension matching

[https://gerrit.asterisk.org/5061|https://gerrit.asterisk.org/5061]

> Pattern matching with res_config_mysql extensions does not behave as expected
> -----------------------------------------------------------------------------
>
>                 Key: ASTERISK-18271
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18271
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Addons/res_config_mysql
>    Affects Versions: 1.8.5.0
>            Reporter: Charlie Smurthwaite
>
> When using RealTime extensions from MySQL with res_config_mysql and overlapping pattern extensions, selection of an extension does not work as expected. Test case:
> Extensions in mysql with appropriate context:
> _800.
> _80.
> Dialed number: 8001
> Expected behaviour:
> _800. matches number because it is the most explicit match
> Actual behaviour:
> _80. matches number because it is the first matching extension in the mysql resultset (query is ordered by extension)



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



More information about the asterisk-bugs mailing list