[asterisk-bugs] [JIRA] (ASTERISK-22684) extenpatternmatchnew doesn't match some extensions

Patrick Maille (JIRA) noreply at issues.asterisk.org
Fri Oct 11 12:51:04 CDT 2013


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

Patrick Maille commented on ASTERISK-22684:
-------------------------------------------

I have a piece of dialplan like:

exten => _NXXNXXXXXX,n,Dial(SIP/${EXTEN},27,t)
exten => _NXXNXXXXXX,n,Goto(dialin,${EXTEN}-${DIALSTATUS},1)

if there's no answer, it'd jump to _NXXNXXXXXX-[N]OA[N]SWER , if it's busy, _NXXNXXXXXX-BUSY , and so on ...

This works correctly when using extenpatternmatchnew=no

If I set extenpatternmatchnew=yes, then the console shows:
sent to invalid extension but no invalid handler: context,exten,priority=dialin,NXXNXXXXXX-NOANSWER,1

But if I do dialplan show NXXNXXXXXX-NOANSWER at dialin, it returns the correct section ofg dialplan:

[ Context 'dialin' created by 'pbx_config' ]
  '_NXXNXXXXXX-[N]OA[N]SWER' => 1. NoOp(${EXTEN:0:10} returns NOANSWER)       [pbx_config]
                
> extenpatternmatchnew doesn't match some extensions
> --------------------------------------------------
>
>                 Key: ASTERISK-22684
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22684
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Dial
>    Affects Versions: 11.5.1
>            Reporter: Patrick Maille
>            Severity: Minor
>
> When extenpatternmatchnew=yes, unable to match extensions that work with extenpatternmatchnew=no

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list