]> 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:00 +0000 (11:11 -0500)
commit40f4268f2df3ac4d416e06bf825b2ea954a42075
treedd741657d3ba1f78a0be2bd64e88d2aa6157b57c
parent37829b4461dadf798611af25de0d58f55eedbfa4
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