]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_stir_shaken.c: Fix enabled when not configured.
authorBen Ford <bford@digium.com>
Thu, 21 Apr 2022 15:26:01 +0000 (10:26 -0500)
committerBenjamin Keith Ford <bford@digium.com>
Tue, 26 Apr 2022 16:11:10 +0000 (11:11 -0500)
commitb42934d019ed33a122f9d52309c26a5b2b51a2bc
treeb54445ccb834111fa4a3b67fc57c3bf325d3cb7a
parent8584ad425aca040f258031f4066e88e4fdb25b01
res_pjsip_stir_shaken.c: Fix enabled when not configured.

There was an issue with the conditional where STIR/SHAKEN would be
enabled even when not configured. It has been changed to ensure that if
a profile does not exist and stir_shaken is not set in pjsip.conf, then
the conditional will return from the function without performing
STIR/SHAKEN operations.

ASTERISK-30024

Change-Id: I41286a3d35b033ccbfbe4129427a62cb793a86e6
res/res_pjsip_stir_shaken.c