diff options
author | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-10-01 19:48:58 +0000 |
---|---|---|
committer | rmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-10-01 19:48:58 +0000 |
commit | e5c9046575cb25296da54bd44c59f4ab78bf8986 (patch) | |
tree | eb72a4aeeb9440886af9e10011cc4f1eb60b096c /channels/sig_pri.h | |
parent | eebac19726172d99ae5eda7086c300090ae8277f (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: http://svn.digium.com/svn/asterisk/trunk@221701 f38db490-d61c-443f-a65b-d21fe96a405b
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 */ |