Ignore:
Timestamp:
Jul 31, 2008 8:32:46 AM (11 years ago)
Author:
bennylp
Message:

Fixed ticket #582: Extended presence status is not sent in initial NOTIFY request (thanks Joseph Maiquez for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r2159 r2186  
    10711071        pjsua_call_hangup_all(); 
    10721072 
     1073        /* Set all accounts to offline */ 
     1074        for (i=0; i<(int)PJ_ARRAY_SIZE(pjsua_var.acc); ++i) { 
     1075            if (!pjsua_var.acc[i].valid) 
     1076                continue; 
     1077            pjsua_var.acc[i].online_status = PJ_FALSE; 
     1078            pj_bzero(&pjsua_var.acc[i].rpid, sizeof(pjrpid_element)); 
     1079        } 
     1080 
    10731081        /* Terminate all presence subscriptions. */ 
    10741082        pjsua_pres_shutdown(); 
Note: See TracChangeset for help on using the changeset viewer.