<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Mi Ke,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You should put your actual remote provider’s domain name or tip address in where it says “</span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif";color:red'>remote_ip_here</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>” and I assume you have entered you actual username and password where it says “yyy” and “zzz”.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> It should look SIMILAR to this, but with your provider: </span><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><param name="realm" value="<span style='color:red'>sip.voipinnovations.com</span>:5061"/></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hope that helps,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sean<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Mi Ke<br><b>Sent:</b> Wednesday, June 20, 2012 11:46 AM<br><b>To:</b> Freeswitch Users<br><b>Subject:</b> [Freeswitch-users] gateway registration using TLS<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>Hi All,<br><br>Is it possible to 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="<span style='color:red'>remote_ip_here</span>: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( <o:p></o:p></span></p><div id=":10l"><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>0x7f9b44014110): events CONNECTED<br>tport_send_event(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(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:#FF6666'>nta: REGISTER (29733430): Connection reset by peer (104) with tcp/[remote_ip_here]:5061</span><br><span style='background:#FF6666'>nua(0x7f9b440196a0): event r_register 503 Service Unavailable</span> <o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'><br>Any ideas what I'm doing wrong?<br><br>Thanks / MiKe<o:p></o:p></span></p></div></div></body></html>