Contact header when SRTP is optional

DT
David Talmage
Mon, Jun 12, 2017 1:14 PM

What should I expect PJSip to use for the Contact header when I have
one account (u@foo.com) and SRTP is optional on the account?  When
someone calls me (e.g. To=sips:u@foo.com), should I expect PJSip to
make the Contact header in the reply Contact=sips:u@foo.com?  If so,
where does PJSip set the scheme of the URI?

What should I expect PJSip to use for the Contact header when I have one account (u@foo.com) and SRTP is optional on the account? When someone calls me (e.g. To=sips:u@foo.com), should I expect PJSip to make the Contact header in the reply Contact=sips:u@foo.com? If so, where does PJSip set the scheme of the URI?