2 new revisions:
Revision: effc69a12841
Author: [email protected] <[email protected]>
Date: Thu Aug 23 04:26:00 2012
Log: Issue 3:Allow mobicents SS7 stack to be configurable to use 5 or
8 bit...
http://code.google.com/p/jss7/source/detail?r=effc69a12841
Revision: e07cc6ce2d89
Author: [email protected] <[email protected]>
Date: Thu Aug 23 04:27:35 2012
Log: Merge branch 'master' of
https://[email protected]/p/jss7/
http://code.google.com/p/jss7/source/detail?r=e07cc6ce2d89
==============================================================================
Revision: effc69a12841
Author: [email protected] <[email protected]>
Date: Thu Aug 23 04:26:00 2012
Log: Issue 3:Allow mobicents SS7 stack to be configurable to use 5 or
8 bit SLS
http://code.google.com/p/jss7/source/detail?r=effc69a12841
Modified:
/hardware/dahdi/java/src/main/java/org/mobicents/ss7/hardware/dahdi/DahdiMtp3UserPart.java
/sccp/sccp-impl/src/test/java/org/mobicents/protocols/ss7/sccp/impl/oam/SccpExecutorTest.java
/service/src/main/config/jboss-beans.xml
=======================================
---
/hardware/dahdi/java/src/main/java/org/mobicents/ss7/hardware/dahdi/DahdiMtp3UserPart.java
Fri Aug 17 04:52:58 2012
+++
/hardware/dahdi/java/src/main/java/org/mobicents/ss7/hardware/dahdi/DahdiMtp3UserPart.java
Thu Aug 23 04:26:00 2012
@@ -28,6 +28,7 @@
import org.mobicents.protocols.ss7.mtp.Mtp3TransferPrimitiveFactory;
import org.mobicents.protocols.ss7.mtp.Mtp3UserPart;
import org.mobicents.protocols.ss7.mtp.Mtp3UserPartListener;
+import org.mobicents.protocols.ss7.mtp.PointCodeFormat;
/**
*
@@ -70,37 +71,38 @@
}
/* (non-Javadoc)
- * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#getPointCodeLength()
+ * @see org.mobicents.protocols.ss7.mtp.Mtp3UserPart#getSLSLength()
*/
@Override
- public int getPointCodeLength() {
+ public int getSlsLength() {
// TODO Auto-generated method stub
return 0;
}
+
/* (non-Javadoc)
- * @see org.mobicents.protocols.ss7.mtp.Mtp3UserPart#getSLSLength()
+ * @see org.mobicents.protocols.ss7.mtp.Mtp3UserPart#setSLSLength(int)
*/
@Override
- public int getSLSLength() {
+ public void setSlsLength(int arg0) {
// TODO Auto-generated method stub
- return 0;
+
}
/* (non-Javadoc)
- * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#setPointCodeLength(int)
+ * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#getPointCodeFormat()
*/
@Override
- public void setPointCodeLength(int arg0) {
+ public PointCodeFormat getPointCodeFormat() {
// TODO Auto-generated method stub
-
+ return null;
}
/* (non-Javadoc)
- * @see org.mobicents.protocols.ss7.mtp.Mtp3UserPart#setSLSLength(int)
+ * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#setPointCodeFormat(org.mobicents.protocols.ss7.mtp.PointCodeFormat)
*/
@Override
- public void setSLSLength(int arg0) {
+ public void setPointCodeFormat(PointCodeFormat arg0) {
// TODO Auto-generated method stub
}
=======================================
---
/sccp/sccp-impl/src/test/java/org/mobicents/protocols/ss7/sccp/impl/oam/SccpExecutorTest.java
Fri Aug 17 04:52:58 2012
+++
/sccp/sccp-impl/src/test/java/org/mobicents/protocols/ss7/sccp/impl/oam/SccpExecutorTest.java
Thu Aug 23 04:26:00 2012
@@ -32,6 +32,7 @@
import org.mobicents.protocols.ss7.mtp.Mtp3TransferPrimitiveFactory;
import org.mobicents.protocols.ss7.mtp.Mtp3UserPart;
import org.mobicents.protocols.ss7.mtp.Mtp3UserPartListener;
+import org.mobicents.protocols.ss7.mtp.PointCodeFormat;
import org.mobicents.protocols.ss7.sccp.impl.ConcernedSignalingPointCode;
import org.mobicents.protocols.ss7.sccp.impl.RemoteSignalingPointCode;
import org.mobicents.protocols.ss7.sccp.impl.RemoteSubSystem;
@@ -869,37 +870,37 @@
}
/* (non-Javadoc)
- * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#getPointCodeLength()
+ * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#getSLSLength()
*/
@Override
- public int getPointCodeLength() {
+ public int getSlsLength() {
// TODO Auto-generated method stub
return 0;
}
/* (non-Javadoc)
- * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#getSLSLength()
+ * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#setSLSLength(int)
*/
@Override
- public int getSLSLength() {
+ public void setSlsLength(int arg0) {
// TODO Auto-generated method stub
- return 0;
+
}
/* (non-Javadoc)
- * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#setPointCodeLength(int)
+ * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#getPointCodeFormat()
*/
@Override
- public void setPointCodeLength(int arg0) {
+ public PointCodeFormat getPointCodeFormat() {
// TODO Auto-generated method stub
-
+ return null;
}
/* (non-Javadoc)
- * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#setSLSLength(int)
+ * @see
org.mobicents.protocols.ss7.mtp.Mtp3UserPart#setPointCodeFormat(org.mobicents.protocols.ss7.mtp.PointCodeFormat)
*/
@Override
- public void setSLSLength(int arg0) {
+ public void setPointCodeFormat(PointCodeFormat arg0) {
// TODO Auto-generated method stub
}
=======================================
--- /service/src/main/config/jboss-beans.xml Wed Aug 8 04:55:15 2012
+++ /service/src/main/config/jboss-beans.xml Thu Aug 23 04:26:00 2012
@@ -11,13 +11,23 @@
<property name="singleThread">true</property>
<property name="connectDelay">5000</property>
</bean>
-
+
<bean name="SCTPShellExecutor"
class="org.mobicents.protocols.ss7.m3ua.impl.oam.SCTPShellExecutor">
<property name="sctpManagement">
<inject bean="SCTPManagement" />
</property>
- </bean>
+ </bean>
+
+ <!-- ====================================================================
-->
+ <!-- MTP3 Properties -->
+ <!-- Define MTP3 PointCode Format -->
+ <!-- ====================================================================
-->
+ <bean name="PointCodeFormat"
class="org.mobicents.protocols.ss7.mtp.PointCodeFormat">
+ <constructor
factoryClass="org.mobicents.protocols.ss7.mtp.PointCodeFormat"
factoryMethod="getInstance">
+ <parameter>ITU</parameter>
+ </constructor>
+ </bean>
<!-- ====================================================================
-->
<!-- M3UA -->
@@ -29,9 +39,9 @@
<parameter>Mtp3UserPart</parameter>
</constructor>
<property name="persistDir">${jboss.server.data.dir}</property>
- <property name="transportManagement">
- <inject bean="SCTPManagement" />
- </property>
+ <property name="transportManagement"><inject bean="SCTPManagement"
/></property>
+ <property name="pointCodeFormat"><inject bean="PointCodeFormat"
/></property>
+ <property name="slsLength">4</property>
</bean>
<bean name="M3UAShellExecutor"
@@ -100,7 +110,8 @@
<inject bean="SS7Scheduler" />
</parameter>
<parameter>
- <list class="javolution.util.FastList"
elementClass="org.mobicents.ss7.management.console.ShellExecutor">
+ <list class="javolution.util.FastList"
+
elementClass="org.mobicents.ss7.management.console.ShellExecutor">
<inject bean="SccpExecutor" />
<inject bean="M3UAShellExecutor" />
<inject bean="SCTPShellExecutor" />
@@ -114,7 +125,7 @@
<!-- ====================================================================
-->
<!-- TCAP Service -->
- <!-- ====================================================================
-->
+ <!-- ====================================================================
-->
<bean name="TcapStackMap"
class="org.mobicents.protocols.ss7.tcap.TCAPStackImpl">
<constructor>
<parameter>
@@ -126,23 +137,27 @@
<property name="invokeTimeout">30000</property>
<property name="maxDialogs">25000</property>
</bean>
-
+
<bean name="TcapStackCap"
class="org.mobicents.protocols.ss7.tcap.TCAPStackImpl">
<constructor>
- <parameter><inject bean="SccpStack" property="sccpProvider"
/></parameter>
+ <parameter>
+ <inject bean="SccpStack" property="sccpProvider"
/>
+ </parameter>
<parameter>146</parameter>
</constructor>
<property name="dialogIdleTimeout">60000</property>
<property name="invokeTimeout">30000</property>
<property name="maxDialogs">25000</property>
</bean>
-
+
<!-- ====================================================================
-->
<!-- CAP Service -->
- <!-- ====================================================================
-->
+ <!-- ====================================================================
-->
<bean name="CapStack"
class="org.mobicents.protocols.ss7.cap.CAPStackImpl">
<constructor>
- <parameter><inject bean="TcapStackCap" property="provider"
/></parameter>
+ <parameter>
+ <inject bean="TcapStackCap" property="provider"
/>
+ </parameter>
</constructor>
</bean>
@@ -184,7 +199,8 @@
<!-- Mobicents SS7 Service -->
<!-- ====================================================================
-->
<bean name="MAPSS7Service" class="org.mobicents.ss7.SS7Service">
-
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=MAPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)</annotation>
+
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=MAPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
+ </annotation>
<property name="jndiName">java:/mobicents/ss7/map</property>
<property name="stack">
<inject bean="MapStack" property="MAPProvider" />
@@ -199,7 +215,8 @@
</property>
</bean>
<bean name="ISUPSS7Service" class="org.mobicents.ss7.SS7Service">
-
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=ISUPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)</annotation>
+
<annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=ISUPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
+ </annotation>
<property name="jndiName">java:/mobicents/ss7/isup</property>
<property name="stack">
<inject bean="IsupStack" property="isupProvider" />
==============================================================================
Revision: e07cc6ce2d89
Author: [email protected] <[email protected]>
Date: Thu Aug 23 04:27:35 2012
Log: Merge branch 'master' of
https://[email protected]/p/jss7/
http://code.google.com/p/jss7/source/detail?r=e07cc6ce2d89