[asterisk-bugs] [JIRA] (ASTERISK-19137) patten matching wrong when issue "dialplan reload"

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


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

Joshua Colp updated ASTERISK-19137:
-----------------------------------

    Affects Version/s: 13.18.4

> patten matching wrong when issue "dialplan reload"
> --------------------------------------------------
>
>                 Key: ASTERISK-19137
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19137
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/pbx_ael
>    Affects Versions: 1.8.8.0, 13.18.4
>         Environment: CentOS 5.4 X86_64
>            Reporter: Aaron An
>
> I am using ael to write dialplan. when issue "dialplan reload" command the pattern matching does not work.
> I have open the debug in pbx.c and see the below:
> from the log we can see the order is change so it match the wrong exten. 
> log before dialplan reload: ================
> [Dec 29 19:25:30] NOTICE[21748] pbx.c: The Trie we are searching in:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  s:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       w:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       _:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       1:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       2:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       +       7:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       +       +       _:N:-:1:EXTEN:sw_127_(0x2aaad817c9e0)
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       +       +       +       1:N:-:1:EXTEN:sw_127_1(0x2aaad817c5e0)
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  s:Y:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       w:Y:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       _:Y:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       1:Y:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       2:Y:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       +       7:Y:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       +       +       _:Y:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       +       +       +       .:Y:-:98304:EXTEN:_sw_127_.(0x2aaad817c130)
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  ~:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       ~:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       s:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       ~:N:-:1:
> [Dec 29 19:25:30] DEBUG[21748] pbx.c: ::  +       +       +       +       ~:N:-:1:EXTEN:~~s~~(0x2aaad817b790)
> log after dialplan reload: ================
> [Dec 29 19:27:12] NOTICE[22568] pbx.c: The Trie we are searching in:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  ~:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       ~:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       s:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       ~:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       ~:N:-:1:EXTEN:~~s~~(0x14de4a30)
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  s:Y:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       w:Y:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       _:Y:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       1:Y:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       2:Y:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       +       7:Y:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       +       +       _:Y:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       +       +       +       .:Y:-:98304:EXTEN:_sw_127_.(0x14d838d0)
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  s:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       w:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       _:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       1:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       2:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       +       7:N:-:1:
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       +       +       _:N:-:1:EXTEN:sw_127_(0x14d83330)
> [Dec 29 19:27:12] DEBUG[22568] pbx.c: ::  +       +       +       +       +       +       +       1:N:-:1:EXTEN:sw_127_1(0x14d83270)



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



More information about the asterisk-bugs mailing list