<div dir="rtl"><div dir="ltr">Hello,</div>
<div dir="ltr"> </div>
<div dir="ltr"> We have a Vegastream ATA adapter working fine with FreeSwitch as long as we do not enable TLS. Once TLS is enabled, I see the following behavior:</div>
<div dir="ltr"> </div>
<ul dir="ltr">
<li>
<div>The adapter creates a TLS tunnel with Freeswitch and registers itself. However, I see one difference in the registration between this adapter and other adapters/phones:</div></li>
<ul>
<li>
<div>The VegaStream adapter is registered as:<br>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3">Contact:<span> </span><span> </span>"user" <<a href="http://sips:80632@10.64.1.6:5061">sips:80632@10.64.1.6:5061</a>><br>
<font face="Consolas"><font size="3">St</font></font></font></font><font face="Consolas"><font size="3"><font face="Consolas"><font size="3">atus:<span> </span><span> </span>Registered(TLS)(unknown) EXP(2010-03-23 08:50:26)</font></font></font></font></p>
</div></li>
<li>
<div>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font size="3" face="times new roman,serif"></font><font face="Consolas"><font face="arial,helvetica,sans-serif">Other TLS phones register as:<br><font face="Consolas">Contact:<span> </span><span> </span>"user" <sips:80631@10.64.0.8:5061;transport=tls><br>
Status:<span> </span><span> </span>Registered(TLS)(unknown) EXP(2010-03-23 08:37:35)</font></font></font></p></div></li>
<li>
<div>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3"><font size="2"><font face="arial,helvetica,sans-serif">What I see is the difference in the "contact" field in which the transport=tls clause is missing.</font></font></font></font></p>
</div></li></ul>
<li>
<div>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3"><font size="2" face="Arial">When a user on the ATA dials out, the request is sent via TLS and all is fine.</font></font></font></p></div>
</li>
<li>
<div>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3"><font size="2" face="Arial">When someone calls an ATA extension, Freeswitch sends the request to the ATA via SIP/UDP and not via SIP/TLS</font></font></font></p>
</div></li></ul>
<div dir="ltr">
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3"><font size="2" face="Arial">I've contacted the manufacturer who claims that according to RFC5630 it should send the request via TLS as it is registered as TLS. I have a feeling that the erronous behaviour is because they do not append "transport=tls" to the contact field, although they claim it is not required.</font></font></font></p>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3"><font size="2" face="Arial"></font></font></font> </p>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3"><font size="2" face="Arial">Who is right and who is wrong?</font></font></font></p>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3"><font size="2" face="Arial"></font></font></font> </p>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"><font face="Consolas"><font size="3"><font size="2" face="Arial"> Thanks! __Yehavi:</font></font></font></p>
<p style="TEXT-ALIGN: left; MARGIN: 0cm 0cm 0pt"> </p></div></div>