Comment #1 on issue 146 by [email protected]: Cleaning of xml files
created by SCCP Layer
http://code.google.com/p/jss7/issues/detail?id=146
Below are the changes to xml files.
*_sscpresource.xml file
<remoteSsn> changes
<remoteSsn>
<Key type="java.lang.Integer" value="1"/>
<Value type="org.mobicents.protocols.ss7.sccp.impl.RemoteSubSystem"
remoteSpc="2" remoteSsn="8" remoteSsnFlag="0"
markProhibitedWhenSpcResuming="false"/>
<Key type="java.lang.Integer" value="2"/>
<Value type="org.mobicents.protocols.ss7.sccp.impl.RemoteSubSystem"
remoteSpc="2" remoteSsn="6" remoteSsnFlag="0"
markProhibitedWhenSpcResuming="false"/>
</remoteSsn>
<remoteSsns>
<id value="1"/>
<value remoteSpc="6034" remoteSsn="8" remoteSsnFlag="0"
markProhibitedWhenSpcResuming="false"/>
<id value="2"/>
<value remoteSpc="6045" remoteSsn="8" remoteSsnFlag="0"
markProhibitedWhenSpcResuming="false"/>
</remoteSsns>
<remoteSpc> changes
<remoteSpc>
<Key type="java.lang.Integer" value="1"/>
<Value
type="org.mobicents.protocols.ss7.sccp.impl.RemoteSignalingPointCode"
remoteSpc="6034" remoteSpcFlag="0" mask="0"/>
<Key type="java.lang.Integer" value="2"/>
<Value
type="org.mobicents.protocols.ss7.sccp.impl.RemoteSignalingPointCode"
remoteSpc="6045" remoteSpcFlag="0" mask="0"/>
</remoteSpc>
<remoteSpcs>
<id value="1"/>
<value remoteSpc="6034" remoteSpcFlag="0" mask="0"/>
<id value="2"/>
<value remoteSpc="6045" remoteSpcFlag="0" mask="0"/>
</remoteSpcs>
<concernedSpc> changes
<concernedSpc>
<Key type="java.lang.Integer" value="1"/>
<Value
type="org.mobicents.protocols.ss7.sccp.impl.ConcernedSignalingPointCode"
remoteSpc="603"/>
<Key type="java.lang.Integer" value="2"/>
<Value
type="org.mobicents.protocols.ss7.sccp.impl.ConcernedSignalingPointCode"
remoteSpc="604"/>
</concernedSpc>
<concernedSpcs>
<id value="1"/>
<value remoteSpc="603"/>
<id value="2"/>
<value remoteSpc="604"/>
</concernedSpcs>
*_sccprouter.xml
<sap> changes
<sap>
<Key type="java.lang.Integer" value="3"/>
<Value
type="org.mobicents.protocols.ss7.sccp.impl.router.Mtp3ServiceAccessPoint"
mtp3Id="1" opc="11" ni="2">
<javolution.util.FastMap>
<Key type="java.lang.Integer" value="1"/>
<Value
type="org.mobicents.protocols.ss7.sccp.impl.router.Mtp3Destination"
firstDpc="101" lastDpc="110" firstSls="0" lastSls="255" slsMask="255"/>
</javolution.util.FastMap>
</Value>
</sap>
<sap>
<id value="3"/>
<value mtp3Id="1" opc="11" ni="2">
<mtp3DestinationMap>
<id value="1"/>
<value firstDpc="101" lastDpc="110" firstSls="0" lastSls="255"
slsMask="255"/>
</mtp3DestinationMap>
</value>
</sap>
<longMessageRule> changes
<longMessageRule>
<Key type="java.lang.Integer" value="1"/>
<Value type="org.mobicents.protocols.ss7.sccp.impl.router.LongMessageRule"
firstSpc="1" lastSpc="2" ruleType="XudtEnabled"/>
</longMessageRule>
<longMessageRule>
<id value="1"/>
<value firstSpc="1" lastSpc="2" ruleType="XudtEnabled"/>
</longMessageRule>
SccpAddress changes to
<primaryAddress>
<Key type="java.lang.Integer" value="1"/>
<Value type="org.mobicents.protocols.ss7.sccp.parameter.SccpAddress"
pc="123" ssn="0">
<ai type="org.mobicents.protocols.ss7.indicator.AddressIndicator"
ai="9"/>
<gt type="org.mobicents.protocols.ss7.sccp.parameter.GT0010" tt="1"
digits="333/---/4"/>
</Value>
<Key type="java.lang.Integer" value="2"/>
<Value type="org.mobicents.protocols.ss7.sccp.parameter.SccpAddress"
pc="321" ssn="0">
<ai type="org.mobicents.protocols.ss7.indicator.AddressIndicator"
ai="9"/>
<gt type="org.mobicents.protocols.ss7.sccp.parameter.GT0010" tt="1"
digits="333/---/4"/>
</Value>
</primaryAddress>
<backupAddress>
<Key type="java.lang.Integer" value="1"/>
<Value type="org.mobicents.protocols.ss7.sccp.parameter.SccpAddress"
pc="123" ssn="0">
<ai type="org.mobicents.protocols.ss7.indicator.AddressIndicator"
ai="9"/>
<gt type="org.mobicents.protocols.ss7.sccp.parameter.GT0010" tt="1"
digits="333/---/4"/>
</Value>
</backupAddress>
<primaryAddress>
<id value="1"/>
<sccpAddress pc="123" ssn="0">
<ai value="9"/>
<gt type="GT0010" tt="1" digits="333/---/4"/>
</sccpAddress>
<id value="2"/>
<sccpAddress pc="321" ssn="0">
<ai value="9"/>
<gt type="GT0010" tt="1" digits="333/---/4"/>
</sccpAddress>
</primaryAddress>
<backupAddress>
<id value="1"/>
<sccpAddress pc="123" ssn="0">
<ai value="9"/>
<gt type="GT0010" tt="1" digits="333/---/4"/>
</sccpAddress>
</backupAddress>
Rule changes
<rule>
<Key type="java.lang.Integer" value="1"/>
<Value type="rule" ruleType="Solitary" loadSharingAlgo="Undefined"
mask="K" paddress="1" saddress="-1">
<pattern type="org.mobicents.protocols.ss7.sccp.parameter.SccpAddress"
pc="0" ssn="8">
<ai type="org.mobicents.protocols.ss7.indicator.AddressIndicator"
ai="18"/>
<gt type="org.mobicents.protocols.ss7.sccp.parameter.GT0100" tt="0"
es="2" np="1" nai="4" digits="923330053058"/>
</pattern>
</Value>
</rule>
<rule>
<id value="1"/>
<value ruleType="Loadshared" loadSharingAlgo="Bit4" mask="K" paddress="0"
saddress="0">
<patternSccpAddress pc="0" ssn="0">
<ai value="8"/>
<gt type="GT0010" tt="1" digits="123456789"/>
</patternSccpAddress>
</value>
</rule>