Changeset 5675 for pjproject


Ignore:
Timestamp:
Oct 19, 2017 4:09:49 AM (2 years ago)
Author:
ming
Message:

Re #2045 (misc): Add more doc to explain the specific SIP error codes and conditions which will trigger automatic registration retry upon failure.

File:
1 edited

Legend:

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

    r5649 r5675  
    36593659 
    36603660    /** 
    3661      * Specify interval of auto registration retry upon registration failure 
    3662      * (including caused by transport problem), in second. Set to 0 to 
    3663      * disable auto re-registration. Note that if the registration retry 
    3664      * occurs because of transport failure, the first retry will be done 
    3665      * after \a reg_first_retry_interval seconds instead. Also note that 
    3666      * the interval will be randomized slightly by some seconds (specified 
    3667      * in \a reg_retry_random_interval) to avoid all clients re-registering 
    3668      * at the same time. 
     3661     * Specify interval of auto registration retry upon registration failure, 
     3662     * in seconds. Set to 0 to disable auto re-registration. Note that 
     3663     * registration will only be automatically retried for temporal failures 
     3664     * considered to be recoverable in relatively short term, such as: 
     3665     * 408 (Request Timeout), 480 (Temporarily Unavailable), 
     3666     * 500 (Internal Server Error), 502 (Bad Gateway), 
     3667     * 503 (Service Unavailable), 504 (Server Timeout), 
     3668     * 6xx (global failure), and failure caused by transport problem. 
     3669     * For registration retry caused by transport failure, the first retry 
     3670     * will be done after \a reg_first_retry_interval seconds instead. 
     3671     * Note that the interval will be randomized slightly by some seconds 
     3672     * (specified in \a reg_retry_random_interval) to avoid all clients 
     3673     * re-registering at the same time. 
    36693674     * 
    36703675     * See also \a reg_first_retry_interval setting. 
Note: See TracChangeset for help on using the changeset viewer.