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/src/pjsua-lib/pjsua_core.c

    r3119 r3128  
    177177    cfg->srtp_secure_signaling = pjsua_var.ua_cfg.srtp_secure_signaling; 
    178178#endif 
     179    cfg->reg_retry_interval = PJSUA_REG_RETRY_INTERVAL; 
    179180} 
    180181 
     
    15261527} 
    15271528 
     1529void pjsua_acc_on_tp_state_changed(pjsip_transport *tp, 
     1530                                   pjsip_transport_state state, 
     1531                                   const pjsip_transport_state_info *info); 
     1532 
    15281533/* Callback to receive transport state notifications */ 
    15291534static void on_tp_state_callback(pjsip_transport *tp, 
     
    15371542        (*pjsua_var.old_tp_cb)(tp, state, info); 
    15381543    } 
     1544    pjsua_acc_on_tp_state_changed(tp, state, info); 
    15391545} 
    15401546 
Note: See TracChangeset for help on using the changeset viewer.