Changeset 2999


Ignore:
Timestamp:
Nov 9, 2009 9:52:23 AM (15 years ago)
Author:
bennylp
Message:

More #957 (TLS)

  • added missing servername setup in symbian_ua. Without this, TLS connection will fail with KErrAborted/Interrupted on some devices (it may succeed on some FP1 devices but not others)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/symbian_ua/ua.cpp

    r2998 r2999  
    5959#define ENABLE_SIP_TLS  0 // experimental 
    6060 
     61#define TLS_SRV_NAME    "pjsip.org"     // TLS servername (required for 
     62                                        // TLS transport) 
     63 
    6164// 
    6265// Configure nameserver if DNS SRV is to be used with both SIP 
     
    432435        tcfg.tls_setting.qos_params = tcfg.qos_params; 
    433436    } 
     437    tcfg.tls_setting.server_name = pj_str(TLS_SRV_NAME); 
    434438    status = pjsua_transport_create(PJSIP_TRANSPORT_TLS, &tcfg, &tid); 
    435439    if (status != PJ_SUCCESS) { 
Note: See TracChangeset for help on using the changeset viewer.