FS-5257 --resolve you seem to be setting sip_secure_media on an inbound leg, this is not correct.  This patch should auto-correct that but also beware that the variable has changed to rtp_secure_media after this commit
only fclose open pointer