diff options
author | Richard Mudgett <rmudgett@digium.com> | 2009-10-01 19:48:58 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2009-10-01 19:48:58 +0000 |
commit | 9c05faf76d25106a234eca2f86eaa8869c46aacc (patch) | |
tree | eb72a4aeeb9440886af9e10011cc4f1eb60b096c /channels/sig_pri.h | |
parent | aaa7284c0007e41b3de86244d527585f9cff8a11 (diff) |
Prevent deadlock if chan_dahdi attempts to change PRI channel names.
The PRI channels can no longer change the channel name if a different B
channel is selected during call negotiation. To prevent using the channel
name to infer what B channel a call is using and to avoid name collisions,
the channel name format is changed.
The new channel naming for PRI channels is:
DAHDI/ISDN-<span>-<sequence-number>
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@221701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sig_pri.h')
-rw-r--r-- | channels/sig_pri.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/sig_pri.h b/channels/sig_pri.h index fb4668082..41bd53c83 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -211,6 +211,7 @@ struct sig_pri_pri { int resetting; /*!< true if span is being reset/restarted */ int resetpos; /*!< current position during a reset (-1 if not started) */ int sig; /*!< ISDN signalling type (SIG_PRI, SIG_BRI, SIG_BRI_PTMP, etc...) */ + int new_chan_seq; /*!< New struct ast_channel sequence number */ /* Everything after here is internally set */ struct pri *dchans[NUM_DCHANS]; /*!< Actual d-channels */ |