]> 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 15:31:17 +0000 (10:31 -0500)
commit0adbc4f499248aed746e2074504fd535c791e168
tree3e4966aa83897a0c31c2274cd46ba1dc83612c61
parent91be429a41b9a9090e7e2b7b1efc9bea61571292
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