summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/sip_util.h
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2013-02-13 10:19:25 +0000
committerNanang Izzuddin <nanang@teluu.com>2013-02-13 10:19:25 +0000
commitdaf6fa9d2e92d91df192d59540058f5f0f99a477 (patch)
treecd01de82578fc751dfbd623ca8267903a7f492c7 /pjsip/include/pjsip/sip_util.h
parentc0eaf417c356756c1dee311fdad96c284ec08941 (diff)
Close #1614: Added call redirect option PJSIP_REDIRECT_ACCEPT_REPLACE to accept call redirection with replaced 'To' header.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4347 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip/sip_util.h')
-rw-r--r--pjsip/include/pjsip/sip_util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_util.h b/pjsip/include/pjsip/sip_util.h
index 5be44729..226dccd6 100644
--- a/pjsip/include/pjsip/sip_util.h
+++ b/pjsip/include/pjsip/sip_util.h
@@ -92,6 +92,13 @@ typedef enum pjsip_redirect_op
PJSIP_REDIRECT_ACCEPT,
/**
+ * Accept the redirection to the current target and replace the To
+ * header in the INVITE request with the current target. The INVITE
+ * request will be resent to the current target.
+ */
+ PJSIP_REDIRECT_ACCEPT_REPLACE,
+
+ /**
* Defer the redirection decision, for example to request permission
* from the end user.
*/