I’m registering an Asterisk against my TLS capable service, using res_pjsip. My config looks like this:
res_pjsip_outbound_registration is hard-coded to send “sips” on a secure transport. I’d suggest opening a issue at issues.asterisk.org. We should probably use the scheme from the registration client_uri.