Status: Accepted
Owner: [email protected]
CC: [email protected], [email protected], [email protected]
Labels: Type-Enhancement Priority-Medium Component-SS7 Roadmap-Fix
Version-2.0.0.BETA4
New issue 198 by [email protected]: SCCP CLI interface update
http://code.google.com/p/jss7/issues/detail?id=198
1. "sccp rule create ..." & "sccp rule modify ..." commands update:
Old:
sccp rule create <id> <mask> <address-indicator> <point-code>
<subsystem-number>
<translation-type> <numbering-plan> <nature-of-address-indicator> <digits>
<ruleType>
<primary-address-id> <backup-address-id> <loadsharing-algorithm>
New:
sccp rule create <id> <mask> <address-indicator> <point-code>
<subsystem-number>
<translation-type> <numbering-plan> <nature-of-address-indicator> <digits>
<originationType>
<ruleType> <loadsharing-algorithm> <primary-address-id> <backup-address-id>
newCallingPartyAddress <new-callingPartyAddress-id>
<originationType> is an optional parameter which can be:
"localOriginated" or "remoteOriginated".
If this parameter is "localOriginated" than a rule applies only for
messages that are originated
from local SCCP users (for example a local TCAP stack)
If this parameter is "remoteOriginated" than a rule applies only for
messages that are NOT originated
from local SCCP users but come from SS7 network
If this parameter is absent a rule applies to all messages regardless of
there originating
<ruleType> - values: solitary, dominant, loadshared, broadcast
"broadcast" meaning:
Both (primary and backup) addresses are used and mandatory.
All messages are routed to both addresses even all of them are avalable.
<loadsharing-algorithm> we use only if <ruleType>==loadsharing
possible values: bit0, bit1, bit2, bit3, bit4
<backup-address-id> we use only if <ruleType>!=solitary
<new-callingPartyAddress-id> is optional
other parameters are mandatory
<originationType> -
2. Commands
sccp primary_add create ...
sccp backup_add create ...
sccp primary_add modify ...
sccp backup_add modify ...
sccp primary_add delete ...
sccp backup_add delete ...
sccp primary_add show ...
sccp backup_add show ...
will be replaced with:
sccp address create ...
sccp address modify ...
sccp address delete ...
sccp address show ...
so we will have a single address list for primary, backup and
newCallingPartyAddress addresses
Please fill free to camment if something is wrong