Feb 24, 2010 5:43:34 AM (13 years ago)

Ticket #1032:

  • Initial version of server domain name verification:
    • Updated SSL certificate info, especially identities info
    • Updated verification mechanism as in the specifications in ticket desc.
    • Added server domain name info in pjsip_tx_data.
    • Added alternative API for acquiring transport and creating transport of transport factory to include pjsip_tx_data param.
    • Server identity match criteria:
      • full host name match
      • wild card not accepted
      • if identity is URI, it must be SIP/SIPS URI
  • Initial version of transport state notifications:
    • Added new API to set transport state callback in PJSIP and PJSUA.
    • Defined states: connected/disconnected, accepted/rejected, verification errors.
  • Minors:
    • Updated SSL socket test: dump verification result, test of requiring client cert, and few minors.
    • Updated test cert to include subjectAltName extensions.
    • Added SSL certificate dump function.
    • Updated max number of socket async operations in Symbian sample apps (RSocketServ::Connect()) to 32 (was default 8).
1 edited


  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r3078 r3106  
    844844    void (*on_mwi_info)(pjsua_acc_id acc_id, pjsua_mwi_info *mwi_info); 
     846    /** 
     847     * This callback is called when transport state is changed. See also 
     848     * #pjsip_tp_state_callback. 
     849     * 
     850     * @param tp        The transport instance. 
     851     * @param state     The transport state, this may contain single or  
     852     *                  combination of transport state types defined in 
     853     *                  #pjsip_transport_state_type. 
     854     * @param info      The transport state info. 
     855     * 
     856     * @return          When TLS verification fails and peer verification in 
     857     *                  #pjsip_tls_setting is not set, application may return 
     858     *                  PJ_TRUE to ignore the verification result and continue 
     859     *                  using the transport. On other cases, this return value 
     860     *                  is currently not used and will be ignored. 
     861     */ 
     862    pj_bool_t (*on_transport_state)(pjsip_transport *tp, pj_uint32_t state, 
     863                                    const pjsip_transport_state_info *info); 
    846865} pjsua_callback; 
Note: See TracChangeset for help on using the changeset viewer.