[OpenSIPS-Users] tls for opensips

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Sep 12 15:44:18 CEST 2014


Hi,

before starting opensips, do :
     netstat -tlnp | grep 5061

to check if there is any other app listening on 5061.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 11.09.2014 12:44, george wu wrote:
> I can make opensips works for tcp and udp.
> But the tls does not work.
>
>  I test it with linphone.
> But it complains:|
> Could not start tls transport on port 5161, maybe this port is already 
> used.|
> I google it and get
> http://linuxexchange.org/questions/3383/error-when-configuring-linphone-to-use-sip-tls-and-zrtp-encryption
> He said it is problem of server.
>
> I can't find any error message from opensips.
> How can I debug it? thanks.
>
> This is the opensips.cfg part for tls:
>
>
>
> listen=udp:192.168.1.3:5060   # CUSTOMIZE ME
>
> disable_tcp=no
> listen=tcp:192.168.1.3:5060   # CUSTOMIZE ME
>
> disable_tls=no
> listen=tls:192.168.1.3:5061   # CUSTOMIZE ME
> tls_verify_server=0
> tls_verify_client = 0
> tls_require_client_certificate = 0
> tls_method = TLSv1
> tls_certificate = "/develop/opensips/etc/opensips/tls/user/user-cert.pem"
> tls_private_key = 
> "/develop/opensips/etc/opensips/tls/user/user-privkey.pem"
> tls_ca_list = "/develop/opensips/etc/opensips/tls/user/user-calist.pem"
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140912/946d697d/attachment.htm>


More information about the Users mailing list