Revision: 22784
Author: [email protected]
Date: Tue Aug 7 03:58:22 2012
Log: CAP RA draft version
http://code.google.com/p/mobicents/source/detail?r=22784
Added:
/trunk/servers/jain-slee/resources/cap/docs
/trunk/servers/jain-slee/resources/cap/docs/pom.xml
/trunk/servers/jain-slee/resources/cap/du
/trunk/servers/jain-slee/resources/cap/du/pom.xml
/trunk/servers/jain-slee/resources/cap/du/src
/trunk/servers/jain-slee/resources/cap/du/src/main
/trunk/servers/jain-slee/resources/cap/du/src/main/resources
/trunk/servers/jain-slee/resources/cap/du/src/main/resources/META-INF
/trunk/servers/jain-slee/resources/cap/du/src/main/resources/META-INF/deploy-config.xml
/trunk/servers/jain-slee/resources/cap/du/src/main/resources/META-INF/jboss-dependency.xml
/trunk/servers/jain-slee/resources/cap/events
/trunk/servers/jain-slee/resources/cap/events/pom.xml
/trunk/servers/jain-slee/resources/cap/events/src
/trunk/servers/jain-slee/resources/cap/events/src/main
/trunk/servers/jain-slee/resources/cap/events/src/main/java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/CAPEvent.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/ComponentEvent.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogAccept.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogClose.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogDelimiter.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogNotice.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogProviderAbort.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogRelease.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogRequest.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogTimeout.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogUserAbort.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/ErrorComponent.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/InvokeTimeout.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/ProviderErrorComponent.java
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/RejectComponent.java
/trunk/servers/jain-slee/resources/cap/events/src/main/resources
/trunk/servers/jain-slee/resources/cap/events/src/main/resources/META-INF
/trunk/servers/jain-slee/resources/cap/events/src/main/resources/META-INF/event-jar.xml
=======================================
--- /dev/null
+++ /trunk/servers/jain-slee/resources/cap/docs/pom.xml Tue Aug 7 03:58:22
2012
@@ -0,0 +1,49 @@
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>mobicents-slee-ra-cap</artifactId>
+ <groupId>org.mobicents.resources</groupId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>mobicents-slee-ra-cap-docs</artifactId>
+
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>sources</module>
+ </modules>
+
+ <profiles>
+ <profile>
+ <id>mobicents</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>sources-mobicents</module>
+ <module>jdocbook-mobicents</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>jbcp</id>
+ <modules>
+ <module>sources-jbcp</module>
+ <module>jdocbook-jbcp</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>maven-release</id>
+ <modules>
+ <module>sources-mobicents</module>
+ <module>jdocbook-mobicents</module>
+ <module>sources-jbcp</module>
+ <module>jdocbook-jbcp</module>
+ </modules>
+ </profile>
+ </profiles>
+
+</project>
=======================================
--- /dev/null
+++ /trunk/servers/jain-slee/resources/cap/du/pom.xml Tue Aug 7 03:58:22
2012
@@ -0,0 +1,84 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>mobicents-slee-ra-cap</artifactId>
+ <groupId>org.mobicents.resources</groupId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>mobicents-slee-ra-cap-du</artifactId>
+
+ <name>Mobicents :: Resources :: ${pom.artifactId}</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>mobicents-slee-ra-cap-library</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>mobicents-slee-ra-cap-events</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>mobicents-slee-ra-cap-ratype</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>mobicents-slee-ra-cap-ra</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.mobicents.tools</groupId>
+ <artifactId>maven-du-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+
<goal>copy-dependencies</goal>
+
<goal>generate-descriptor</goal>
+
<goal>generate-ant-management-script</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>deploy-DU</id>
+ <phase>install</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <copy overwrite="true"
file="target/${project.build.finalName}.jar"
todir="${jboss.home}/server/${node}/deploy" />
+ </tasks>
+ </configuration>
+ </execution>
+ <execution>
+ <id>undeploy-DU</id>
+ <phase>clean</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete
file="${jboss.home}/server/${node}/deploy/${project.build.finalName}.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/du/src/main/resources/META-INF/deploy-config.xml
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy-config>
+ <ra-entity
resource-adaptor-id="ResourceAdaptorID[name=CAPResourceAdaptor,vendor=org.mobicents,version=2.0]"
entity-name="CAPRA">
+ <properties />
+ <ra-link name="CAPRA" />
+ </ra-entity>
+</deploy-config>
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/du/src/main/resources/META-INF/jboss-dependency.xml
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,3 @@
+<dependency xmlns="urn:jboss:dependency:1.0">
+ <item whenRequired="Real"
dependentState="Installed">CAPSS7Service</item>
+</dependency>
=======================================
--- /dev/null
+++ /trunk/servers/jain-slee/resources/cap/events/pom.xml Tue Aug 7
03:58:22 2012
@@ -0,0 +1,22 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>mobicents-slee-ra-cap</artifactId>
+ <groupId>org.mobicents.resources</groupId>
+ <version>2.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>mobicents-slee-ra-cap-events</artifactId>
+
+ <name>Mobicents :: Resources :: ${pom.artifactId}</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>mobicents-slee-ra-cap-library</artifactId>
+ <version>${pom.version}</version>
+ </dependency>
+ </dependencies>
+
+</project>
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/CAPEvent.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,66 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import org.mobicents.protocols.ss7.cap.api.CAPMessage;
+
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public abstract class CAPEvent<T extends CAPMessage> {
+ protected final CAPDialog capDialogWrapper;
+ private final String eventTypeName;
+ protected final T wrappedEvent;
+
+ public CAPEvent(CAPDialog cAPDialog, String eventTypeName, T
wrappedEvent) {
+ this.capDialogWrapper = cAPDialog;
+ this.eventTypeName = eventTypeName;
+ this.wrappedEvent = wrappedEvent;
+ }
+
+ public CAPDialog getCAPDialog() {
+ return capDialogWrapper;
+ }
+
+ public String getEventTypeName() {
+ return eventTypeName;
+ }
+
+ public void setCAPDialog(CAPDialog arg0) {
+ throw new UnsupportedOperationException();
+ }
+
+ public T getWrappedEvent(){
+ return this.wrappedEvent;
+ }
+
+ @Override
+ public String toString() {
+ return "CAPEvent [CAPDialog=" + capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/ComponentEvent.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,49 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+
+
+/**
+ *
+ * @author baranowb
+ * @author sergey vetyutnev
+ *
+ */
+public abstract class ComponentEvent extends CAPEvent {
+
+ protected Long invokeId;
+ /**
+ * @param capDialogWrapper
+ */
+ public ComponentEvent(CAPDialog cAPDialog, Long invokeId, String
eventTypeName) {
+ super(cAPDialog, eventTypeName, null);
+ this.invokeId = invokeId;
+ }
+
+ public Long getInvokeId() {
+ return this.invokeId;
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogAccept.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,57 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import org.mobicents.protocols.ss7.cap.api.dialog.CAPGprsReferenceNumber;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogAccept extends CAPEvent {
+
+ private final CAPGprsReferenceNumber capGprsReferenceNumber;
+
+ private static final String EVENT_TYPE_NAME = "ss7.cap.DIALOG_ACCEPT";
+
+ /**
+ * @param capDialogWrapper
+ */
+ public DialogAccept(CAPDialog capDialogWrapper, CAPGprsReferenceNumber
capGprsReferenceNumber) {
+ super(capDialogWrapper, EVENT_TYPE_NAME, null);
+ this.capGprsReferenceNumber = capGprsReferenceNumber;
+ }
+
+ public CAPGprsReferenceNumber getCAPGprsReferenceNumber() {
+ return capGprsReferenceNumber;
+ }
+
+ @Override
+ public String toString() {
+ return "DialogAccept [capGprsReferenceNumber=" + capGprsReferenceNumber
+ ", capDialogWrapper=" + capDialogWrapper
+ + "]";
+ }
+}
+
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogClose.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,48 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogClose extends CAPEvent {
+
+ private static final String EVENT_TYPE_NAME = "ss7.cap.DIALOG_CLOSE";
+
+ /**
+ * @param capDialogWrapper
+ */
+ public DialogClose(CAPDialog capDialogWrapper) {
+ super(capDialogWrapper, EVENT_TYPE_NAME, null);
+ }
+
+ @Override
+ public String toString() {
+ return "DialogClose [" + this.capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogDelimiter.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,44 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogDelimiter extends CAPEvent {
+
+ private static final String EVENT_TYPE_NAME =
"ss7.cap.DIALOG_DELIMITER";
+
+ public DialogDelimiter(CAPDialog capDialogWrapper) {
+ super(capDialogWrapper, EVENT_TYPE_NAME, null);
+ }
+
+ @Override
+ public String toString() {
+ return "DialogDelimiter [" + this.capDialogWrapper + "]";
+ }
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogNotice.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,56 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import
org.mobicents.protocols.ss7.cap.api.dialog.CAPNoticeProblemDiagnostic;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogNotice extends CAPEvent {
+
+ private static final String EVENT_TYPE_NAME = "ss7.cap.DIALOG_NOTICE";
+
+ private final CAPNoticeProblemDiagnostic noticeProblemDiagnostic;
+
+ /**
+ * @param capDialogWrapper
+ */
+ public DialogNotice(CAPDialog capDialogWrapper,
CAPNoticeProblemDiagnostic noticeProblemDiagnostic) {
+ super(capDialogWrapper, EVENT_TYPE_NAME, null);
+ this.noticeProblemDiagnostic = noticeProblemDiagnostic;
+ }
+
+ public CAPNoticeProblemDiagnostic getNoticeProblemDiagnostic() {
+ return noticeProblemDiagnostic;
+ }
+
+ @Override
+ public String toString() {
+ return "DialogNotice [noticeProblemDiagnostic=" +
noticeProblemDiagnostic + ", " + this.capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogProviderAbort.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,56 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import org.mobicents.protocols.ss7.tcap.asn.comp.PAbortCauseType;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogProviderAbort extends CAPEvent {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.DIALOG_PROVIDERABORT";
+
+ private final PAbortCauseType abortCause;
+
+ /**
+ * @param capDialogWrapper
+ */
+ public DialogProviderAbort(CAPDialog capDialogWrapper, PAbortCauseType
abortCause) {
+ super(capDialogWrapper, EVENT_TYPE_NAME, null);
+ this.abortCause = abortCause;
+ }
+
+ public PAbortCauseType getPAbortCauseType() {
+ return abortCause;
+ }
+
+ @Override
+ public String toString() {
+ return "DialogProviderAbort [abortCause=" + abortCause + ", " +
this.capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogRelease.java
Tue Aug 7 03:58:22 2012
@@ -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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogRelease extends CAPEvent {
+
+ private static final String EVENT_TYPE_NAME = "ss7.cap.DIALOG_RELEASE";
+
+ public DialogRelease(CAPDialog cAPDialog) {
+ super(cAPDialog, EVENT_TYPE_NAME, null);
+ }
+
+ @Override
+ public String toString() {
+ return "DialogRelease [" + this.capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogRequest.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,56 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import org.mobicents.protocols.ss7.cap.api.dialog.CAPGprsReferenceNumber;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogRequest extends CAPEvent {
+
+ private static final String EVENT_TYPE_NAME = "ss7.cap.DIALOG_REQUEST";
+
+ private final CAPGprsReferenceNumber capGprsReferenceNumber;
+
+ /**
+ * @param capDialogWrapper
+ */
+ public DialogRequest(CAPDialog capDialogWrapper, CAPGprsReferenceNumber
capGprsReferenceNumber) {
+ super(capDialogWrapper, EVENT_TYPE_NAME, null);
+ this.capGprsReferenceNumber = capGprsReferenceNumber;
+ }
+
+ public CAPGprsReferenceNumber getCAPGprsReferenceNumber() {
+ return capGprsReferenceNumber;
+ }
+
+ @Override
+ public String toString() {
+ return "DialogRequest [capGprsReferenceNumber=" + capGprsReferenceNumber
+ ", " + this.capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogTimeout.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,48 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogTimeout extends CAPEvent {
+
+ private static final String EVENT_TYPE_NAME = "ss7.cap.DIALOG_TIMEOUT";
+
+ /**
+ * @param capDialogWrapper
+ */
+ public DialogTimeout(CAPDialog capDialogWrapper) {
+ super(capDialogWrapper, EVENT_TYPE_NAME, null);
+ }
+
+ @Override
+ public String toString() {
+ return "DialogTimeout [" + this.capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/DialogUserAbort.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,64 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import org.mobicents.protocols.ss7.cap.api.dialog.CAPGeneralAbortReason;
+import org.mobicents.protocols.ss7.cap.api.dialog.CAPUserAbortReason;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class DialogUserAbort extends CAPEvent {
+
+ private static final String EVENT_TYPE_NAME =
"ss7.cap.DIALOG_USERABORT";
+
+ private final CAPGeneralAbortReason generalReason;
+ private final CAPUserAbortReason userReason;
+
+ /**
+ * @param capDialogWrapper
+ */
+ public DialogUserAbort(CAPDialog capDialogWrapper, CAPGeneralAbortReason
generalReason, CAPUserAbortReason userReason) {
+ super(capDialogWrapper, EVENT_TYPE_NAME, null);
+ this.generalReason = generalReason;
+ this.userReason = userReason;
+ }
+
+ public CAPGeneralAbortReason getGeneralReason() {
+ return generalReason;
+ }
+
+ public CAPUserAbortReason getUserReason() {
+ return userReason;
+ }
+
+ @Override
+ public String toString() {
+ return "DialogUserAbort [generalReason=" + generalReason + ",
userReason=" + userReason + ", "
+ + this.capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/ErrorComponent.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,58 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import org.mobicents.protocols.ss7.cap.api.errors.CAPErrorMessage;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class ErrorComponent extends ComponentEvent {
+
+ private static final String EVENT_TYPE_NAME = "ss7.cap.ERROR_COMPONENT";
+
+ protected CAPErrorMessage capErrorMessage;
+
+ /**
+ * @param capDialogWrapper
+ * @param invokeId
+ */
+ public ErrorComponent(CAPDialog cAPDialog, Long invokeId, CAPErrorMessage
capErrorMessage) {
+ super(cAPDialog, invokeId, EVENT_TYPE_NAME);
+ this.capErrorMessage = capErrorMessage;
+ }
+
+ public CAPErrorMessage getCAPErrorMessage() {
+ return this.capErrorMessage;
+ }
+
+ @Override
+ public String toString() {
+ return "ErrorComponent [capErrorMessage=" + capErrorMessage + ",
invokeId=" + invokeId + ", capDialogWrapper="
+ + capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/InvokeTimeout.java
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,49 @@
+/*
+ * 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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class InvokeTimeout extends ComponentEvent {
+
+ private static final String EVENT_TYPE_NAME = "ss7.cap.INVOKE_TIMEOUT";
+
+ /**
+ * @param capDialogWrapper
+ * @param invokeId
+ */
+ public InvokeTimeout(CAPDialog cAPDialog, Long invokeId) {
+ super(cAPDialog, invokeId, EVENT_TYPE_NAME);
+ }
+
+ @Override
+ public String toString() {
+ return "InvokeTimeout [invokeId=" + invokeId + ", capDialogWrapper=" +
capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/ProviderErrorComponent.java
Tue Aug 7 03:58:22 2012
@@ -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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import org.mobicents.protocols.ss7.cap.api.dialog.CAPComponentErrorReason;
+
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class ProviderErrorComponent extends ComponentEvent {
+
+ private static final String EVENT_TYPE_NAME
= "ss7.cap.PROVIDER_ERROR_COMPONENT";
+
+ protected CAPComponentErrorReason providerError;
+
+ /**
+ * @param capDialogWrapper
+ * @param invokeId
+ */
+ public ProviderErrorComponent(CAPDialog cAPDialog, Long invokeId,
CAPComponentErrorReason providerError) {
+ super(cAPDialog, invokeId, EVENT_TYPE_NAME);
+ this.providerError = providerError;
+ }
+
+ public CAPComponentErrorReason getProviderError() {
+ return this.providerError;
+ }
+
+ @Override
+ public String toString() {
+ return "ProviderErrorComponent [providerError=" + providerError + ",
invokeId=" + invokeId
+ + ", capDialogWrapper=" + capDialogWrapper +
"]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/java/org/mobicents/slee/resource/cap/events/RejectComponent.java
Tue Aug 7 03:58:22 2012
@@ -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.events;
+
+import org.mobicents.protocols.ss7.cap.api.CAPDialog;
+import org.mobicents.protocols.ss7.tcap.asn.comp.Problem;
+
+
+/**
+ *
+ * @author sergey vetyutnev
+ *
+ */
+public class RejectComponent extends ComponentEvent {
+
+ private static final String EVENT_TYPE_NAME =
"ss7.cap.REJECT_COMPONENT";
+
+ protected Problem problem;
+
+ /**
+ * @param capDialogWrapper
+ * @param invokeId
+ */
+ public RejectComponent(CAPDialog cAPDialog, Long invokeId, Problem
problem) {
+ super(cAPDialog, invokeId, EVENT_TYPE_NAME);
+ this.problem = problem;
+ }
+
+ public Problem getProblem() {
+ return this.problem;
+ }
+
+ @Override
+ public String toString() {
+ return "RejectComponent [problem=" + problem + ", invokeId=" + invokeId
+ ", capDialogWrapper="
+ + capDialogWrapper + "]";
+ }
+
+}
=======================================
--- /dev/null
+++
/trunk/servers/jain-slee/resources/cap/events/src/main/resources/META-INF/event-jar.xml
Tue Aug 7 03:58:22 2012
@@ -0,0 +1,280 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE event-jar PUBLIC "-//Sun Microsystems, Inc.//DTD JAIN SLEE Event
1.1//EN" "http://java.sun.com/dtd/slee-event-jar_1_1.dtd">
+
+
+
+<event-jar>
+
+ <library-ref>
+ <library-name>library-cap</library-name>
+ <library-vendor>library-cap</library-vendor>
+ <library-version>2.0</library-version>
+ </library-ref>
+
+ <!-- Dialog Events -->
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_DELIMITER</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.DialogDelimiter</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_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.slee.resource.cap.events.DialogRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_ACCEPT</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.DialogAccept</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_USERABORT</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.DialogUserAbort</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_PROVIDERABORT</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.DialogProviderAbort</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_CLOSE</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.DialogClose</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_NOTICE</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.DialogNotice</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_TIMEOUT</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.DialogTimeout</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.DIALOG_RELEASE</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.DialogRelease</event-class-name>
+ </event-definition>
+
+ <!-- Service Specific -->
+
+ <!-- CircuitSwitchedCall Service -->
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.INITIAL_DP_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.circuitSwitchedCall.InitialDPRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.ACTIVITY_TEST_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.circuitSwitchedCall.ActivityTestRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.ACTIVITY_TEST_RESPONSE</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.circuitSwitchedCall.ActivityTestResponse</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.APPLY_CHARGING_REPORT_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.circuitSwitchedCall.ApplyChargingReportRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.APPLY_CHARGING_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.circuitSwitchedCall.ApplyChargingRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.ASSIST_REQUEST_INSTRUCTIONS_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.circuitSwitchedCall.AssistRequestInstructionsRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.CALL_INFORMATION_REPORT_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.circuitSwitchedCall.CallInformationReportRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.CALL_INFORMATION_REQUEST_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.circuitSwitchedCall.CallInformationRequestRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.CANCEL_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.circuitSwitchedCall.CancelRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.CONNECT_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.circuitSwitchedCall.ConnectRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.CONNECT_TO_RESOURCE_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.circuitSwitchedCall.ConnectToResourceRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.CONTINUE_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.circuitSwitchedCall.ContinueRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.DISCONNECT_FORWARD_CONNECTION_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.circuitSwitchedCall.DisconnectForwardConnectionRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.ESTABLISH_TEMPORARY_CONNECTION_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.circuitSwitchedCall.EstablishTemporaryConnectionRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.EVENT_REPORT_BCSM_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.circuitSwitchedCall.EventReportBCSMRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.FURNISH_CHARGING_INFORMATION_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.circuitSwitchedCall.FurnishChargingInformationRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.PLAY_ANNOUNCEMENT_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.circuitSwitchedCall.PlayAnnouncementRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.RELEASE_CALL_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.circuitSwitchedCall.ReleaseCallRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.PROMPT_AND_COLLECT_USER_INFORMATION_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.circuitSwitchedCall.PromptAndCollectUserInformationRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.PROMPT_AND_COLLECT_USER_INFORMATION_RESPONSE</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.circuitSwitchedCall.PromptAndCollectUserInformationResponse</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.REQUEST_REPORT_BCSM_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.circuitSwitchedCall.RequestReportBCSMEventRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.RESET_TIMER_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.circuitSwitchedCall.ResetTimerRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.SEND_CHARGING_INFORMATION_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.circuitSwitchedCall.SendChargingInformationRequest</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.service.circuitSwitchedCall.SPECIALIZED_RESOURCE_REPORT_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.circuitSwitchedCall.SpecializedResourceReportRequest</event-class-name>
+ </event-definition>
+
+
+ <!-- Component events -->
+ <event-definition>
+ <event-type-name>ss7.cap.INVOKE_TIMEOUT</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.InvokeTimeout</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.ERROR_COMPONENT</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.ErrorComponent</event-class-name>
+ </event-definition>
+
+ <event-definition>
+
<event-type-name>ss7.cap.PROVIDER_ERROR_COMPONENT</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.ProviderErrorComponent</event-class-name>
+ </event-definition>
+
+ <event-definition>
+ <event-type-name>ss7.cap.REJECT_COMPONENT</event-type-name>
+ <event-type-vendor>org.mobicents</event-type-vendor>
+ <event-type-version>1.0</event-type-version>
+
<event-class-name>org.mobicents.slee.resource.cap.events.RejectComponent</event-class-name>
+ </event-definition>
+</event-jar>
+
+