[asterisk-bugs] [JIRA] (ASTERISK-27985) chan_pjsip will not respond to INVITES when cel_aggregation_topic queue length is > 0
xrobau (JIRA)
noreply at issues.asterisk.org
Tue Jul 24 22:23:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244241#comment-244241 ]
xrobau commented on ASTERISK-27985:
-----------------------------------
Asterisk 15.4.1 also shows the same symptoms. At the time of this command, a PJSIP call was trying to be established
{code}
Asterisk 15.4.1, Copyright (C) 1999 - 2016, Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Connected to Asterisk 15.4.1 currently running on freepbx (pid = 14914)
freepbx*CLI> core show taskprocessors
Processor Processed In Queue Max Depth Low water High water
app_voicemail 0 0 0 450 500
ast_msg_queue 0 0 0 450 500
CCSS_core 0 0 0 450 500
dns_system_resolver_tp 0 0 0 450 500
hep_queue_tp 0 0 0 450 500
iax2_transmit 0 0 0 450 500
pjsip/default-0000000c 8 0 1 450 500
pjsip/default-0000000d 8 0 1 450 500
pjsip/default-0000000e 6 0 1 450 500
pjsip/default-0000000f 6 0 1 450 500
pjsip/default-00000010 7 0 1 450 500
pjsip/default-00000011 7 0 1 450 500
pjsip/default-00000012 7 0 1 450 500
pjsip/default-00000013 7 0 1 450 500
pjsip/distributor-00000020 2 0 1 450 500
pjsip/distributor-00000021 2 0 1 450 500
pjsip/distributor-00000022 0 0 0 450 500
pjsip/distributor-00000023 4 0 1 450 500
pjsip/distributor-00000024 2 0 1 450 500
pjsip/distributor-00000025 0 0 0 450 500
pjsip/distributor-00000026 2 0 1 450 500
pjsip/distributor-00000027 2 0 1 450 500
pjsip/distributor-00000028 4 0 1 450 500
pjsip/distributor-00000029 0 0 0 450 500
pjsip/distributor-0000002a 0 0 0 450 500
pjsip/distributor-0000002b 6 0 1 450 500
pjsip/distributor-0000002c 0 0 0 450 500
pjsip/distributor-0000002d 2 0 1 450 500
pjsip/distributor-0000002e 4 0 1 450 500
pjsip/distributor-0000002f 2 0 1 450 500
pjsip/distributor-00000030 2 0 1 450 500
pjsip/distributor-00000031 0 0 0 450 500
pjsip/distributor-00000032 4 0 1 450 500
pjsip/distributor-00000033 0 0 0 450 500
pjsip/distributor-00000034 0 0 0 450 500
pjsip/distributor-00000035 8 0 2 450 500
pjsip/distributor-00000036 4 0 1 450 500
pjsip/distributor-00000037 0 0 0 450 500
pjsip/distributor-00000038 2 0 1 450 500
pjsip/distributor-00000039 4 0 1 450 500
pjsip/distributor-0000003a 2 0 1 450 500
pjsip/distributor-0000003b 2 0 1 450 500
pjsip/distributor-0000003c 0 0 0 450 500
pjsip/distributor-0000003d 0 0 0 450 500
pjsip/distributor-0000003e 4 0 1 450 500
pjsip/exten_state 0 0 0 450 500
pjsip/messaging 0 0 0 450 500
pjsip/mwi-00000046 0 0 0 450 500
pjsip/mwi-00000047 0 0 0 450 500
pjsip/mwi-00000048 0 0 0 450 500
pjsip/mwi-00000049 0 0 0 450 500
pjsip/mwi-0000004a 0 0 0 450 500
pjsip/mwi-0000004b 0 0 0 450 500
pjsip/mwi-0000004c 0 0 0 450 500
pjsip/mwi-0000004d 0 0 0 450 500
SIP 119 0 2 450 500
SIP-control 243 0 2 450 500
Sorcery 47 0 2 450 500
Sorcery-control 96 0 2 450 500
sorcery/acl-00000053 0 0 0 450 500
sorcery/aor-00000019 2 0 1 450 500
sorcery/asterisk-publication-0000004f 0 0 0 450 500
sorcery/auth-00000014 1 0 1 450 500
sorcery/bucket-00000000 0 0 0 450 500
sorcery/contact-00000018 2 0 1 1350 1500
sorcery/contact_status-0000001a 31 0 1 1350 1500
sorcery/domain_alias-0000001b 0 0 0 450 500
sorcery/endpoint-00000015 2 0 1 450 500
sorcery/file-00000001 0 0 0 450 500
sorcery/global-0000001c 6 0 1 450 500
sorcery/identify-00000045 0 0 0 450 500
sorcery/inbound-publication-00000042 0 0 0 450 500
sorcery/log_mappings-0000000a 0 0 0 450 500
sorcery/nat_hook-00000016 0 0 0 450 500
sorcery/opus-00000009 0 0 0 450 500
sorcery/outbound-publish-0000003f 0 0 0 450 500
sorcery/registration-00000054 3 0 1 450 500
sorcery/resource_list-00000041 0 0 0 450 500
sorcery/subscription_persistence-00000040 0 0 0 450 500
sorcery/system-0000000b 0 0 0 450 500
sorcery/transport-00000017 0 0 0 450 500
stasis-core 1527 0 3 450 500
stasis-core-control 3066 0 4 450 500
subm:ast_bridge_topic_all-cached-00000056 1 0 1 450 500
subm:ast_channel_topic_all-0000005a 196633 0 136 450 500
subm:ast_channel_topic_all-00000060 196632 0 132 450 500
subm:ast_channel_topic_all-cached-00000057 307924 0 242 450 500
subm:ast_channel_topic_all-cached-00000058 307923 0 223 450 500
subm:ast_channel_topic_all-cached-00000059 307922 0 209 450 500
subm:ast_device_state_topic-00000002 11024 0 5 450 500
subm:ast_device_state_topic-00000004 11023 0 8 450 500
subm:ast_device_state_topic-0000005f 11008 0 8 450 500
subm:ast_parking-00000044 1 0 1 450 500
subm:ast_presence_state_topic_all-00000005 1 0 1 450 500
subm:ast_security-0000005d 144 0 1 450 500
subm:ast_system-00000050 40 0 4 450 500
subm:ast_system-00000051 39 0 3 450 500
subm:ast_system-00000055 7 0 1 450 500
subm:ast_system-00000061 1 0 1 450 500
subm:cdr_engine-00000003 309307 0 2126 4500 5000
subm:cel_aggregation_topic-00000006 216908 91018 182802 2700 3000
subm:endpoint_topic_all-cached-00000008 1472 0 17 450 500
subm:endpoint_topic_all-cached-0000005b 1450 0 13 450 500
subm:manager_topic-00000007 319136 0 368 2700 3000
subm:stasis_mwi_topic-0000005c 2 0 1 450 500
subm:stasis_mwi_topic-0000005e 1 0 1 450 500
subp:PJSIP/500-0000001d 1449 0 14 450 500
subp:PJSIP/anonymous-0000001e 3 0 1 450 500
subp:PJSIP/dpma_endpoint-0000001f 3 0 2 450 500
subp:SIP/501-00000052 4 0 1 450 500
110 taskprocessors
{code}
> chan_pjsip will not respond to INVITES when cel_aggregation_topic queue length is > 0
> -------------------------------------------------------------------------------------
>
> Key: ASTERISK-27985
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27985
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: CEL/cel_odbc
> Affects Versions: 13.22.0
> Environment: FreePBX 14, SNG7
> Reporter: xrobau
> Labels: pjsip
> Attachments: pjsip-ignored.txt
>
>
> We've had sporadic reports of AGIs causing audio glitches on heavy systems (which we believe is related to https://issues.asterisk.org/jira/browse/ASTERISK-26257 but is NOT limited to confbridge, MOH and Playback/Background is also affected).
> {code}
> exten => 998,1,Answer
> same => n,Dial(Local/999 at from-internal-custom/n,300,gm(default))
> same => n,Playback(beep)
> same => n,Goto(1)
> exten => 999,1,Set(COUNT=0)
> same => n(loop),GotoIf($[ ${COUNT} > 1000 ]?toomany)
> same => n,Gosub(testtrigger)
> same => n,Set(COUNT=$[ ${COUNT} + 1 ])
> same => n,Goto(loop)
> same => n(toomany),Hangup
> same => n(testtrigger),Dial(SIP/8675309 at 127.0.0.1:5160,1,g)
> same => n,Return
> {code}
> The above dialplan simulates a call entering the 'from-pstn' context of FreePBX, which then does - after the standard dialplan - a Hangup.
> This causes Asterisk to create about 20-30 calls per second (but does not trigger the audio issue, unfortunately). It does however trigger a new issue where PJSIP channel INVITES are ignored until the cel_aggregation_topic queue is empty:
> {code}
> Processor Processed In Queue Max Depth Low water High water
> ... skipped lines ...
> subm:cdr_engine-00000003 5780891 0 2347 4500 5000
> subm:cel_aggregation_topic-00000006 4968215 786689 2961396 2700 3000
> subm:endpoint_topic_all-cached-00000008 794 0 13 450 500
> subm:endpoint_topic_all-cached-0000005a 778 0 13 450 500
> subm:manager_topic-00000007 5962603 0 344 2700 3000
> {code}
> While the queue is being processed, pjsip calls are ignored. chan_sip calls are answered and processed correctly, increasing the queue size.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list