Changeset 734 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
- Timestamp:
- Sep 22, 2006 4:55:42 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r685 r734 979 979 } 980 980 981 /* Set route-set */982 if (!pj_list_empty(&acc->route_set)) {983 pjsip_dlg_set_route_set(dlg, &acc->route_set);984 }985 986 /* Set credentials */987 if (acc->cred_cnt) {988 pjsip_auth_clt_set_credentials( &dlg->auth_sess,989 acc->cred_cnt, acc->cred);990 }991 992 981 status = pjsip_pres_create_uac( dlg, &pres_callback, 993 982 PJSIP_EVSUB_NO_EVENT_ID, &buddy->sub); … … 1000 989 } 1001 990 991 /* Set route-set */ 992 if (!pj_list_empty(&acc->route_set)) { 993 pjsip_dlg_set_route_set(dlg, &acc->route_set); 994 } 995 996 /* Set credentials */ 997 if (acc->cred_cnt) { 998 pjsip_auth_clt_set_credentials( &dlg->auth_sess, 999 acc->cred_cnt, acc->cred); 1000 } 1001 1002 1002 pjsip_evsub_set_mod_data(buddy->sub, pjsua_var.mod.id, buddy); 1003 1003
Note: See TracChangeset
for help on using the changeset viewer.