From 749bed5a7d59953dcce70a211942a239f5199525 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Wed, 10 Jul 2013 04:27:05 +0000 Subject: 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 --- pjsip/include/pjsua-lib/pjsua.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'pjsip/include/pjsua-lib/pjsua.h') 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 @@ -1684,6 +1684,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 -- cgit v1.2.3