Changeset 881 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
- Timestamp:
- Jan 13, 2007 11:22:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r734 r881 502 502 } 503 503 504 /* If account is locked to specific transport, then lock dialog 505 * to this transport too. 506 */ 507 if (acc->cfg.transport_id != PJSUA_INVALID_ID) { 508 pjsip_tpselector tp_sel; 509 510 pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); 511 pjsip_dlg_set_transport(dlg, &tp_sel); 512 } 513 504 514 /* Attach our data to the subscription: */ 505 515 uapres = pj_pool_alloc(dlg->pool, sizeof(pjsua_srv_pres)); … … 989 999 } 990 1000 1001 /* If account is locked to specific transport, then lock dialog 1002 * to this transport too. 1003 */ 1004 if (acc->cfg.transport_id != PJSUA_INVALID_ID) { 1005 pjsip_tpselector tp_sel; 1006 1007 pjsua_init_tpselector(acc->cfg.transport_id, &tp_sel); 1008 pjsip_dlg_set_transport(dlg, &tp_sel); 1009 } 1010 991 1011 /* Set route-set */ 992 1012 if (!pj_list_empty(&acc->route_set)) {
Note: See TracChangeset
for help on using the changeset viewer.