summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2013-07-10 04:27:05 +0000
committerLiong Sauw Ming <ming@teluu.com>2013-07-10 04:27:05 +0000
commit749bed5a7d59953dcce70a211942a239f5199525 (patch)
tree75b38ce0610b7086d800f253fd2e5cf0a5ebbdb4 /pjsip/include
parentfc938ab05ef6ea7e2c81c5d1e72a75eb89b03b13 (diff)
Closed #1688: Add support for different To and Target URI in outgoing call and sending IM
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4555 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index ef408764..e6698b72 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -1685,6 +1685,13 @@ PJ_DECL(void) pjsua_config_dup(pj_pool_t *pool,
struct pjsua_msg_data
{
/**
+ * Optional remote target URI (i.e. Target header). If NULL, the target
+ * will be set to the remote URI (To header). At the moment this field
+ * is only used by #pjsua_call_make_call() and #pjsua_im_send().
+ */
+ pj_str_t target_uri;
+
+ /**
* Additional message headers as linked list. Application can add
* headers to the list by creating the header, either from the heap/pool
* or from temporary local variable, and add the header using