[asterisk-bugs] [JIRA] (ASTERISK-29510) New pattern matcher matches invalid patterns
N A (JIRA)
noreply at issues.asterisk.org
Tue Jul 6 08:20:33 CDT 2021
N A created ASTERISK-29510:
------------------------------
Summary: New pattern matcher matches invalid patterns
Key: ASTERISK-29510
URL: https://issues.asterisk.org/jira/browse/ASTERISK-29510
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Core/PBX
Affects Versions: 18.5.0
Reporter: N A
Severity: Major
Thought I would give the new extenpatternmatcher a try, but it seems to be completely missing some pattern matches.
As soon as I disable the new pattern matcher, everything works again.
I don't know what the status of this new pattern matcher is today, and whether or not it is supposed to be ready for primetime, but this does seem like a pretty major bug with the PBX core. Here is debug 10:
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx_variables.c:377 ast_str_retrieve_variable: Result of 'EXTEN' is 'PJSIPATAxLB1'
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:2938 pbx_extension_helper: Launching 'Goto'
[2021-07-06 13:06:30] -- Executing [PJSIPATAxLB1 at outgoing:1] Goto("Local/PJSIPATAxLB1 at outgoing-0000058e;2", "PJSIP/ATAxLB1,1") in new stack
[2021-07-06 13:06:30] -- Goto (outgoing,PJSIP/ATAxLB1,1)
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1364 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1374 new_find_extension: return at end of func
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1369 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1370 new_find_extension: returning an exact match-- first found-- e
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1369 new_find_extension: Nothing strange about this match
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:1370 new_find_extension: returning an exact match-- first found-- e
[2021-07-06 13:06:30] DEBUG[11600][C-00000283]: pbx.c:2938 pbx_extension_helper: Launching 'Goto'
[2021-07-06 13:06:30] -- Executing [e at outgoing:1] Goto("Local/PJSIPATAxLB1 at outgoing-0000058e;2", "done,1") in new stack
exten => _DAHDI[A-Za-z0-9].,1,Goto(DAHDI/${EXTEN:5},1)
exten => _SIP[A-Za-z0-9].,1,Goto(SIP/${EXTEN:3},1)
exten => _PJSIP[A-Za-z0-9].,1,Goto(PJSIP/${EXTEN:5},1)
exten => _MGCP[A-Za-z0-9].,1,Goto(MGCP/${EXTEN:4},1)
exten => _[A-Z].,1,Set(CDR_PROP(disable)=1)
same => n,Answer()
exten => e,1,Goto(done,1)
It *should* be going to _[A-Z]. but is instead matching on e, which isn't even a valid match for the extension in the first place.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list