Changeset 3299 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
- Timestamp:
- Aug 27, 2010 6:46:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r3243 r3299 158 158 * Configuration manipulation 159 159 */ 160 161 #if (defined(PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT) && \ 162 PJ_IPHONE_OS_HAS_MULTITASKING_SUPPORT!=0) || \ 163 defined(__IPHONE_4_0) 164 void keepAliveFunction(int timeout) 165 { 166 int i; 167 for (i=0; i<(int)pjsua_acc_get_count(); ++i) { 168 if (!pjsua_acc_is_valid(i)) 169 continue; 170 171 if (app_config.acc_cfg[i].reg_timeout < timeout) 172 app_config.acc_cfg[i].reg_timeout = timeout; 173 pjsua_acc_set_registration(i, PJ_TRUE); 174 } 175 } 176 #endif 160 177 161 178 /* Show usage */ … … 2457 2474 pjsua_call_get_info(call_id, &call_info); 2458 2475 2476 if (current_call==PJSUA_INVALID_ID) 2477 current_call = call_id; 2478 2479 #ifdef USE_GUI 2480 if (!showNotification(call_id)) 2481 return; 2482 #endif 2483 2459 2484 /* Start ringback */ 2460 2485 ring_start(call_id); 2461 2462 if (current_call==PJSUA_INVALID_ID) 2463 current_call = call_id; 2464 2486 2465 2487 if (app_config.auto_answer > 0) { 2466 2488 pjsua_call_answer(call_id, app_config.auto_answer, NULL, NULL);
Note: See TracChangeset
for help on using the changeset viewer.