[asterisk-bugs] [JIRA] (ASTERISK-29170) Conflict AEL hints with extenpatternmatchnew=true

Ilya Demyanov (JIRA) noreply at issues.asterisk.org
Thu Nov 19 04:09:16 CST 2020


Ilya Demyanov created ASTERISK-29170:
----------------------------------------

             Summary: Conflict AEL hints with extenpatternmatchnew=true
                 Key: ASTERISK-29170
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29170
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: PBX/pbx_ael, PBX/pbx_config
    Affects Versions: 18.0.1
         Environment: Debian 10
            Reporter: Ilya Demyanov
            Severity: Minor


I have several extensions that can subscribe to each other:
{code}
pbx*CLI> dialplan show hints
[ Context 'hints' created by 'pbx_ael' ]
  '1166' =>         hint: PJSIP/1166                              [pbx_ael]
  '1177' =>         hint: PJSIP/1177                              [pbx_ael]
  '1188' =>         hint: PJSIP/1188                              [pbx_ael]
  '_11XX' =>        hint: PJSIP/${EXTEN}                          [pbx_ael]

-= 4 extensions (4 priorities) in 1 context. =-
pbx*CLI>
pbx*CLI> core show hints

    -= Registered Asterisk Dial Plan Hints =-
_11XX at hints         : PJSIP/${EXTEN}        State:Unavailable     Presence:                Watchers  0
1188 at hints          : PJSIP/1188            State:Idle            Presence:not_set         Watchers  1
1177 at hints          : PJSIP/1177            State:Idle            Presence:not_set         Watchers  1
1166 at hints          : PJSIP/1166            State:Idle            Presence:not_set         Watchers  2
----------------
- 4 hints registered
pbx*CLI>
pbx*CLI> pjsip list subscriptions inbound
Endpoint/CLI                   Resource/Event                 Expiry Call-id
1177/<none>                    1166/dialog                       233 b11580-0-13c4-5fb66719-279864bd-5fb66719 at 10.126.96.10
1188/<none>                    1166/dialog                       470 0_3003538414 at 172.16.29.104
1166/<none>                    1188/presence                     455 29cdb64e318d428f8668c1f46d31171c
1166/<none>                    1177/presence                     455 bdcc83ef9ba34469a54b5bf36390fe9b

4 active subscriptions
{code}

Now I am turn on extenpatternmatchnew and  re-registering one of the subscribers and I get conflict errors

{code}
pbx*CLI> dialplan set extenpatternmatchnew true

    -- Switched to using the NEW pattern match algorithm for extension names in the dialplan.
[Nov 19 13:04:33]     -- Removed contact 'sip:1166 at 192.168.2.77:64422;ob' from AOR '1166' due to request
[Nov 19 13:04:33]   == Contact 1166/sip:1166 at 192.168.2.77:64422;ob has been deleted
[Nov 19 13:04:33]   == Endpoint 1166 is now Unreachable
[Nov 19 13:04:36]     -- Added contact 'sip:1166 at 192.168.2.77:64422;ob' to AOR '1166' with expiration of 300 seconds
[Nov 19 13:04:36]   == Endpoint 1166 is now Reachable
[Nov 19 13:04:36]     -- Contact 1166/sip:1166 at 192.168.2.77:64422;ob is now Reachable.  RTT: 2.271 msec
[2020-11-19 13:04:37] WARNING[2319]: pbx.c:7156 add_priority: Unable to register extension '1188' priority -1 in 'hints', already in use
[2020-11-19 13:04:37] WARNING[2319]: res_pjsip_exten_state.c:446 subscription_established: Unable to subscribe endpoint '1166' to extension '1188 at phones-in'
[2020-11-19 13:04:37] WARNING[2320]: pbx.c:7156 add_priority: Unable to register extension '1177' priority -1 in 'hints', already in use
[2020-11-19 13:04:37] WARNING[2320]: res_pjsip_exten_state.c:446 subscription_established: Unable to subscribe endpoint '1166' to extension '1177 at phones-in'
{code}



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



More information about the asterisk-bugs mailing list