|All requests||>||Recommendation for a PHP sip client c...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Jay Mali - 6 months ago (2020-11-13)
I am using SSL connection to connecting to the sip2 server but now the server upgraded to require TLS 1.2.
We use this below class (sip2.class.php) to connect SIP2 server and that class uses SSL connect. Any suggestion on how will connect using TLS 1.2 with below script using PHP?
2. by adam berger - 5 months ago (2020-11-16) Reply
stream_socket_client ('tlsv1.2: //'.$host.': '. $ port, $ errno, $ errstr, 30, STREAM_CLIENT_CONNECT, $ context)
1. by Manuel Lemos - 6 months ago (2020-11-14) Reply
It seems you need a more modern class that forces a TLS 1.2 SSL connection.
here is the problem of the connection itself, if the license allows, you can add such connections yourself, e.g. stream_socket_client ('tlsv1.2: //'.$host.': '. $ port, $ errno, $ errstr, 30, STREAM_CLIENT_CONNECT, $ context)