<div dir="rtl"><div dir="ltr">Hi,</div><div dir="ltr"> </div><div dir="ltr">  As a first attempt try setting the organization name and the pbx name to be the same: The fully qualified DNS name of the FreeSwitch server (name, not dotted IP). Then, set the phones to register to the name and not the IP. I know that with Polycom you must use names.</div>
<div dir="ltr"> </div><div dir="ltr">Try catching this connection with wireshark - maybe it will tell you some more details.</div><div dir="ltr"> </div><div dir="ltr">                     __Yehavi:</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div dir="ltr">2013/2/20 mehroz <span dir="ltr">&lt;<a href="mailto:mehroz.ashraf85@gmail.com" target="_blank">mehroz.ashraf85@gmail.com</a>&gt;</span></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
it seems like i am unable to get it done. Here is what i have done<br>
<br>
1. created CA (Root) certificates:<br>
./gentls_cert setup -cn <a href="http://pbx.freeswitch.org" target="_blank">pbx.freeswitch.org</a> -alt DNS:<a href="http://pbx.freeswitch.org" target="_blank">pbx.freeswitch.org</a> -org<br>
<a href="http://freeswitch.org" target="_blank">freeswitch.org</a><br>
<br>
2. created Server Certificate:<br>
./gentls_cert create_server -cn <a href="http://pbx.freeswitch.org" target="_blank">pbx.freeswitch.org</a> -alt<br>
DNS:<a href="http://pbx.freeswitch.org" target="_blank">pbx.freeswitch.org</a> -org <a href="http://freeswitch.org" target="_blank">freeswitch.org</a><br>
<br>
*I replaced <a href="http://pbx.freeswitch.org" target="_blank">pbx.freeswitch.org</a> and <a href="http://freeswitch.org" target="_blank">freeswitch.org</a> with my FS IP address in<br>
which i am listening.*<br>
<br>
3. Enabled /internal_ssl_enable=true/  and/ ip_tls_version=tlsv1/ in<br>
vars.xml .<br>
<br>
4. When i try to Register 3CX on TLS over port 5061, all i see is :<br>
tport_tls.c:869 tls_connect() tls_connect(0x7fbd94e7a5e0): events<br>
NEGOTIATING<br>
tport_tls.c:869 tls_connect() tls_connect(0x7fbd94e7a5e0): events<br>
NEGOTIATING<br>
tport_tls.c:958 tls_connect() tls_connect(0x7fbd94e7a5e0): TLS setup failed<br>
(error:00000001:lib(0):func(0):reason(1))<br>
tport.c:2084 tport_close() tport_close(0x7fbd94e7a5e0):<br>
tls/<a href="http://59.103.76.82:56863/sips" target="_blank">59.103.76.82:56863/sips</a><br>
tport.c:2730 tport_wakeup_pri() tport_wakeup_pri(0x7fbd94005090): events IN<br>
tport.c:869 tport_alloc_secondary() tport_alloc_secondary(0x7fbd94005090):<br>
new secondary tport 0x7fbd94f53c70<br>
tport_type_tls.c:603 tport_tls_accept() tport_tls_accept(0x7fbd94f53c70):<br>
new connection from tls/<a href="http://59.103.76.82:56864/sips" target="_blank">59.103.76.82:56864/sips</a>.<br>
<br>
<br>
<br>
PLease help!!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/FS-with-SSL-TLS-issues-tp7587736.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/FS-with-SSL-TLS-issues-tp7587736.html</a><br>

Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>