<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi,<br>
<br>
I do not contest the correctness of your cfg, but I'm simply
asking if you are 100% sure that your opensips is using the
correct opensips.cfg file ( be sure by explicitly pointing the
file via "-f" startup option).<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 11.01.2016 03:46, chiu ching cheng
wrote:<br>
</div>
<blockquote
cite="mid:CA+Ew+Jw9SVK=ogLtR3rwOPQ800_YCbP8nJEe1njJrM5BjZi7hA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="font-size:12.8px">----------------------------------------------------</div>
<div style="font-size:12.8px">openssips.cfg </div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">listen=tls:X.X.X.X:5061 #
CUSTOMIZE ME </div>
<div style="font-size:12.8px">rev_dns=no</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">advertised_address="X.X.X.X"</div>
<div style="font-size:12.8px">alias=X.X.X.X</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">loadmodule "proto_udp.so"</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">loadmodule "proto_tls.so"</div>
<div style="font-size:12.8px">modparam("proto_tls","verify_cert",
"0")</div>
<div style="font-size:12.8px">modparam("proto_tls","require_cert",
"0")</div>
<div style="font-size:12.8px">modparam("proto_tls","tls_method",
"TLSv1")</div>
<div style="font-size:12.8px">modparam("proto_tls",
"ciphers_list", "NULL")</div>
<div style="font-size:12.8px">modparam("proto_tls","certificate",
"/usr/local/etc/opensips/tls/user/user-cert.pem")</div>
<div style="font-size:12.8px">modparam("proto_tls","private_key",
"/usr/local/etc/opensips/tls/user/user-privkey.pem")</div>
<div style="font-size:12.8px">modparam("proto_tls","ca_list",
"/usr/local/etc/opensips/tls/user/user-calist.pem")</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jan 8, 2016 at 11:39 PM,
Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></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 your opensips is using the proper config
file (where the TLS interface is defined) ? <br>
<br>
Regards,<br>
</tt><span class="">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span>
<div>
<div class="h5">
<div>On 08.01.2016 12:06, chiu ching cheng wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Dear Bordan :
<div><br>
</div>
<div>
<div>netstat -lnp | grep opensips</div>
<div>udp 0 0 <a
moz-do-not-send="true"
href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>
0.0.0.0:*
1365/opensips </div>
</div>
<div><br>
</div>
<div>you can find opensips is run , but just
enable udp , not tls </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jan 6, 2016 at
5:24 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></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>Try<br>
<br>
"netstat -lnp | grep opensips"<br>
<br>
Regards,<br>
</tt><span>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span>
<div>
<div>
<div>On 06.01.2016 04:26, chiu ching
cheng wrote:<br>
</div>
<blockquote type="cite">
<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
moz-do-not-send="true"
href="http://0.0.0.0:25061"
target="_blank">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
moz-do-not-send="true"
href="http://0.0.0.0:25060"
target="_blank">0.0.0.0:25060</a>
0.0.0.0:*
LISTEN </div>
<div>udp 0 0 <a
moz-do-not-send="true"
href="http://127.0.0.1:5060"
target="_blank">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
moz-do-not-send="true"
href="mailto:bogdan@opensips.org"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a></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 moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On 28.12.2015 11:19,
chiu ching cheng wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<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
moz-do-not-send="true"
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 moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>