summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua.h
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2016-12-06 11:23:39 +0000
committerLiong Sauw Ming <ming@teluu.com>2016-12-06 11:23:39 +0000
commit2374f629df8bc471aa0fbb1e0c0dda2e3536d2d8 (patch)
tree029eb5c5c3aa6427553e10db86d0fea5876f79e3 /pjsip/include/pjsua-lib/pjsua.h
parent1b6df9b374d9e31d88854d5a270b48e26e55691e (diff)
Fixed #1983: Add option to update call Via address
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5493 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 3702ab67..137ca770 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -4297,7 +4297,17 @@ typedef enum pjsua_call_flag
* Warning: If the re-INVITE/UPDATE fails, the old media will not be
* reverted.
*/
- PJSUA_CALL_REINIT_MEDIA = 16
+ PJSUA_CALL_REINIT_MEDIA = 16,
+
+ /**
+ * Update the local invite session's Via with the via address from
+ * the account. This flag is only valid for #pjsua_call_set_hold2(),
+ * #pjsua_call_reinvite() and #pjsua_call_update(). Similar to
+ * the flag PJSUA_CALL_UPDATE_CONTACT above, this flag is useful
+ * in IP address change situation, after the local account's Via has
+ * been updated (typically with re-registration).
+ */
+ PJSUA_CALL_UPDATE_VIA = 32
} pjsua_call_flag;