I am using FreeSWITCH demo configuration to test SRTP calls. I am placing a call between endpoint 1000 and 1001. The call works fine when SRTP is disabled on the softphones. The problem starts when I enable SRTP on the softphones. I also enabled SRTP on FreeSWITCH server, by including the following command in vars.xml:
<X-PRE-PROCESS cmd="set"
data="sip_secure_media=true"/>
When I try to place a call between the two endpoints now, I end up with one side immediately hanging up.