Hello,
I’m am trying to set up SRTP between two Asterisk servers. I started off by trying to configure SIP TLS. However, when I make a call with SIP TLS the SIP phone just says “connecting…” and then hangs up. In addition, when I then load the SRTP module on both machines, the call instantly fails with “Not acceptable here.”
Here is the the SIP.conf file for one of the asterisk servers:
[general]
tlsenable=yes
tlsbindaddr=0.0.0.0
tlscertfile= /var/lib/asterisk/keys/serverA.pem
tlscafile=/var/lib/asterisk/keys/ca.crt
tlscipher=ALL
tlsclientmethod=t1sv1
[serverB]
type=peer
host=192.168.1.211
defaultuser=serverA
secret=…
context=server2server
disallow=all
allow=g722
dtmfmode=rfc2833
transport=tls
The phone connected to it does have Set(CHANNEL(secure_bridge_signaling)=1) and Set(CHANNEL(seucre_bridge_media)=1)
I was wondering anyone could give me some advice on how to fix this or tell me where I can find a description of how to set up SRTP for two asterisk servers.
Thanks.