[asterisk-bugs] [JIRA] (ASTERISK-22684) extenpatternmatchnew doesn't match some extensions
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Fri Oct 11 13:59:05 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=210886#comment-210886 ]
Richard Mudgett edited comment on ASTERISK-22684 at 10/11/13 1:59 PM:
----------------------------------------------------------------------
I have a piece of dialplan like:
{noformat}
exten => _NXXNXXXXXX,n,Dial(SIP/${EXTEN},27,t)
exten => _NXXNXXXXXX,n,Goto(dialin,${EXTEN}-${DIALSTATUS},1)
{noformat}
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 of dialplan:
{noformat}
[ Context 'dialin' created by 'pbx_config' ]
'_NXXNXXXXXX-[N]OA[N]SWER' => 1. NoOp(${EXTEN:0:10} returns NOANSWER) [pbx_config]
{noformat}
was (Author: patrickm):
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