Asterisk Registers With TLS, But Sends Out Calls Via UDP

Home » Asterisk Users » Asterisk Registers With TLS, But Sends Out Calls Via UDP
Asterisk Users No Comments

Hi,

I have an Asterisk 13.8.2, which is supposed to be only a client to an encrypted SIP service. All local phones are connected via UDP.

Since I can’t use PJSIP (see my mailing list post from yesterday), I
tried configuring chan_sip to work that way. My settings are:

[general]
context=public allowoverlap=no udpbindaddr=0.0.0. tlsbindaddr=0.0.0.0
tcpenable=yes tcpbindaddr=0.0.0.0
tlsenable=yes transport=udp srvlookup=yes tlscafile=/usr/local/etc/asterisk/keys/4cfd3c78.0
tlscapath=/usr/local/etc/asterisk/keys tlsclientmethod=tlsv1
sipdebug = yes

register => tls://1234567@example.org:foobar@dev.example.org

[devtrunk]
type=peer host=example.org defaultuser34567
fromuser34567
remotesecret=foobar transport=tls outboundproxy