Ignore:
Timestamp:
May 31, 2016 4:28:00 AM (8 years ago)
Author:
nanang
Message:

Re #1918:

  • Fixed issue of cannot make/receive call after previous call initialization fails due to STUN error, reproducing steps:
    1. Configure an account with acc->cfg.media_stun_use set PJSUA_STUN_RETRY_ON_FAILURE.
    2. Start pjsua with STUN servers A and B configured. On startup, both STUN servers A and B are available, so PJSIP will use STUN server A
    3. Both STUN server A and B become unavailable
    4. Make an outgoing call.
    5. Pjsua first tries with STUN server A, fails
    6. Pjsua then retry with STUN server B, still fails
    7. PJSIP then aborts the call with error (which is desired!)
    8. Both STUN server A and B become available again
    9. User tries to dial or receive an incoming call, but cannot because the last STUN server status is stored and used in making/receiving call without retrying to resolve STUN server.
  • Fixed deadlock issues.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r5307 r5326  
    33263326     * Control the use of STUN for the media transports. 
    33273327     * 
    3328      * Default: PJSUA_STUN_USE_DEFAULT 
     3328     * Default: PJSUA_STUN_RETRY_ON_FAILURE 
    33293329     */ 
    33303330    pjsua_stun_use              media_stun_use; 
Note: See TracChangeset for help on using the changeset viewer.