20 | | - Introduce a new SIP transport callback to notify transport states, i.e: connected, disconnected, and TLS verification errors. |
21 | | - Add verification step, domain name verification, and add this to verification status of SSL socket info. |
22 | | - If {{{verify_server/client}}} is set, TLS transport will disconnect the transport and notify the application via the new callback whenever there is any TLS verification error. |
23 | | - If {{{verify_server/client}}} is not set, TLS transport will just notify the application via the new callback, the return value of the callback will be used to decide whether transport should be shutdown (or application must always shutdown the transport when returning PJ_FALSE?). |
| 20 | - Introduce a new SIP transport callback to notify transport states, i.e: connected, disconnected, and TLS verification error. |
| 21 | - Add a verification step, i.e: domain name verification, then include its result to verification status of SSL socket info. |
| 22 | - If {{{verify_server/client}}} is set, TLS transport will disconnect the transport and notify the application via the new callback, with event type 'disconnected', whenever there is any TLS verification error. |
| 23 | - If {{{verify_server/client}}} is not set, TLS transport will just notify the application via the new callback, with event type 'TLS verification error', whenever there is any TLS verification error, the return value of the callback will be used to decide whether transport should be shutdown. In case there is no verification error, the application will be notified via the new callback with event type 'connected'. |