Group hangtime added

new value, per IPSC, added for call contention handling.
This commit is contained in:
Cort Buffington 2015-05-14 23:00:47 -05:00
parent e2c47ed6ca
commit 6612ba70ef
1 changed files with 4 additions and 10 deletions

View File

@ -18,33 +18,27 @@ directions.
THIS EXAMPLE WILL NOT WORK AS IT IS - YOU MUST SPECIFY NAMES AND GROUP IDS!!! THIS EXAMPLE WILL NOT WORK AS IT IS - YOU MUST SPECIFY NAMES AND GROUP IDS!!!
NOTES: NOTES:
* Only GROUP_VOICE is currently used by the bridge.py appication, the other * PRIVATE_VOICE is not yet implemented
types are placeholders for when it does more. * GROUP_HANGTIME should be set to the same value as the repeaters in the IPSC network
''' '''
RULES = { RULES = {
'IPSC_FOO': { 'IPSC_FOO': {
'GROUP_HANGTIME': 5,
'GROUP_VOICE': [ 'GROUP_VOICE': [
{'SRC_GROUP': 1, 'SRC_TS': 1, 'DST_NET': 'IPSC_BAR', 'DST_GROUP': 2, 'DST_TS': 2}, {'SRC_GROUP': 1, 'SRC_TS': 1, 'DST_NET': 'IPSC_BAR', 'DST_GROUP': 2, 'DST_TS': 2},
# Repeat the above line for as many rules for this IPSC network as you want. # Repeat the above line for as many rules for this IPSC network as you want.
], ],
'PRIVATE_VOICE': [ 'PRIVATE_VOICE': [
],
'GROUP_DATA': [
],
'PRIVATE_DATA': [
] ]
}, },
'IPSC_BAR': { 'IPSC_BAR': {
'GROUP_HANGTIME': 5,
'GROUP_VOICE': [ 'GROUP_VOICE': [
{'SRC_GROUP': 2, 'SRC_TS': 2, 'DST_NET': 'IPSC_FOO', 'DST_GROUP': 1, 'DST_TS': 1}, {'SRC_GROUP': 2, 'SRC_TS': 2, 'DST_NET': 'IPSC_FOO', 'DST_GROUP': 1, 'DST_TS': 1},
# Repeat the above line for as many rules for this IPSC network as you want. # Repeat the above line for as many rules for this IPSC network as you want.
], ],
'PRIVATE_VOICE': [ 'PRIVATE_VOICE': [
],
'GROUP_DATA': [
],
'PRIVATE_DATA': [
] ]
} }
} }