<div dir="ltr">Dear Bogdan:<div><br></div><div>thanks your reply , but as following , the sip udp is enable , opensips is enable ,and log no error . but tls not enable </div><div><br></div><div>I ever install another opensips server which is behind the firewall and tls work fine , but this server is one interface public ip , one interface private , I just config one public ip . I don't know if this caused failure ( opensips at lease need two ip ?) . </div><div><br></div><div>thanks !</div><div><br><div><div>root@125-227-130-1:~# netstat -tuln | grep 5061</div><div>tcp 0 0 <a href="http://0.0.0.0:25061">0.0.0.0:25061</a> 0.0.0.0:* LISTEN </div><div>root@125-227-130-1:~# netstat -tuln | grep 5060</div><div>tcp 0 0 <a href="http://0.0.0.0:25060">0.0.0.0:25060</a> 0.0.0.0:* LISTEN </div><div>udp 0 0 <a href="http://127.0.0.1:5060">127.0.0.1:5060</a> 0.0.0.0:* </div><div>root@125-227-130-1:~# ps auxw | grep opensips</div><div>root 1466 0.0 0.0 70052 4248 ? S 10:12 0:00 /usr/local/sbin/opensips -P /var/run/opensips.pid</div><div>root 1467 0.0 0.0 70056 892 ? S 10:12 0:00 /usr/local/sbin/opensips -P /var/run/opensips.pid</div><div>root 1468 0.4 0.0 70052 464 ? S 10:12 0:01 /usr/local/sbin/opensips -P /var/run/opensips.pid</div><div>root 1469 0.0 0.0 70052 464 ? S 10:12 0:00 /usr/local/sbin/opensips -P /var/run/opensips.pid</div><div>root 1470 0.0 0.0 70052 656 ? S 10:12 0:00 /usr/local/sbin/opensips -P /var/run/opensips.pid</div><div>root 1471 0.0 0.0 70052 656 ? S 10:12 0:00 /usr/local/sbin/opensips -P /var/run/opensips.pid</div><div>root 1472 0.0 0.0 70052 656 ? S 10:12 0:00 /usr/local/sbin/opensips -P /var/run/opensips.pid</div><div>root 1473 0.0 0.0 70052 896 ? S 10:12 0:00 /usr/local/sbin/opensips -P /var/run/opensips.pid</div><div>root 1731 0.0 0.0 11744 924 pts/0 R+ 10:18 0:00 grep --color=auto opensips</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 5, 2016 at 9:54 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Hi,<br>
<br>
Are you sure opensips is actually started ? check logs file for
error or do "ps auxw | grep opensips"<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre><div><div class="h5">
<div>On 28.12.2015 11:19, chiu ching cheng
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Dear man :
<div><br>
</div>
<div>I install opensips 2.1.1 . It's seems ok . But I find tls
service not start . why ? It's strange . Any one can give a
explain . Thanks .</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>lsb_release -a</div>
<div>No LSB modules are available.</div>
<div>Distributor ID:<span style="white-space:pre-wrap">        </span>Ubuntu</div>
<div>Description:<span style="white-space:pre-wrap">        </span>Ubuntu
14.04.1 LTS</div>
<div>Release:<span style="white-space:pre-wrap">        </span>14.04</div>
<div>Codename:<span style="white-space:pre-wrap">        </span>trusty</div>
<div>------------------------------------------------------</div>
<div>opensipsctl restart</div>
<div><br>
</div>
<div>INFO: Restarting OpenSIPS : </div>
<div>INFO: stopped</div>
<div><br>
</div>
<div>INFO: Starting OpenSIPS : </div>
<div>INFO: started (pid: 2706)</div>
<div><br>
</div>
<div>----------------------------------------------------</div>
<div>openssips.cfg </div>
<div><br>
</div>
<div>listen=tls:X.X.X.X:5061 # CUSTOMIZE ME </div>
<div>rev_dns=no</div>
<div><br>
</div>
<div>advertised_address="X.X.X.X"</div>
<div>alias=X.X.X.X</div>
<div><br>
</div>
<div><br>
</div>
<div>loadmodule "proto_udp.so"</div>
<div><br>
</div>
<div><br>
</div>
<div>loadmodule "proto_tls.so"</div>
<div>modparam("proto_tls","verify_cert", "0")</div>
<div>modparam("proto_tls","require_cert", "0")</div>
<div>modparam("proto_tls","tls_method", "TLSv1")</div>
<div>modparam("proto_tls", "ciphers_list", "NULL")</div>
<div>modparam("proto_tls","certificate",
"/usr/local/etc/opensips/tls/user/user-cert.pem")</div>
<div>modparam("proto_tls","private_key",
"/usr/local/etc/opensips/tls/user/user-privkey.pem")</div>
<div>modparam("proto_tls","ca_list",
"/usr/local/etc/opensips/tls/user/user-calist.pem")</div>
<div><br>
</div>
<div>----------------------------------------------------------------------------------------------------</div>
<div><br>
</div>
<div>netstat -tuln | grep 5061</div>
<div>tcp 0 0 <a href="http://0.0.0.0:25061" target="_blank">0.0.0.0:25061</a>
0.0.0.0:* LISTEN </div>
</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div><br></div>