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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to