[asterisk-bugs] [JIRA] (ASTERISK-28488) pjsip mwi: n+1 sip notify's sent on re-register
Chris Savinovich (JIRA)
noreply at issues.asterisk.org
Fri Jul 26 16:37:47 CDT 2019
Chris Savinovich created ASTERISK-28488:
-------------------------------------------
Summary: pjsip mwi: n+1 sip notify's sent on re-register
Key: ASTERISK-28488
URL: https://issues.asterisk.org/jira/browse/ASTERISK-28488
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: .Release/Targets
Affects Versions: 16.0.0
Reporter: Chris Savinovich
Severity: Minor
When _mw_subscribe_replaces_unsolicited_ is set on an endpoint then every time the phone re-registers Asterisk will send n + 1 SIP NOTIFY's to the phone (where n = number of notifies sent on the last re-register). Meaning at first Asterisk sends one notify. On the next register it sends two, then three, etc... Eventually the phone is overwhelmed.
I was able to reproduce the issue just using Asterisk, and the following configuration
{noformat}
[414]
type=aor
mailboxes=414 at default
max_contacts=1
remove_existing=yes
maximum_expiration=7200
minimum_expiration=60
qualify_frequency=60
[414-auth]
type=auth
auth_type=userpass
password=414
username=414
[414]
type=endpoint
aors=414
auth=414-auth
tos_audio=ef
tos_video=af41
cos_audio=5
cos_video=4
allow=ulaw,alaw,gsm,g726,g722
context=from-internal
callerid=Jean wifi <414>
dtmf_mode=rfc4733
mailboxes=414 at default
mwi_subscribe_replaces_unsolicited=yes
aggregate_mwi=no
use_avpf=no
rtcp_mux=no
bundle=no
ice_support=no
media_use_received_transport=no
trust_id_inbound=yes
media_encryption=no
timers=yes
media_encryption_optimistic=no
send_pai=yes
rtp_symmetric=yes
rewrite_contact=yes
force_rport=yes
language=en
one_touch_recording=on
record_on_feature=apprecord
record_off_feature=apprecord
set_var=CHANNEL(parkinglot)=default
{noformat}
Configure a phone to register to that extension, and on each register the notifies will increase. Comment out/disable _mw_subscribe_replaces_unsolicited_ and the problem goes away.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list