Changeset 2186
- Timestamp:
- Jul 31, 2008 8:32:46 AM (16 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsua-lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r2159 r2186 1071 1071 pjsua_call_hangup_all(); 1072 1072 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 1073 1081 /* Terminate all presence subscriptions. */ 1074 1082 pjsua_pres_shutdown(); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r2162 r2186 879 879 //causing XML parsing to fail. 880 880 //pres_status.info[0].contact = pjsua_var.local_uri; 881 /* add RPID information */ 882 pj_memcpy(&pres_status.info[0].rpid, &acc->rpid, 883 sizeof(pjrpid_element)); 881 884 882 885 pjsip_pres_set_status(srv_pres->sub, &pres_status);
Note: See TracChangeset
for help on using the changeset viewer.