[asterisk-bugs] [JIRA] (ASTERISK-18343) extenpatternmatchnew fails to correctly respect dialplan order (regex match before exact in an included context)

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 19 06:23:07 CST 2017


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

Joshua Colp updated ASTERISK-18343:
-----------------------------------

    Affects Version/s: 13.18.4

> extenpatternmatchnew fails to correctly respect dialplan order (regex match before exact in an included context)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-18343
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18343
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/General
>    Affects Versions: SVN, 13.18.4
>            Reporter: snuffy
>            Severity: Minor
>
> extenpatternmatchnew fails to correctly respect dialplan order (regex match before exact in an included context)
> Example:
> SIP user is a conA member.
> 'extenpatternmatchnew' is FALSE
> If they dial 1234, they get the exact match executed. (RIGHT)
> If they dial 1236, they get the regex match executed. (RIGHT)
> If they dial 4321, the get they extact match executed (RIGHT)
> If they dial 4325, they get the regex match excuted (RIGHT)
> 'extenpatternmatchnew' is TRUE
> If they dial 1234, they get the exact match executed. (RIGHT)
> If they dial 1236, they get the regex match executed. (RIGHT)
> If they dial 4321, the get they regex match executed (WRONG)
> If they dial 4325, they get the regex match excuted (RIGHT)
> [conA]
> include => conB
> exten => 1234,1,verbose(got to 1234)
> exten => 1234,n,hangup
> exten => _123X,1,verbose(got to 123X exten)
> exten => _123X,n,hangup
> [conB]
> exten => 4321,1,verbose(got to 4321)
> exten => 4321,n,hangup
> exten => _432X,1,verbose(got to 432X exten)
> exten => _432X,n,hangup



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



More information about the asterisk-bugs mailing list