diff options
author | Liong Sauw Ming <ming@teluu.com> | 2013-07-10 04:27:05 +0000 |
---|---|---|
committer | Liong Sauw Ming <ming@teluu.com> | 2013-07-10 04:27:05 +0000 |
commit | 749bed5a7d59953dcce70a211942a239f5199525 (patch) | |
tree | 75b38ce0610b7086d800f253fd2e5cf0a5ebbdb4 /pjsip/src/pjsua-lib/pjsua_core.c | |
parent | fc938ab05ef6ea7e2c81c5d1e72a75eb89b03b13 (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/src/pjsua-lib/pjsua_core.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_core.c b/pjsip/src/pjsua-lib/pjsua_core.c index 348c9d51..d170b664 100644 --- a/pjsip/src/pjsua-lib/pjsua_core.c +++ b/pjsip/src/pjsua-lib/pjsua_core.c @@ -162,6 +162,8 @@ PJ_DEF(pjsua_msg_data*) pjsua_msg_data_clone(pj_pool_t *pool, msg_data = PJ_POOL_ZALLOC_T(pool, pjsua_msg_data); PJ_ASSERT_RETURN(msg_data != NULL, NULL); + pj_strdup(pool, &msg_data->target_uri, &rhs->target_uri); + pj_list_init(&msg_data->hdr_list); hdr = rhs->hdr_list.next; while (hdr != &rhs->hdr_list) { |