RestComm / jss7

RestComm Java SS7 Stack and Services
http://www.restcomm.com/
GNU Affero General Public License v3.0
178 stars 218 forks source link

TCAP multi-ssn support #245

Closed vetss closed 7 years ago

vetss commented 7 years ago

We need to update SS7 stack so it supports for "extra SSN" for a TCAP stack (now each TCAP stack instanse) contains only one SSN that it reuses.

We will need following updates:

1) new extraSsn field in TCAP stask

2) new "int ssn" field in TCAP Dialog.

3) TCAPProviderImpl.send(....) - add an extra parameter "int ssn" that will be used instead of "this.ssn" as localSsn for creating of outgoing SCCP message. Methods that invoke this message will take "dialog.ssn" value.

4) we need to make the same for TCAP-ANSI stack

5) we need to prepare WildFly and jboss templates for TCAP stack initializing with extra SSNs. For jboss 5 we have:

<parameter>
  <list class="javolution.util.FastList" elementClass="java.lang.Integer">
       <value>8</value>
  </list>
</parameter>

6) SMSC GW - we do not need to update code itself (SSN is also assigned properly) and "extra SSN 6" will be for incoming dialogs and will be filled automatic. We will need to update jboss-beans.xml file for that extra SSN and updates manual for configurinfg.

7) We need to add support for an extra TCAP number in SS7 Simulator. QWe will intrcodue it as a second "Local SSN" value at SCCP level.

vetss commented 7 years ago

Fixed by:

https://github.com/RestComm/jss7/commit/ed9dc1c1a1dbc022417e3f4d5aeaf16b291685f4 https://github.com/RestComm/jss7/commit/d5b97c02ae45d80de377ae026d50c652968305fd https://github.com/RestComm/jss7/commit/56d331af0a14606f3f78ca115fb8b2e5d9aabb2e https://github.com/RestComm/jss7/commit/6e4d0b3ad04dd9d98d5ea9a6b5582e44f129000c https://github.com/RestComm/jss7/commit/eeb29b3f880adc1ea27c3a1dc8d7d02472fbc42a https://github.com/RestComm/jss7/commit/904bcc01923a02594d25763615da437e914b85bb