diff options
author | Richard Mudgett <rmudgett@digium.com> | 2010-06-14 15:55:35 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2010-06-14 15:55:35 +0000 |
commit | 93a5e74e37b8a1afd31b6ed75420d3535e34bd61 (patch) | |
tree | ecdc20e3f2fee15f70657ad0272c8466696e1f9c /channels/sig_pri.h | |
parent | 2743e9b2acd57827ec151dfe3233d372d90b3bbd (diff) |
Add digit manipulation tag support to chan_dahdi/sig_pri like chan_misdn.
Add the append_msn_to_cid_tag option to chan_dahdi like chan_misdn.
Review: https://reviewboard.asterisk.org/r/696/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@270219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r-- | channels/sig_pri.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h index 7fbac2770..ef5c29b4f 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -190,6 +190,8 @@ struct sig_pri_chan { char cid_subaddr[AST_MAX_EXTENSION]; char cid_name[AST_MAX_EXTENSION]; char cid_ani[AST_MAX_EXTENSION]; + /*! \brief User tag for party id's sent from this device driver. */ + char user_tag[AST_MAX_EXTENSION]; char exten[AST_MAX_EXTENSION]; /* Internal variables -- Don't touch */ @@ -316,6 +318,11 @@ struct sig_pri_pri { /*! \brief TRUE if we will allow incoming ISDN call waiting calls. */ unsigned int allow_call_waiting_calls:1; #endif /* defined(HAVE_PRI_CALL_WAITING) */ + /*! + * TRUE if a new call's sig_pri_chan.user_tag[] has the MSN + * appended to the initial_user_tag[]. + */ + unsigned int append_msn_to_user_tag:1; int dialplan; /*!< Dialing plan */ int localdialplan; /*!< Local dialing plan */ char internationalprefix[10]; /*!< country access code ('00' for european dialplans) */ @@ -335,6 +342,11 @@ struct sig_pri_pri { */ char mwi_mailboxes[SIG_PRI_MAX_MWI_MAILBOX_STR]; #endif /* defined(HAVE_PRI_MWI) */ + /*! + * \brief Initial user tag for party id's sent from this device driver. + * \note String set by config file. + */ + char initial_user_tag[AST_MAX_EXTENSION]; char msn_list[AST_MAX_EXTENSION]; /*!< Comma separated list of MSNs to handle. Empty if disabled. */ char idleext[AST_MAX_EXTENSION]; /*!< Where to idle extra calls */ char idlecontext[AST_MAX_CONTEXT]; /*!< What context to use for idle */ |