- Timestamp:
- Jul 10, 2013 4:27:05 AM (11 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r4543 r4555 1686 1686 { 1687 1687 /** 1688 * Optional remote target URI (i.e. Target header). If NULL, the target 1689 * will be set to the remote URI (To header). At the moment this field 1690 * is only used by #pjsua_call_make_call() and #pjsua_im_send(). 1691 */ 1692 pj_str_t target_uri; 1693 1694 /** 1688 1695 * Additional message headers as linked list. Application can add 1689 1696 * headers to the list by creating the header, either from the heap/pool -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4537 r4555 723 723 status = pjsip_dlg_create_uac( pjsip_ua_instance(), 724 724 &acc->cfg.id, &contact, 725 dest_uri, dest_uri, &dlg); 725 dest_uri, 726 (msg_data->target_uri.slen? 727 &msg_data->target_uri: dest_uri), 728 &dlg); 726 729 if (status != PJ_SUCCESS) { 727 730 pjsua_perror(THIS_FILE, "Dialog creation failed", status); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r4537 r4555 162 162 msg_data = PJ_POOL_ZALLOC_T(pool, pjsua_msg_data); 163 163 PJ_ASSERT_RETURN(msg_data != NULL, NULL); 164 165 pj_strdup(pool, &msg_data->target_uri, &rhs->target_uri); 164 166 165 167 pj_list_init(&msg_data->hdr_list); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c
r4424 r4555 525 525 /* Create request. */ 526 526 status = pjsip_endpt_create_request(pjsua_var.endpt, 527 &pjsip_message_method, to, 527 &pjsip_message_method, 528 (msg_data->target_uri.slen? 529 &msg_data->target_uri: to), 528 530 &acc->cfg.id, 529 531 to, NULL, NULL, -1, NULL, &tdata);
Note: See TracChangeset
for help on using the changeset viewer.