diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2013-02-13 10:19:25 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2013-02-13 10:19:25 +0000 |
commit | daf6fa9d2e92d91df192d59540058f5f0f99a477 (patch) | |
tree | cd01de82578fc751dfbd623ca8267903a7f492c7 /pjsip/include/pjsip | |
parent | c0eaf417c356756c1dee311fdad96c284ec08941 (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')
-rw-r--r-- | pjsip/include/pjsip/sip_util.h | 7 |
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. */ |