<span style='font-family:Verdana'><span style='font-size:12px'><div>
        <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family: verdana;"><span style="font-size: 12px;">Hi All,<br />
        <br />
        Is it possible to </span></span>explicitly tell sofia to register as a client using TLS? Here's my TLS-related part of sofia config:<br />
        <br />
         <profiles><br />
         <profile name="external"><br />
         <domains><br />
         <domain name="all" alias="true" parse="false"/><br />
         </domains><br />
         <gateways><br />
         <gateway name="xxx"><br />
         <param name="register" value="true"/><br />
         <param name="username" value="yyy"/><br />
         <param name="realm" value="remote_ip_here:5061"/><br />
         <param name="password" value="zzz"/><br />
         <param name="register-transport" value="tcp"/><br />
         <param name="expire-seconds" value="3600"/><br />
         <param name="retry-seconds" value="60" /><br />
         </gateway><br />
         </gateways><br />
         <settings><br />
         ...<br />
         <param name="context" value="external"/><br />
         <param name="sip-port" value="5060"/><br />
         <param name="tls" value="true"/><br />
         <param name="tls-only" value="false"/><br />
         <param name="tls-bind-params" value="transport=tls"/><br />
         <param name="contact-params" value="tport=tcp"/><br />
         <param name="tls-version" value="sslv23"/><br />
         <param name="tls-cert-dir" value="/usr/local/freeswitch/conf/ssl"/><br />
         <param name="tls-sip-port" value="5061"/><br />
         <param name="dialplan" value="XML"/><br />
         ...<br />
        <br />
         </settings><br />
         </profile><br />
         </profiles><br />
        <br />
        But that does not work...<br />
        <br />
        tport_connected( </span></span>
        <div id=":10l">
                <span style="font-family:Verdana"><span style="font-size:12px"><span>0x7f9b44014110): events CONNECTED<br />
                tport_send_event(<span>0x7f9b44014110) - ready to send to (tcp/<a href="http://212.58.166.54:5061" target="_blank">remote_ip_here:5061</a>)<br />
                tport_vsend(0x7f9b44014110): 600 bytes of 600 to tcp/<a href="http://212.58.166.54:5061" target="_blank">remote_ip_here:5061</a><br />
                tport_vsend returned 600<br />
                tport_set_events(<span>0x7f9b44014110): events IN<br />
                tport(0x7f9b44014110): reset timer<br />
                tport_wakeup(0x7f9b44014110): events IN HUP ERR<br />
                tport_release(0x7f9b44014110): 0x7f9b4401a460 by 0x7f9b4402ca70 with (nil)<br />
                <span style="background-color:rgb(255,102,102)">nta: REGISTER (29733430): Connection reset by peer (104) with tcp/[remote_ip_here]:5061</span><br />
                <span style="background-color:rgb(255,102,102)">nua(0x7f9b440196a0): event r_register 503 Service Unavailable</span></span></span></span> </span></span></div>
        <br />
        <span style="font-family:Verdana"><span style="font-size:12px"><span><span><span>Any ideas what I'm doing wrong?<br />
        <br />
        Thanks / MiKe</span></span></span></span></span></div>
</span></span>