2 new revisions:
Revision: 88186e327834
Author: Sergey Vetyutnev <[email protected]>
Date: Wed Jun 19 13:14:10 2013
Log: SMS V3 SMS update 19.06.2013
http://code.google.com/p/jss7/source/detail?r=88186e327834
Revision: c55364179e53
Author: Sergey Vetyutnev <[email protected]>
Date: Wed Jun 19 13:22:33 2013
Log: Merge remote-tracking branch 'origin/cap31'
http://code.google.com/p/jss7/source/detail?r=c55364179e53
==============================================================================
Revision: 88186e327834
Author: Sergey Vetyutnev <[email protected]>
Date: Wed Jun 19 13:14:10 2013
Log: SMS V3 SMS update 19.06.2013
http://code.google.com/p/jss7/source/detail?r=88186e327834
Modified:
/cap/CAPMessagesImplemented.ods
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/ConnectSMSRequest.java
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/RequestReportSMSEventRequest.java
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/primitive/SMSEvent.java
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/gprs/primitive/ElapsedTimeImpl.java
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/sms/RequestReportSMSEventRequestImpl.java
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/sms/primitive/SMSEventImpl.java
/cap/cap-impl/src/test/java/org/mobicents/protocols/ss7/cap/service/sms/RequestReportSMSEventRequestTest.java
/cap/cap-impl/src/test/java/org/mobicents/protocols/ss7/cap/service/sms/primitive/SMSEventTest.java
=======================================
--- /cap/CAPMessagesImplemented.ods Wed Jun 12 10:42:59 2013
+++ /cap/CAPMessagesImplemented.ods Wed Jun 19 13:14:10 2013
Binary file, no diff available.
=======================================
---
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/ConnectSMSRequest.java
Mon May 20 13:09:00 2013
+++
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/ConnectSMSRequest.java
Wed Jun 19 13:14:10 2013
@@ -29,15 +29,23 @@
/**
*
- connectSMS {PARAMETERS-BOUND : bound} OPERATION ::= { ARGUMENT
ConnectSMSArg {bound} RETURN RESULT FALSE ERRORS
- * {missingParameter | parameterOutOfRange | systemFailure | taskRefused |
unexpectedComponentSequence | unexpectedDataValue |
- * unexpectedParameter} CODE opcode-connectSMS} -- Direction: gsmSCF ->
gsmSSF or gprsSSF, Timer: Tconsms -- This operation is
- * used to request the smsSSF to perform the SMS processing -- actions to
route or forward a short message to a specified
- * destination.
- *
- * ConnectSMSArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
callingPartysNumber [0] SMS-AddressString OPTIONAL,
- * destinationSubscriberNumber [1] CalledPartyBCDNumber {bound} OPTIONAL,
sMSCAddress [2] ISDN-AddressString OPTIONAL,
- * extensions [10] Extensions {bound} OPTIONAL, ... }
+ connectSMS {PARAMETERS-BOUND : bound} OPERATION ::= {
+ ARGUMENT ConnectSMSArg {bound}
+ RETURN RESULT FALSE
+ ERRORS {missingParameter | parameterOutOfRange | systemFailure |
taskRefused | unexpectedComponentSequence | unexpectedDataValue |
+ unexpectedParameter}
+ CODE opcode-connectSMS}
+ -- Direction: gsmSCF -> gsmSSF or gprsSSF, Timer: Tconsms
+ -- This operation is used to request the smsSSF to perform the SMS
processing
+ -- actions to route or forward a short message to a specified destination.
+
+ ConnectSMSArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
+ callingPartysNumber [0] SMS-AddressString OPTIONAL,
+ destinationSubscriberNumber [1] CalledPartyBCDNumber {bound} OPTIONAL,
+ sMSCAddress [2] ISDN-AddressString OPTIONAL,
+ extensions [10] Extensions {bound} OPTIONAL,
+ ...
+}
*
*
*
=======================================
---
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/RequestReportSMSEventRequest.java
Mon May 20 13:09:00 2013
+++
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/RequestReportSMSEventRequest.java
Wed Jun 19 13:14:10 2013
@@ -29,14 +29,22 @@
/**
*
- requestReportSMSEvent {PARAMETERS-BOUND : bound} OPERATION ::= { ARGUMENT
RequestReportSMSEventArg {bound} RETURN RESULT
- * FALSE ERRORS {missingParameter | parameterOutOfRange | systemFailure |
taskRefused | unexpectedComponentSequence |
- * unexpectedDataValue | unexpectedParameter} CODE
opcode-requestReportSMSEvent} -- Direction: gsmSCF -> gsmSSF or gprsSSF,
- * Timer: Trrbsms -- This operation is used to request the gsmSSF or
gprsSSF to monitor for a -- Short Message related event
- * (FSM events such as submission, delivery or failure) -- and to send a
notification to the gsmSCF when the event is detected.
- *
- * RequestReportSMSEventArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
sMSEvents [0] SEQUENCE SIZE (1..10) OF SMSEvent,
- * extensions [10] Extensions {bound} OPTIONAL, ... } -- Indicates the
Short Message related events(s) for notification.
+ requestReportSMSEvent {PARAMETERS-BOUND : bound} OPERATION ::= {
+ ARGUMENT RequestReportSMSEventArg {bound}
+ RETURN RESULT FALSE
+ ERRORS {missingParameter | parameterOutOfRange | systemFailure |
taskRefused | unexpectedComponentSequence |
+ unexpectedDataValue | unexpectedParameter}
+ CODE opcode-requestReportSMSEvent}
+ -- Direction: gsmSCF -> gsmSSF or gprsSSF, Timer: Trrbsms
+ -- This operation is used to request the gsmSSF or gprsSSF to monitor
for a
+ -- Short Message related event (FSM events such as submission, delivery
or failure)
+ -- and to send a notification to the gsmSCF when the event is detected.
+
+RequestReportSMSEventArg {PARAMETERS-BOUND : bound} ::= SEQUENCE {
+ sMSEvents [0] SEQUENCE SIZE (1..10) OF SMSEvent,
+ extensions [10] Extensions {bound} OPTIONAL, ...
+}
+-- Indicates the Short Message related events(s) for notification.
*
*
*
=======================================
---
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/primitive/SMSEvent.java
Mon May 20 13:09:00 2013
+++
/cap/cap-api/src/main/java/org/mobicents/protocols/ss7/cap/api/service/sms/primitive/SMSEvent.java
Wed Jun 19 13:14:10 2013
@@ -26,7 +26,10 @@
/**
*
- SMSEvent ::= SEQUENCE { eventTypeSMS [0] EventTypeSMS, monitorMode [1]
MonitorMode }
+ SMSEvent ::= SEQUENCE {
+ eventTypeSMS [0] EventTypeSMS,
+ monitorMode [1] MonitorMode
+ }
*
*
* @author sergey vetyutnev
=======================================
---
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/gprs/primitive/ElapsedTimeImpl.java
Mon May 20 13:09:00 2013
+++
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/gprs/primitive/ElapsedTimeImpl.java
Wed Jun 19 13:14:10 2013
@@ -213,7 +213,7 @@
}
if (this.timeGPRSIfTariffSwitch != null) {
- sb.append("timeGPRSIfTariffSwitch=");
+ sb.append(", timeGPRSIfTariffSwitch=");
sb.append(this.timeGPRSIfTariffSwitch.toString());
}
=======================================
---
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/sms/RequestReportSMSEventRequestImpl.java
Wed Jun 12 10:42:59 2013
+++
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/sms/RequestReportSMSEventRequestImpl.java
Wed Jun 19 13:14:10 2013
@@ -245,5 +245,34 @@
throw new CAPException("AsnException when encoding " +
_PrimitiveName + ": " + e.getMessage(), e);
}
}
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(_PrimitiveName + " [");
+
+ if (this.smsEvents != null) {
+ sb.append("smsEvents=[");
+ int i1 = 0;
+ for (SMSEvent evt : this.smsEvents) {
+ if (i1 == 0)
+ i1 = 1;
+ else
+ sb.append(", ");
+ sb.append("smsEvent=");
+ sb.append(evt.toString());
+ }
+ sb.append("]");
+ }
+
+ if (this.extensions != null) {
+ sb.append(", extensions=");
+ sb.append(this.extensions.toString());
+ }
+
+ sb.append("]");
+
+ return sb.toString();
+ }
}
=======================================
---
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/sms/primitive/SMSEventImpl.java
Tue Jun 18 12:59:26 2013
+++
/cap/cap-impl/src/main/java/org/mobicents/protocols/ss7/cap/service/sms/primitive/SMSEventImpl.java
Wed Jun 19 13:14:10 2013
@@ -142,5 +142,25 @@
throw new CAPException("AsnException when encoding " +
_PrimitiveName + ": " + e.getMessage(), e);
}
}
+
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(_PrimitiveName + " [");
+
+ if (this.eventTypeSMS != null) {
+ sb.append("eventTypeSMS=");
+ sb.append(this.eventTypeSMS.toString());
+ }
+
+ if (this.monitorMode != null) {
+ sb.append(", monitorMode=");
+ sb.append(this.monitorMode.toString());
+ }
+
+ sb.append("]");
+
+ return sb.toString();
+ }
}
=======================================
---
/cap/cap-impl/src/test/java/org/mobicents/protocols/ss7/cap/service/sms/RequestReportSMSEventRequestTest.java
Wed Jun 12 10:42:59 2013
+++
/cap/cap-impl/src/test/java/org/mobicents/protocols/ss7/cap/service/sms/RequestReportSMSEventRequestTest.java
Wed Jun 19 13:14:10 2013
@@ -47,7 +47,7 @@
public class RequestReportSMSEventRequestTest {
public byte[] getData() {
- return new byte[] { 48, 30, -96, 8, 48, 6, -128, 1, 3, -118, 1, 1,
-86, 18, 48, 5, 2, 1, 2, -127, 0, 48, 9, 2,
+ return new byte[] { 48, 30, -96, 8, 48, 6, -128, 1, 3, -127, 1, 1,
-86, 18, 48, 5, 2, 1, 2, -127, 0, 48, 9, 2,
1, 3, 10, 1, 1, -127, 1, -1 };
};
=======================================
---
/cap/cap-impl/src/test/java/org/mobicents/protocols/ss7/cap/service/sms/primitive/SMSEventTest.java
Wed Jun 12 10:42:59 2013
+++
/cap/cap-impl/src/test/java/org/mobicents/protocols/ss7/cap/service/sms/primitive/SMSEventTest.java
Wed Jun 19 13:14:10 2013
@@ -42,7 +42,7 @@
public class SMSEventTest {
public byte[] getData() {
- return new byte[] { 48, 6, -128, 1, 3, -118, 1, 1 };
+ return new byte[] { 48, 6, -128, 1, 3, -127, 1, 1 };
};
@Test(groups = { "functional.decode", "primitives" })
==============================================================================
Revision: c55364179e53
Author: Sergey Vetyutnev <[email protected]>
Date: Wed Jun 19 13:22:33 2013
Log: Merge remote-tracking branch 'origin/cap31'
http://code.google.com/p/jss7/source/detail?r=c55364179e53
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.