]> git.ipfire.org Git - thirdparty/asterisk.git/commit
AST-2020-002 - res_pjsip: Stop sending INVITEs after challenge limit.
authorBen Ford <bford@digium.com>
Mon, 2 Nov 2020 16:29:31 +0000 (10:29 -0600)
committerKevin Harwell <kharwell@digium.com>
Thu, 5 Nov 2020 20:58:12 +0000 (14:58 -0600)
commit66737026ef757c682ac1232a73c35abee98ff1c9
treeb28369e0efd5175c54e01d6d5600ee125cb51a4c
parent1f169177ed8ef5f5c00e54bf669b9e50d4b2463d
AST-2020-002 - res_pjsip: Stop sending INVITEs after challenge limit.

If Asterisk sends out an INVITE and receives a challenge with a
different nonce value each time, it will continuously send out INVITEs,
even if the call is hung up. The endpoint must be configured for
outbound authentication for this to occur. A limit has been set on
outbound INVITEs so that, once reached, Asterisk will stop sending
INVITEs and the transaction will terminate.

ASTERISK-29013

Change-Id: I2d001ca745b00ca8aa12030f2240cd72363b46f7
(cherry picked from commit 01b7ac0d590b0ad2e3e856d1a81fc87154ae68a0)
include/asterisk/res_pjsip.h
include/asterisk/res_pjsip_session.h
res/res_pjsip.c
res/res_pjsip_session.c