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

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Sep 22 10:46:33 CDT 2015


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

Matt Jordan commented on ASTERISK-18271:
----------------------------------------

Thanks for the contribution! If you'd like your contribution to be included faster, you should submit your patch for code review by the Asterisk Developer Community. To do so, please follow the Code Review [1] instructions on the wiki. Be sure to:
* Verify that your patch conforms to the Coding Guidelines [2]
* Review the Code Review Checklist [3] for common items reviewers will look for
* If necessary, provide tests for the Asterisk Test Suite that verify the correctness of your patch [4]

When ready, submit your patch and any tests to Review Board [5] for code review.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Code+Review
[2] https://wiki.asterisk.org/wiki/display/AST/Coding+Guidelines
[3] https://wiki.asterisk.org/wiki/display/AST/Code+Review+Checklist
[4] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Test+Suite+Documentation
[5] https://wiki.asterisk.org/wiki/display/AST/Review+Board+Usage



> 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