diff options
author | Richard Mudgett <rmudgett@digium.com> | 2012-04-20 00:57:13 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2012-04-20 00:57:13 +0000 |
commit | 73f48997f90eda77c56fdefbf5f1e3346d2f86a7 (patch) | |
tree | 9a919c0fb4d0188db743e9b4e6c31f414305c993 /include/asterisk/channel.h | |
parent | 92ca507d72d96313fb834269db0e19ea28eff37a (diff) |
Add original party id and reason support.
ISDN ETSI PTP and Q.SIG (And SS7 in future) have support for reporting who
was the original redirecting party of a call.
* Added support for the original redirecting party and reason to the
REDIRECTING function and the system core as well as to the stubbed
locations in sig_pri.c.
Review: https://reviewboard.asterisk.org/r/1829/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@362779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 54faa1d51..ab6c736ed 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -449,6 +449,9 @@ struct ast_set_party_connected_line { * \note NULL and "" must be considered equivalent. */ struct ast_party_redirecting { + /*! \brief Who originally redirected the call (Sent to the party the call is redirected toward) */ + struct ast_party_id orig; + /*! \brief Who is redirecting the call (Sent to the party the call is redirected toward) */ struct ast_party_id from; @@ -460,6 +463,9 @@ struct ast_party_redirecting { /*! \brief enum AST_REDIRECTING_REASON value for redirection */ int reason; + + /*! \brief enum AST_REDIRECTING_REASON value for redirection by original party */ + int orig_reason; }; /*! @@ -467,6 +473,8 @@ struct ast_party_redirecting { * \brief Indicate what information in ast_party_redirecting should be set. */ struct ast_set_party_redirecting { + /*! What redirecting-orig id information to set. */ + struct ast_set_party_id orig; /*! What redirecting-from id information to set. */ struct ast_set_party_id from; /*! What redirecting-to id information to set. */ |