[asterisk-bugs] [JIRA] (ASTERISK-29170) Conflict hints with extenpatternmatchnew=true
Ilya Demyanov (JIRA)
noreply at issues.asterisk.org
Mon Nov 23 05:45:16 CST 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-29170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Demyanov updated ASTERISK-29170:
-------------------------------------
Attachment: asterisk.zip
pjsip.conf, pjsip_wizard.conf and AEL-extensions
> Conflict 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
> Assignee: Ilya Demyanov
> Severity: Minor
> Attachments: asterisk.zip
>
>
> 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}
> Other extensions also receive an error on their SUBSCRIBE:
> {code}
> [2020-11-19 13:10:49] WARNING[2237]: pbx.c:7156 add_priority: Unable to register extension '1166' priority -1 in 'hints', already in use
> [2020-11-19 13:10:49] WARNING[2237]: res_pjsip_exten_state.c:446 subscription_established: Unable to subscribe endpoint '1177' to extension '1166 at phones-in'
> [2020-11-19 13:11:49] WARNING[2237]: pbx.c:7156 add_priority: Unable to register extension '1166' priority -1 in 'hints', already in use
> [2020-11-19 13:11:49] WARNING[2237]: res_pjsip_exten_state.c:446 subscription_established: Unable to subscribe endpoint '1177' to extension '1166 at phones-in'
> [2020-11-19 13:12:49] WARNING[2237]: pbx.c:7156 add_priority: Unable to register extension '1166' priority -1 in 'hints', already in use
> [2020-11-19 13:12:49] WARNING[2237]: res_pjsip_exten_state.c:446 subscription_established: Unable to subscribe endpoint '1177' to extension '1166 at phones-in'
> pbx*CLI>
> {code}
> Subscriber list starts to fill up with duplicate garbage:
> {code}
> pbx*CLI> pjsip list subscriptions inbound
> Endpoint/CLI Resource/Event Expiry Call-id
> 1177/<none> 1166/dialog 1447 b11580-0-13c4-5fb66719-279864bd-5fb66719 at 10.126.96.10
> 1188/<none> 1166/dialog 1473 0_3003538414 at 172.16.29.104
> 1166/<none> 1188/presence 62 2e3e93db283f4fd7beaeebb25517cd2e
> 1166/<none> 1177/presence 62 84ea4f54098f48e9848ab83383d2aebe
> 1177/<none> 1166/dialog 1514 b11788-0-13c4-5fb66e60-71160f15-5fb66e60 at 10.126.96.10
> 1177/<none> 1166/dialog 1574 b11990-0-13c4-5fb66e9c-537e6a02-5fb66e9c at 10.126.96.10
> 1177/<none> 1166/dialog 1634 b11b98-0-13c4-5fb66ed8-384dd0c7-5fb66ed8 at 10.126.96.10
> 1177/<none> 1166/dialog 1694 b11da0-0-13c4-5fb66f14-757f9aa4-5fb66f14 at 10.126.96.10
> 1177/<none> 1166/dialog 1755 b121b0-0-13c4-5fb66f51-26b434d9-5fb66f51 at 10.126.96.10
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list