Once you have your certificate, key and ca_list in default location
./voip_patrol -c ./xml/tls.xml
[18:24:51.800][INFO] main: TLS tcfg.tlsConfig.ca_list :tls/ca_list.pem
[18:24:51.800][INFO] main: TLS tcfg.tlsConfig.certFile :tls/certificate.pem
[18:24:51.800][INFO] main: TLS tcfg.tlsConfig.privKeyFile :tls/key.pem
tls.xml
<?xml version="1.0"?>
<config>
<actions>
<action type="register" transport="tls" expected_cause_code="200" username="VP_ENV_USERNAME" password="VP_ENV_PASSWORD" realm="domain.com" registrar="ep.domain.com"/>
<action type="wait" complete/>
<action type="accept" account="VP_ENV_USERNAME" max_duration="20" hangup="5"/>
<action type="call" transport="tls"
wait_until="3" expected_cause_code="200"
caller="12062349971@1.1.1.1" callee="12012343238@ep.domain.com" max_duration="15" hangup="5"
username="VP_ENV_USERNAME" password="VP_ENV_PASSWORD" realm="domain.com"
/>
<action type="wait" complete/>
</actions>
</config>