<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p>
Hallo there!<br />
1. i have Asterisk 1.8.2.2<br />
2. installed on Debian<br />
3. MySQL used as backend<br />
4. I have configured TLS<br />
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;" class="Apple-style-span"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 12px;" class="Apple-style-span">openssl genrsa -out key.pem 1024 <span class="Apple-converted-space"><br /></span></span></span><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;" class="Apple-style-span"><span style="font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; font-size: 12px;" class="Apple-style-span">openssl req -new -key key.pem -out request.pem<span class="Apple-converted-space"> <br />
rtc<br />
<br />
in sip.conf<br /></span></span></span><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium;" class="Apple-style-span"><span style="font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12px;" class="Apple-style-span">tlsenable=yes<span class="Apple-converted-space"> </span><br />
tlsbindaddr=0.0.0.0  [i am begind NAT]<br />
tlscertfile=/etc/asterisk/certificates/hereismyfilename.pem<span class="Apple-converted-space"> </span><br />
tlsdontverifyserver=no<span class="Apple-converted-space"> </span><br />
tlscipher=DES-CBC3-SHA<span class="Apple-converted-space"> </span><br />
tlsclientmethod=tlsv1 </span></span><br />
<br />
And to one test client i added:<br />
transport=tls<br />
<br />
Then i tryed to connect with BRIA softphone with enabled transport TLS and there is nothing happening... the phone is not connecting anv there is no message in CLI. But when i try to connect thru UDP then CLI says: Device not configured to use this transport type<br />
<br />
Only with sip cinfigured to udp all is working.<br />
<br />
Where could be my dumb mistake?<br />
<br />
Thx for any suggestion!<br />
--<br />
Best regards<br />
Matiss Jekabsons<br />
Procerto Ltd.<br />
</p>
</body>
</html>