Revision: 226e539ae4c1
Author: Sergey Vetyutnev <[email protected]>
Date: Wed Jun 19 13:16:35 2013
Log: CAP V3 SMS update
http://code.google.com/p/jain-slee/source/detail?r=226e539ae4c1&repo=ss7
Added:
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/ConnectSMSRequestWrapper.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/ContinueSMSRequestWrapper.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/EventReportSMSRequestWrapper.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/FurnishChargingInformationSMSRequestWrapper.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/InitialDPSMSRequestWrapper.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/ReleaseSMSRequestWrapper.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/RequestReportSMSEventRequestWrapper.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/ResetTimerSMSRequestWrapper.java
Modified:
/resources/cap/events/src/main/resources/META-INF/event-jar.xml
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/CAPResourceAdaptor.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/gprs/wrappers/ActivityTestGPRSRequestWrapper.java
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/CAPDialogSmsWrapper.java
/resources/cap/ratype/src/main/resources/META-INF/resource-adaptor-type-jar.xml
=======================================
--- /dev/null
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/ConnectSMSRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -0,0 +1,69 @@
+/*
+ * TeleStax, Open Source Cloud Communications Copyright 2012.
+ * and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.mobicents.slee.resource.cap.service.sms.wrappers;
+
+import org.mobicents.protocols.ss7.cap.api.primitives.CAPExtensions;
+import org.mobicents.protocols.ss7.cap.api.primitives.CalledPartyBCDNumber;
+import org.mobicents.protocols.ss7.cap.api.service.sms.ConnectSMSRequest;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.SMSAddressString;
+import org.mobicents.protocols.ss7.map.api.primitives.ISDNAddressString;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class ConnectSMSRequestWrapper extends
SmsMessageWrapper<ConnectSMSRequest> implements ConnectSMSRequest {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.service.sms.CONNECT_SMS_REQUEST";
+
+ public ConnectSMSRequestWrapper(CAPDialogSmsWrapper capDialog,
ConnectSMSRequest req) {
+ super(capDialog, EVENT_TYPE_NAME, req);
+ }
+
+ @Override
+ public SMSAddressString getCallingPartysNumber() {
+ return this.wrappedEvent.getCallingPartysNumber();
+ }
+
+ @Override
+ public CalledPartyBCDNumber getDestinationSubscriberNumber() {
+ return this.wrappedEvent.getDestinationSubscriberNumber();
+ }
+
+ @Override
+ public ISDNAddressString getSMSCAddress() {
+ return this.wrappedEvent.getSMSCAddress();
+ }
+
+ @Override
+ public CAPExtensions getExtensions() {
+ return this.wrappedEvent.getExtensions();
+ }
+
+ @Override
+ public String toString() {
+ return "ConnectSMSRequestWrapper [wrapped=" + this.wrappedEvent
+ "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/ContinueSMSRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -0,0 +1,45 @@
+/*
+ * TeleStax, Open Source Cloud Communications Copyright 2012.
+ * and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.mobicents.slee.resource.cap.service.sms.wrappers;
+
+import org.mobicents.protocols.ss7.cap.api.service.sms.ContinueSMSRequest;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class ContinueSMSRequestWrapper extends
SmsMessageWrapper<ContinueSMSRequest> implements ContinueSMSRequest {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.service.sms.CONTINUE_SMS_REQUEST";
+
+ public ContinueSMSRequestWrapper(CAPDialogSmsWrapper capDialog,
ContinueSMSRequest req) {
+ super(capDialog, EVENT_TYPE_NAME, req);
+ }
+
+ @Override
+ public String toString() {
+ return "ContinueSMSRequestWrapper [wrapped=" + this.wrappedEvent
+ "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/EventReportSMSRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -0,0 +1,69 @@
+/*
+ * TeleStax, Open Source Cloud Communications Copyright 2012.
+ * and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.mobicents.slee.resource.cap.service.sms.wrappers;
+
+import org.mobicents.protocols.ss7.cap.api.primitives.CAPExtensions;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.EventReportSMSRequest;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.EventSpecificInformationSMS;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.EventTypeSMS;
+import org.mobicents.protocols.ss7.inap.api.primitives.MiscCallInfo;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class EventReportSMSRequestWrapper extends
SmsMessageWrapper<EventReportSMSRequest> implements EventReportSMSRequest {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.service.sms.EVENT_REPORT_SMS_REQUEST";
+
+ public EventReportSMSRequestWrapper(CAPDialogSmsWrapper capDialog,
EventReportSMSRequest req) {
+ super(capDialog, EVENT_TYPE_NAME, req);
+ }
+
+ @Override
+ public EventTypeSMS getEventTypeSMS() {
+ return this.wrappedEvent.getEventTypeSMS();
+ }
+
+ @Override
+ public EventSpecificInformationSMS getEventSpecificInformationSMS() {
+ return this.wrappedEvent.getEventSpecificInformationSMS();
+ }
+
+ @Override
+ public MiscCallInfo getMiscCallInfo() {
+ return this.wrappedEvent.getMiscCallInfo();
+ }
+
+ @Override
+ public CAPExtensions getExtensions() {
+ return this.wrappedEvent.getExtensions();
+ }
+
+ @Override
+ public String toString() {
+ return "EventReportSMSRequestWrapper [wrapped=" +
this.wrappedEvent + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/FurnishChargingInformationSMSRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -0,0 +1,52 @@
+/*
+ * TeleStax, Open Source Cloud Communications Copyright 2012.
+ * and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.mobicents.slee.resource.cap.service.sms.wrappers;
+
+import
org.mobicents.protocols.ss7.cap.api.service.sms.FurnishChargingInformationSMSRequest;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.FCIBCCCAMELsequence1SMS;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class FurnishChargingInformationSMSRequestWrapper extends
SmsMessageWrapper<FurnishChargingInformationSMSRequest> implements
+ FurnishChargingInformationSMSRequest {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.service.sms.FURNISH_CHARGING_INFORMATION_SMS_REQUEST";
+
+ public FurnishChargingInformationSMSRequestWrapper(CAPDialogSmsWrapper
capDialog, FurnishChargingInformationSMSRequest req) {
+ super(capDialog, EVENT_TYPE_NAME, req);
+ }
+
+ @Override
+ public FCIBCCCAMELsequence1SMS getFCIBCCCAMELsequence1() {
+ return this.wrappedEvent.getFCIBCCCAMELsequence1();
+ }
+
+ @Override
+ public String toString() {
+ return "FurnishChargingInformationSMSRequestWrapper [wrapped=" +
this.wrappedEvent + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/InitialDPSMSRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -0,0 +1,167 @@
+/*
+ * TeleStax, Open Source Cloud Communications Copyright 2012.
+ * and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.mobicents.slee.resource.cap.service.sms.wrappers;
+
+import org.mobicents.protocols.ss7.cap.api.primitives.CAPExtensions;
+import org.mobicents.protocols.ss7.cap.api.primitives.CalledPartyBCDNumber;
+import org.mobicents.protocols.ss7.cap.api.primitives.TimeAndTimezone;
+import org.mobicents.protocols.ss7.cap.api.service.sms.InitialDPSMSRequest;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.EventTypeSMS;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.SMSAddressString;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.TPDataCodingScheme;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.TPProtocolIdentifier;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.TPShortMessageSpecificInfo;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.TPValidityPeriod;
+import org.mobicents.protocols.ss7.map.api.primitives.IMEI;
+import org.mobicents.protocols.ss7.map.api.primitives.IMSI;
+import org.mobicents.protocols.ss7.map.api.primitives.ISDNAddressString;
+import
org.mobicents.protocols.ss7.map.api.service.callhandling.CallReferenceNumber;
+import
org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation.GPRSMSClass;
+import
org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation.LocationInformation;
+import
org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation.LocationInformationGPRS;
+import
org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation.MSClassmark2;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class InitialDPSMSRequestWrapper extends
SmsMessageWrapper<InitialDPSMSRequest> implements InitialDPSMSRequest {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.service.sms.INITIAL_DP_SMS_REQUEST";
+
+ public InitialDPSMSRequestWrapper(CAPDialogSmsWrapper capDialog,
InitialDPSMSRequest req) {
+ super(capDialog, EVENT_TYPE_NAME, req);
+ }
+
+ @Override
+ public int getServiceKey() {
+ return this.wrappedEvent.getServiceKey();
+ }
+
+ @Override
+ public CalledPartyBCDNumber getDestinationSubscriberNumber() {
+ return this.wrappedEvent.getDestinationSubscriberNumber();
+ }
+
+ @Override
+ public SMSAddressString getCallingPartyNumber() {
+ return this.wrappedEvent.getCallingPartyNumber();
+ }
+
+ @Override
+ public EventTypeSMS getEventTypeSMS() {
+ return this.wrappedEvent.getEventTypeSMS();
+ }
+
+ @Override
+ public IMSI getImsi() {
+ return this.wrappedEvent.getImsi();
+ }
+
+ @Override
+ public LocationInformation getLocationInformationMSC() {
+ return this.wrappedEvent.getLocationInformationMSC();
+ }
+
+ @Override
+ public LocationInformationGPRS getLocationInformationGPRS() {
+ return this.wrappedEvent.getLocationInformationGPRS();
+ }
+
+ @Override
+ public ISDNAddressString getSMSCAddress() {
+ return this.wrappedEvent.getSMSCAddress();
+ }
+
+ @Override
+ public TimeAndTimezone getTimeAndTimezone() {
+ return this.wrappedEvent.getTimeAndTimezone();
+ }
+
+ @Override
+ public TPShortMessageSpecificInfo getTPShortMessageSpecificInfo() {
+ return this.wrappedEvent.getTPShortMessageSpecificInfo();
+ }
+
+ @Override
+ public TPProtocolIdentifier getTPProtocolIdentifier() {
+ return this.wrappedEvent.getTPProtocolIdentifier();
+ }
+
+ @Override
+ public TPDataCodingScheme getTPDataCodingScheme() {
+ return this.wrappedEvent.getTPDataCodingScheme();
+ }
+
+ @Override
+ public TPValidityPeriod getTPValidityPeriod() {
+ return this.wrappedEvent.getTPValidityPeriod();
+ }
+
+ @Override
+ public CAPExtensions getExtensions() {
+ return this.wrappedEvent.getExtensions();
+ }
+
+ @Override
+ public CallReferenceNumber getSmsReferenceNumber() {
+ return this.wrappedEvent.getSmsReferenceNumber();
+ }
+
+ @Override
+ public ISDNAddressString getMscAddress() {
+ return this.wrappedEvent.getMscAddress();
+ }
+
+ @Override
+ public ISDNAddressString getSgsnNumber() {
+ return this.wrappedEvent.getSgsnNumber();
+ }
+
+ @Override
+ public MSClassmark2 getMSClassmark2() {
+ return this.wrappedEvent.getMSClassmark2();
+ }
+
+ @Override
+ public GPRSMSClass getGPRSMSClass() {
+ return this.wrappedEvent.getGPRSMSClass();
+ }
+
+ @Override
+ public IMEI getImei() {
+ return this.wrappedEvent.getImei();
+ }
+
+ @Override
+ public ISDNAddressString getCalledPartyNumber() {
+ return this.wrappedEvent.getCalledPartyNumber();
+ }
+
+ @Override
+ public String toString() {
+ return "InitialDPSMSRequestWrapper [wrapped=" + this.wrappedEvent
+ "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/ReleaseSMSRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -0,0 +1,51 @@
+/*
+ * TeleStax, Open Source Cloud Communications Copyright 2012.
+ * and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.mobicents.slee.resource.cap.service.sms.wrappers;
+
+import org.mobicents.protocols.ss7.cap.api.service.sms.ReleaseSMSRequest;
+import org.mobicents.protocols.ss7.cap.api.service.sms.primitive.RPCause;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class ReleaseSMSRequestWrapper extends
SmsMessageWrapper<ReleaseSMSRequest> implements ReleaseSMSRequest {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.service.sms.RELEASE_SMS_REQUEST";
+
+ public ReleaseSMSRequestWrapper(CAPDialogSmsWrapper capDialog,
ReleaseSMSRequest req) {
+ super(capDialog, EVENT_TYPE_NAME, req);
+ }
+
+ @Override
+ public RPCause getRPCause() {
+ return this.wrappedEvent.getRPCause();
+ }
+
+ @Override
+ public String toString() {
+ return "ConnectSMSRequestWrapper [wrapped=" + this.wrappedEvent
+ "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/RequestReportSMSEventRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -0,0 +1,59 @@
+/*
+ * TeleStax, Open Source Cloud Communications Copyright 2012.
+ * and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.mobicents.slee.resource.cap.service.sms.wrappers;
+
+import java.util.ArrayList;
+
+import org.mobicents.protocols.ss7.cap.api.primitives.CAPExtensions;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.RequestReportSMSEventRequest;
+import org.mobicents.protocols.ss7.cap.api.service.sms.primitive.SMSEvent;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class RequestReportSMSEventRequestWrapper extends
SmsMessageWrapper<RequestReportSMSEventRequest> implements
RequestReportSMSEventRequest {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.service.sms.REQUEST_REPORT_SMS_EVENT_REQUEST";
+
+ public RequestReportSMSEventRequestWrapper(CAPDialogSmsWrapper
capDialog, RequestReportSMSEventRequest req) {
+ super(capDialog, EVENT_TYPE_NAME, req);
+ }
+
+ @Override
+ public ArrayList<SMSEvent> getSMSEvents() {
+ return this.wrappedEvent.getSMSEvents();
+ }
+
+ @Override
+ public CAPExtensions getExtensions() {
+ return this.wrappedEvent.getExtensions();
+ }
+
+ @Override
+ public String toString() {
+ return "RequestReportSMSEventRequestWrapper [wrapped=" +
this.wrappedEvent + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/ResetTimerSMSRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -0,0 +1,62 @@
+/*
+ * TeleStax, Open Source Cloud Communications Copyright 2012.
+ * and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.mobicents.slee.resource.cap.service.sms.wrappers;
+
+import org.mobicents.protocols.ss7.cap.api.primitives.CAPExtensions;
+import org.mobicents.protocols.ss7.cap.api.primitives.TimerID;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.ResetTimerSMSRequest;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class ResetTimerSMSRequestWrapper extends
SmsMessageWrapper<ResetTimerSMSRequest> implements ResetTimerSMSRequest {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.service.sms.RESET_TIMER_SMS_REQUEST";
+
+ public ResetTimerSMSRequestWrapper(CAPDialogSmsWrapper capDialog,
ResetTimerSMSRequest req) {
+ super(capDialog, EVENT_TYPE_NAME, req);
+ }
+
+ @Override
+ public TimerID getTimerID() {
+ return this.wrappedEvent.getTimerID();
+ }
+
+ @Override
+ public int getTimerValue() {
+ return this.wrappedEvent.getTimerValue();
+ }
+
+ @Override
+ public CAPExtensions getExtensions() {
+ return this.wrappedEvent.getExtensions();
+ }
+
+ @Override
+ public String toString() {
+ return "ResetTimerSMSRequestWrapper [wrapped=" + this.wrappedEvent
+ "]";
+ }
+
+}
=======================================
--- /resources/cap/events/src/main/resources/META-INF/event-jar.xml Wed Mar
13 11:26:11 2013
+++ /resources/cap/events/src/main/resources/META-INF/event-jar.xml Wed Jun
19 13:16:35 2013
@@ -374,6 +374,64 @@
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.gprs.SendChargingInformationGPRSRequest</event-class-name>
</event-definition>
+ <!-- SMS Service -->
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.sms.CONNECT_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.sms.ConnectSMSRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.sms.CONTINUE_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.sms.ContinueSMSRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.sms.EVENT_REPORT_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.sms.EventReportSMSRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.sms.FURNISH_CHARGING_INFORMATION_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.sms.FurnishChargingInformationSMSRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.sms.INITIAL_DP_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.sms.InitialDPSMSRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.sms.RELEASE_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.sms.ReleaseSMSRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.sms.REQUEST_REPORT_SMS_EVENT_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.sms.RequestReportSMSEventRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.sms.RESET_TIMER_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.protocols.ss7.cap.api.service.sms.ResetTimerSMSRequest</event-class-name>
+ </event-definition>
+
<!-- Component events -->
<event-definition>
<event-type-name>ss7.cap.INVOKE_TIMEOUT</event-type-name>
=======================================
---
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/CAPResourceAdaptor.java
Sun Feb 10 04:23:12 2013
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/CAPResourceAdaptor.java
Wed Jun 19 13:16:35 2013
@@ -104,6 +104,14 @@
import
org.mobicents.protocols.ss7.cap.api.service.gprs.SendChargingInformationGPRSRequest;
import org.mobicents.protocols.ss7.cap.api.service.sms.CAPDialogSms;
import
org.mobicents.protocols.ss7.cap.api.service.sms.CAPServiceSmsListener;
+import org.mobicents.protocols.ss7.cap.api.service.sms.ConnectSMSRequest;
+import org.mobicents.protocols.ss7.cap.api.service.sms.ContinueSMSRequest;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.EventReportSMSRequest;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.FurnishChargingInformationSMSRequest;
+import org.mobicents.protocols.ss7.cap.api.service.sms.InitialDPSMSRequest;
+import org.mobicents.protocols.ss7.cap.api.service.sms.ReleaseSMSRequest;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.RequestReportSMSEventRequest;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.ResetTimerSMSRequest;
import org.mobicents.protocols.ss7.tcap.asn.comp.PAbortCauseType;
import org.mobicents.protocols.ss7.tcap.asn.comp.Problem;
import org.mobicents.slee.resource.cap.events.CAPEvent;
@@ -164,6 +172,14 @@
import
org.mobicents.slee.resource.cap.service.gprs.wrappers.ResetTimerGPRSRequestWrapper;
import
org.mobicents.slee.resource.cap.service.gprs.wrappers.SendChargingInformationGPRSRequestWrapper;
import
org.mobicents.slee.resource.cap.service.sms.wrappers.CAPDialogSmsWrapper;
+import
org.mobicents.slee.resource.cap.service.sms.wrappers.ConnectSMSRequestWrapper;
+import
org.mobicents.slee.resource.cap.service.sms.wrappers.ContinueSMSRequestWrapper;
+import
org.mobicents.slee.resource.cap.service.sms.wrappers.EventReportSMSRequestWrapper;
+import
org.mobicents.slee.resource.cap.service.sms.wrappers.FurnishChargingInformationSMSRequestWrapper;
+import
org.mobicents.slee.resource.cap.service.sms.wrappers.InitialDPSMSRequestWrapper;
+import
org.mobicents.slee.resource.cap.service.sms.wrappers.ReleaseSMSRequestWrapper;
+import
org.mobicents.slee.resource.cap.service.sms.wrappers.RequestReportSMSEventRequestWrapper;
+import
org.mobicents.slee.resource.cap.service.sms.wrappers.ResetTimerSMSRequestWrapper;
import org.mobicents.slee.resource.cap.wrappers.CAPDialogWrapper;
import org.mobicents.slee.resource.cap.wrappers.CAPProviderWrapper;
@@ -1025,7 +1041,66 @@
ActivityTestGPRSResponseWrapper event = new
ActivityTestGPRSResponseWrapper(capDialogGprsWrapper, ind);
onEvent(event.getEventTypeName(), capDialogGprsWrapper, event);
}
-
-
-
+
+ // ///////////////////////
+ // Service: SMS
+ // ///////////////////////
+
+
+ @Override
+ public void onConnectSMSRequest(ConnectSMSRequest ind) {
+ CAPDialogSmsWrapper capDialogSmsWrapper = (CAPDialogSmsWrapper)
ind.getCAPDialog().getUserObject();
+ ConnectSMSRequestWrapper event = new
ConnectSMSRequestWrapper(capDialogSmsWrapper, ind);
+ onEvent(event.getEventTypeName(), capDialogSmsWrapper, event);
+ }
+
+ @Override
+ public void onEventReportSMSRequest(EventReportSMSRequest ind) {
+ CAPDialogSmsWrapper capDialogSmsWrapper = (CAPDialogSmsWrapper)
ind.getCAPDialog().getUserObject();
+ EventReportSMSRequestWrapper event = new
EventReportSMSRequestWrapper(capDialogSmsWrapper, ind);
+ onEvent(event.getEventTypeName(), capDialogSmsWrapper, event);
+ }
+
+ @Override
+ public void
onFurnishChargingInformationSMSRequest(FurnishChargingInformationSMSRequest
ind) {
+ CAPDialogSmsWrapper capDialogSmsWrapper = (CAPDialogSmsWrapper)
ind.getCAPDialog().getUserObject();
+ FurnishChargingInformationSMSRequestWrapper event = new
FurnishChargingInformationSMSRequestWrapper(capDialogSmsWrapper, ind);
+ onEvent(event.getEventTypeName(), capDialogSmsWrapper, event);
+ }
+
+ @Override
+ public void onInitialDPSMSRequest(InitialDPSMSRequest ind) {
+ CAPDialogSmsWrapper capDialogSmsWrapper = (CAPDialogSmsWrapper)
ind.getCAPDialog().getUserObject();
+ InitialDPSMSRequestWrapper event = new
InitialDPSMSRequestWrapper(capDialogSmsWrapper, ind);
+ onEvent(event.getEventTypeName(), capDialogSmsWrapper, event);
+ }
+
+ @Override
+ public void onReleaseSMSRequest(ReleaseSMSRequest ind) {
+ CAPDialogSmsWrapper capDialogSmsWrapper = (CAPDialogSmsWrapper)
ind.getCAPDialog().getUserObject();
+ ReleaseSMSRequestWrapper event = new
ReleaseSMSRequestWrapper(capDialogSmsWrapper, ind);
+ onEvent(event.getEventTypeName(), capDialogSmsWrapper, event);
+ }
+
+ @Override
+ public void
onRequestReportSMSEventRequest(RequestReportSMSEventRequest ind) {
+ CAPDialogSmsWrapper capDialogSmsWrapper = (CAPDialogSmsWrapper)
ind.getCAPDialog().getUserObject();
+ RequestReportSMSEventRequestWrapper event = new
RequestReportSMSEventRequestWrapper(capDialogSmsWrapper, ind);
+ onEvent(event.getEventTypeName(), capDialogSmsWrapper, event);
+ }
+
+ @Override
+ public void onResetTimerSMSRequest(ResetTimerSMSRequest ind) {
+ CAPDialogSmsWrapper capDialogSmsWrapper = (CAPDialogSmsWrapper)
ind.getCAPDialog().getUserObject();
+ ResetTimerSMSRequestWrapper event = new
ResetTimerSMSRequestWrapper(capDialogSmsWrapper, ind);
+ onEvent(event.getEventTypeName(), capDialogSmsWrapper, event);
+ }
+
+ @Override
+ public void onContinueSMSRequest(ContinueSMSRequest ind) {
+ CAPDialogSmsWrapper capDialogSmsWrapper = (CAPDialogSmsWrapper)
ind.getCAPDialog().getUserObject();
+ ContinueSMSRequestWrapper event = new
ContinueSMSRequestWrapper(capDialogSmsWrapper, ind);
+ onEvent(event.getEventTypeName(), capDialogSmsWrapper, event);
+ }
+
}
=======================================
---
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/gprs/wrappers/ActivityTestGPRSRequestWrapper.java
Sun Feb 10 04:23:12 2013
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/gprs/wrappers/ActivityTestGPRSRequestWrapper.java
Wed Jun 19 13:16:35 2013
@@ -36,4 +36,9 @@
public ActivityTestGPRSRequestWrapper(CAPDialogGprsWrapper capDialog,
ActivityTestGPRSRequest req) {
super(capDialog, EVENT_TYPE_NAME, req);
}
+
+ @Override
+ public String toString() {
+ return "ActivityTestGPRSRequestWrapper [wrapped=" +
this.wrappedEvent + "]";
+ }
}
=======================================
---
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/CAPDialogSmsWrapper.java
Sat Sep 1 07:28:22 2012
+++
/resources/cap/ra/src/main/java/org/mobicents/slee/resource/cap/service/sms/wrappers/CAPDialogSmsWrapper.java
Wed Jun 19 13:16:35 2013
@@ -22,7 +22,33 @@
package org.mobicents.slee.resource.cap.service.sms.wrappers;
+import java.util.ArrayList;
+
+import org.mobicents.protocols.ss7.cap.api.CAPException;
+import org.mobicents.protocols.ss7.cap.api.primitives.CAPExtensions;
+import org.mobicents.protocols.ss7.cap.api.primitives.CalledPartyBCDNumber;
+import org.mobicents.protocols.ss7.cap.api.primitives.TimeAndTimezone;
+import org.mobicents.protocols.ss7.cap.api.primitives.TimerID;
import org.mobicents.protocols.ss7.cap.api.service.sms.CAPDialogSms;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.EventSpecificInformationSMS;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.EventTypeSMS;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.FCIBCCCAMELsequence1SMS;
+import org.mobicents.protocols.ss7.cap.api.service.sms.primitive.RPCause;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.SMSAddressString;
+import org.mobicents.protocols.ss7.cap.api.service.sms.primitive.SMSEvent;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.TPDataCodingScheme;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.TPProtocolIdentifier;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.TPShortMessageSpecificInfo;
+import
org.mobicents.protocols.ss7.cap.api.service.sms.primitive.TPValidityPeriod;
+import org.mobicents.protocols.ss7.inap.api.primitives.MiscCallInfo;
+import org.mobicents.protocols.ss7.map.api.primitives.IMEI;
+import org.mobicents.protocols.ss7.map.api.primitives.IMSI;
+import org.mobicents.protocols.ss7.map.api.primitives.ISDNAddressString;
+import
org.mobicents.protocols.ss7.map.api.service.callhandling.CallReferenceNumber;
+import
org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation.GPRSMSClass;
+import
org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation.LocationInformation;
+import
org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation.LocationInformationGPRS;
+import
org.mobicents.protocols.ss7.map.api.service.mobility.subscriberInformation.MSClassmark2;
import org.mobicents.slee.resource.cap.CAPDialogActivityHandle;
import org.mobicents.slee.resource.cap.CAPResourceAdaptor;
import org.mobicents.slee.resource.cap.wrappers.CAPDialogWrapper;
@@ -43,9 +69,110 @@
return this.wrappedDialog;
}
- @Override
- public String toString() {
- return "CAPDialogSmsWrapper [wrappedDialog=" + wrappedDialog +
"]";
- }
+ @Override
+ public Long addConnectSMSRequest(SMSAddressString callingPartysNumber,
CalledPartyBCDNumber destinationSubscriberNumber, ISDNAddressString
smscAddress,
+ CAPExtensions extensions) throws CAPException {
+ return
this.wrappedDialog.addConnectSMSRequest(callingPartysNumber,
destinationSubscriberNumber, smscAddress, extensions);
+ }
+
+ @Override
+ public Long addConnectSMSRequest(int customInvokeTimeout,
SMSAddressString callingPartysNumber, CalledPartyBCDNumber
destinationSubscriberNumber,
+ ISDNAddressString smscAddress, CAPExtensions extensions)
throws CAPException {
+ return
this.wrappedDialog.addConnectSMSRequest(customInvokeTimeout,
callingPartysNumber, destinationSubscriberNumber, smscAddress, extensions);
+ }
+
+ @Override
+ public Long addEventReportSMSRequest(EventTypeSMS eventTypeSMS,
EventSpecificInformationSMS eventSpecificInformationSMS, MiscCallInfo
miscCallInfo,
+ CAPExtensions extensions) throws CAPException {
+ return this.wrappedDialog.addEventReportSMSRequest(eventTypeSMS,
eventSpecificInformationSMS, miscCallInfo, extensions);
+ }
+
+ @Override
+ public Long addEventReportSMSRequest(int customInvokeTimeout,
EventTypeSMS eventTypeSMS, EventSpecificInformationSMS
eventSpecificInformationSMS,
+ MiscCallInfo miscCallInfo, CAPExtensions extensions) throws
CAPException {
+ return
this.wrappedDialog.addEventReportSMSRequest(customInvokeTimeout,
eventTypeSMS, eventSpecificInformationSMS, miscCallInfo, extensions);
+ }
+
+ @Override
+ public Long
addFurnishChargingInformationSMSRequest(FCIBCCCAMELsequence1SMS
fciBCCCAMELsequence1) throws CAPException {
+ return
this.wrappedDialog.addFurnishChargingInformationSMSRequest(fciBCCCAMELsequence1);
+ }
+
+ @Override
+ public Long addFurnishChargingInformationSMSRequest(int
customInvokeTimeout, FCIBCCCAMELsequence1SMS fciBCCCAMELsequence1) throws
CAPException {
+ return
this.wrappedDialog.addFurnishChargingInformationSMSRequest(customInvokeTimeout,
fciBCCCAMELsequence1);
+ }
+
+ @Override
+ public Long addInitialDPSMSRequest(int serviceKey,
CalledPartyBCDNumber destinationSubscriberNumber, SMSAddressString
callingPartyNumber,
+ EventTypeSMS eventTypeSMS, IMSI imsi, LocationInformation
locationInformationMSC, LocationInformationGPRS locationInformationGPRS,
+ ISDNAddressString smscCAddress, TimeAndTimezone
timeAndTimezone, TPShortMessageSpecificInfo tPShortMessageSpecificInfo,
+ TPProtocolIdentifier tPProtocolIdentifier, TPDataCodingScheme
tPDataCodingScheme, TPValidityPeriod tPValidityPeriod, CAPExtensions
extensions,
+ CallReferenceNumber smsReferenceNumber, ISDNAddressString
mscAddress, ISDNAddressString sgsnNumber, MSClassmark2 mSClassmark2,
+ GPRSMSClass gprsMSClass, IMEI imei, ISDNAddressString
calledPartyNumber) throws CAPException {
+ return this.wrappedDialog.addInitialDPSMSRequest(serviceKey,
destinationSubscriberNumber, callingPartyNumber, eventTypeSMS, imsi,
+ locationInformationMSC, locationInformationGPRS,
smscCAddress, timeAndTimezone, tPShortMessageSpecificInfo,
tPProtocolIdentifier,
+ tPDataCodingScheme, tPValidityPeriod, extensions,
smsReferenceNumber, mscAddress, sgsnNumber, mSClassmark2, gprsMSClass, imei,
+ calledPartyNumber);
+ }
+
+ @Override
+ public Long addInitialDPSMSRequest(int customInvokeTimeout, int
serviceKey, CalledPartyBCDNumber destinationSubscriberNumber,
+ SMSAddressString callingPartyNumber, EventTypeSMS
eventTypeSMS, IMSI imsi, LocationInformation locationInformationMSC,
+ LocationInformationGPRS locationInformationGPRS,
ISDNAddressString smscCAddress, TimeAndTimezone timeAndTimezone,
+ TPShortMessageSpecificInfo tPShortMessageSpecificInfo,
TPProtocolIdentifier tPProtocolIdentifier, TPDataCodingScheme
tPDataCodingScheme,
+ TPValidityPeriod tPValidityPeriod, CAPExtensions extensions,
CallReferenceNumber smsReferenceNumber, ISDNAddressString mscAddress,
+ ISDNAddressString sgsnNumber, MSClassmark2 mSClassmark2,
GPRSMSClass gprsMSClass, IMEI imei, ISDNAddressString calledPartyNumber)
+ throws CAPException {
+ return
this.wrappedDialog.addInitialDPSMSRequest(customInvokeTimeout, serviceKey,
destinationSubscriberNumber, callingPartyNumber, eventTypeSMS, imsi,
+ locationInformationMSC, locationInformationGPRS,
smscCAddress, timeAndTimezone, tPShortMessageSpecificInfo,
tPProtocolIdentifier,
+ tPDataCodingScheme, tPValidityPeriod, extensions,
smsReferenceNumber, mscAddress, sgsnNumber, mSClassmark2, gprsMSClass, imei,
+ calledPartyNumber);
+ }
+
+ @Override
+ public Long addReleaseSMSRequest(RPCause rpCause) throws CAPException {
+ return this.wrappedDialog.addReleaseSMSRequest(rpCause);
+ }
+
+ @Override
+ public Long addReleaseSMSRequest(int customInvokeTimeout, RPCause
rpCause) throws CAPException {
+ return
this.wrappedDialog.addReleaseSMSRequest(customInvokeTimeout, rpCause);
+ }
+
+ @Override
+ public Long addRequestReportSMSEventRequest(ArrayList<SMSEvent>
smsEvents, CAPExtensions extensions) throws CAPException {
+ return
this.wrappedDialog.addRequestReportSMSEventRequest(smsEvents, extensions);
+ }
+
+ @Override
+ public Long addRequestReportSMSEventRequest(int customInvokeTimeout,
ArrayList<SMSEvent> smsEvents, CAPExtensions extensions) throws
CAPException {
+ return
this.wrappedDialog.addRequestReportSMSEventRequest(customInvokeTimeout,
smsEvents, extensions);
+ }
+
+ @Override
+ public Long addResetTimerSMSRequest(TimerID timerID, int timerValue,
CAPExtensions extensions) throws CAPException {
+ return this.wrappedDialog.addResetTimerSMSRequest(timerID,
timerValue, extensions);
+ }
+
+ @Override
+ public Long addResetTimerSMSRequest(int customInvokeTimeout, TimerID
timerID, int timerValue, CAPExtensions extensions) throws CAPException {
+ return
this.wrappedDialog.addResetTimerSMSRequest(customInvokeTimeout, timerID,
timerValue, extensions);
+ }
+
+ @Override
+ public Long addContinueSMSRequest() throws CAPException {
+ return this.wrappedDialog.addContinueSMSRequest();
+ }
+
+ @Override
+ public Long addContinueSMSRequest(int customInvokeTimeout) throws
CAPException {
+ return
this.wrappedDialog.addContinueSMSRequest(customInvokeTimeout);
+ }
+
+ @Override
+ public String toString() {
+ return "CAPDialogSmsWrapper [wrappedDialog=" + wrappedDialog + "]";
+ }
}
=======================================
---
/resources/cap/ratype/src/main/resources/META-INF/resource-adaptor-type-jar.xml
Sun Feb 10 04:23:12 2013
+++
/resources/cap/ratype/src/main/resources/META-INF/resource-adaptor-type-jar.xml
Wed Jun 19 13:16:35 2013
@@ -354,7 +354,60 @@
</event-type-ref>
<!-- END GPRS SERVICE -->
-
+
+
+ <!-- SMS Service -->
+
+ <event-type-ref>
+
<event-type-name>ss7.cap.service.sms.CONNECT_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+
+ <event-type-ref>
+
<event-type-name>ss7.cap.service.sms.CONTINUE_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+
+ <event-type-ref>
+
<event-type-name>ss7.cap.service.sms.EVENT_REPORT_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+
+ <event-type-ref>
+
<event-type-name>ss7.cap.service.sms.FURNISH_CHARGING_INFORMATION_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+
+ <event-type-ref>
+
<event-type-name>ss7.cap.service.sms.INITIAL_DP_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+
+ <event-type-ref>
+
<event-type-name>ss7.cap.service.sms.RELEASE_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+
+ <event-type-ref>
+
<event-type-name>ss7.cap.service.sms.REQUEST_REPORT_SMS_EVENT_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+
+ <event-type-ref>
+
<event-type-name>ss7.cap.service.sms.RESET_TIMER_SMS_REQUEST</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+ </event-type-ref>
+
+ <!-- END SMS SERVICE -->
+
<!-- Component stuff -->
<event-type-ref>
--
---
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.