Want to specify SRTP master key outside of SIP

I’d like to to be able to establish an SRTP connection to an Asterisk server, but I’d like to do the key exchange outside of SIP and provide the keys to Asterisk from another process on the server. Is there any reasonable way to do that? I’ve tried to search through the configuration and dialplan docs, and the AMI, but I can’t find anything that looks like it can set (or even query) the key values.

I’m new at this; sorry if I missed something obvious. (But do tell me where it is, please!)

Thanks.

I have Asterisk 13.9.1 on Fedora, built the tarball on the downloads page.

There is no ability currently to do this. It’s either derived from the DTLS negotiation or the keys in the SDP.

Hmmmm… Well, thank you.