Ignore:
Timestamp:
Mar 30, 2010 11:13:59 AM (14 years ago)
Author:
nanang
Message:

Ticket #1044:

  • Added initial version of automatic re-registration after registration failure and automatic call disconnection after re-registration attempt fails.
  • Published auto re-registration setting to pjsua app.
  • Updated pjsip_regc_send() to retrieve the transport earlier (was only in tsx_callback()).
  • Fixed TCP and TLS transport to prevent transport deletion in transport disconnection callback.
  • Fixed wrong keep-alive settings used by TLS transport (was using TCP keep-alive settings).
File:
1 edited

Legend:

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

    r3119 r3128  
    129129    int              reg_last_code; /**< Last status last register.     */ 
    130130 
     131    struct { 
     132        pj_bool_t        active;    /**< Flag of reregister status.     */ 
     133        pj_timer_entry   timer;     /**< Timer for reregistration.      */ 
     134        void            *reg_tp;    /**< Transport for registration.    */ 
     135        unsigned         attempt_cnt; /**< Attempt counter.             */ 
     136    } auto_rereg;                   /**< Reregister/reconnect data.     */ 
     137 
    131138    pj_timer_entry   ka_timer;      /**< Keep-alive timer for UDP.      */ 
    132139    pjsip_transport *ka_transport;  /**< Transport for keep-alive.      */ 
Note: See TracChangeset for help on using the changeset viewer.