Giter VIP home page Giter VIP logo

ussdgateway's Introduction

To test USSD Gateway with mobicents ss7-simulator make sure you follow the below configuration changes and the execute SS7 Command's

1) Copy folder ussd-mobicents-jainslee-x.y.z.FINAL-jboss-5.1.0.GA/extra/mobicents-ss7/ss7/mobicents-ss7-service and paste to ussd-mobicents-jainslee-2.6.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/deploy
 
2) Copy below Resource Adaptors from ussd-mobicents-jainslee-2.6.0.FINAL-jboss-5.1.0.GA/resources/ and paste to ussd-mobicents-jainslee-2.6.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/deploy

	a) map/mobicents-slee-ra-map-du-1.0.0.CR3.jar
	b) http-client/http-client-ra-DU-2.5.0.FINAL.jar
	c) jdbc/mobicents-slee-ra-jdbc-DU-1.0.0.FINAL.jar

3) If you are deploying USSD Gateway from source code, set JBOSS_HOME variable to point to "ussd-mobicents-jainslee-2.6.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA" and execute "mvn clean install" command, it should create "mobicents-ussd-gateway" and ussdhttpdemo.war in /deploy folder of JBoss. 

5) Execute below commands in SS7 CLI to setup SS7 

	5.1) sctp association create Assoc1 CLIENT 127.0.0.1 8012 127.0.0.1 8011 

	5.2) m3ua as create AS1 IPSP mode SE ipspType CLIENT rc 101 traffic-mode loadshare

	5.3) m3ua asp create ASP1 Assoc1

	5.4) m3ua as add AS1 ASP1

	5.5) m3ua route add AS1 2 -1 -1

	5.6) m3ua asp start ASP1

	5.7) sccp sap create 1 1 1 2

	5.8) sccp dest create 1 1 2 2 0 255 255

	5.9) sccp rsp create 1 2 0 0

	5.10) sccp rss create 1 2 8 0

6) Assuming mobicents ss7-simulator is started already you should see on jboss console "10:21:28,046 WARN  [SccpStackImpl-SccpStack] Rx : MTP-RESUME: AffectedDpc=2" indicating that USSD Gateway M3UA layer is now connected with ss7-simulator

7) Dial *519# on ss7-simulator and you should see USSD getting exchanged between simulator and server

ussdgateway's People

Contributors

abhayani avatar baranowb avatar vetss avatar

ussdgateway's Issues

NPE while persisting record

2012-08-10 22:08:37,637 WARN  
[javax.slee.SbbNotification[service=ServiceID[name=mobicents-ussdgateway,vendor=
org.mobicents,version=1.0],sbb=SbbID[name=HttpClientSbb,vendor=org.mobicents,ver
sion=1.0]].USSD-CHILD-org.mobicents.ussdgateway.slee.http.HttpClientSbbImpl] 
(pool-26-thread-1) Rx : DialogTimeoutDialogTimeout 
[MAPDialogSupplementaryWrapper [wrappedDialog=MAPDialog: DialogId=3478 
MAPDialogState=INITIAL_RECEIVED MAPApplicationContext=MAPApplicationContext 
[Name=networkUnstructuredSsContext, Version=version2, Oid=0, 4, 0, 0, 1, 0, 19, 
2, ] TCAPDialogState=Expunged]]
2012-08-10 22:08:37,638 ERROR 
[javax.slee.SbbNotification[service=ServiceID[name=mobicents-ussdgateway,vendor=
org.mobicents,version=1.0],sbb=SbbID[name=CDRSbb,vendor=org.mobicents,version=1.
0]].Charger] (pool-29-thread-1) Failed at execute!
java.lang.NullPointerException
        at org.mobicents.ussdgateway.slee.cdr.jdbc.task.CDRTimeoutTask.executeSimple(CDRTimeoutTask.java:95)
        at org.mobicents.slee.resource.jdbc.task.simple.SimpleJdbcTask.execute(SimpleJdbcTask.java:19)
        at org.mobicents.slee.resource.jdbc.JdbcResourceAdaptor$1.run(JdbcResourceAdaptor.java:387)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
2012-08-10 22:08:37,647 WARN  
[javax.slee.SbbNotification[service=ServiceID[name=mobicents-ussdgateway,vendor=
org.mobicen

Original issue reported on code.google.com by [email protected] on 13 Aug 2012 at 4:24

while setting up ussd Gateway,finding error for mvn clean install -Pjboss

What steps will reproduce the problem?
1../run.sh -b 127.0.0.1
2.mvn clean install -Pjboss
3.

What is the expected output? What do you see instead?
1. while do ./run.sh -b 127.0.0.1, i am able to run but showing dependency 
error.

2. I am attaching the error list.(this error is coming for mvn clean install 
-Pjboss)I am getting error same as this link 
http://markmail.org/download.xqy?id=blu6kctmlu6g6oyv&number=1 

What version of the product are you using? On what operating system?
I am using mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA,ss7,ussdgetway.On 
Linux operating system(ubuntu).

Please provide any additional information below.
I am following http://code.google.com/p/ussdgateway/wiki/DeployUSSDGWFromTrunk 
to set up USSD on my PC.

Original issue reported on code.google.com by [email protected] on 22 Apr 2014 at 6:20

Attachments:

Failed to install ussdgateway with Maven

What steps will reproduce the problem?
1. cd ussdgateway-8eb05ea4012c && mvn clean install

What is the expected output? What do you see instead?
[INFO] Installing /opt/ussdgw/ss7.jain-slee-6b871d604db6/pom.xml to 
/home/mobicents/.m2/repository/org/mobicents/servers/jainslee/ss7/mobicents-slee
-ss7/2.8.0-SNAPSHOT/mobicents-slee-ss7-2.8.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:06 min
[INFO] Finished at: 2014-10-28T12:52:22+02:00
[INFO] Final Memory: 13M/149M
[INFO] ------------------------------------------------------------------------

What version of the product are you using? On what operating system?
ussdgateway-8eb05ea4012c downloded from 
https://code.google.com/p/ussdgateway/source/browse/ as tar.gz at 2014-10-28.

Please provide any additional information below.
No problems with installing ss7.jain-slee-6b871d604db6, but I run 'mvn clean 
install' in ussdgateway-8eb05ea4012c:
$ mvn clean install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.mobicents.ussd:ussd-cli:[unknown-version] 
(/opt/ussdgw/ussdgateway-8eb05ea4012c/core/oam/cli/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.mobicents.ussd:core:pom:1.0.0-SNAPSHOT and 'parent.relativePath' points at 
wrong local POM @ line 5, column 10 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Attached maven full debug log.

Thank you for help. 

Original issue reported on code.google.com by [email protected] on 28 Oct 2014 at 11:46

Attachments:

Code review request

Branch name:

Purpose of code changes on this branch:


When reviewing my code changes, please focus on:


After the review, I'll merge this branch into:
/trunk


Original issue reported on code.google.com by [email protected] on 5 Mar 2012 at 2:22

OOM when the http request is not served

java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:691)
        at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:943)
        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1336)
        at org.mobicents.client.slee.resource.http.HttpClientActivityImpl.execute(HttpClientActivityImpl.java:66)
        at org.mobicents.ussdgateway.slee.http.HttpClientSbb.doPost(HttpClientSbb.java:185)
        at org.mobicents.ussdgateway.slee.http.HttpClientSbb.sendUssdData(HttpClientSbb.java:291)
        at org.mobicents.ussdgateway.slee.ChildSbb.onProcessUnstructuredSSRequest(ChildSbb.java:124)
        at sun.reflect.GeneratedMethodAccessor298.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEntityImpl.java:481)
        at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.routeQueuedEvent(EventRoutingTaskImpl.java:379)
        at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run(EventRoutingTaskImpl.java:126)
        at org.mobicents.slee.runtime.eventrouter.EventRouterExecutorImpl$EventRoutingTaskStatsCollector.run(EventRouterExecutorImpl.java:73)

Original issue reported on code.google.com by [email protected] on 13 Aug 2012 at 4:24

USSD Gateway pom files a little wrong

What steps will reproduce the problem?
1. mvn mobicents:eclipse -Pmaven-release fails


What is the expected output? What do you see instead?
Missing dependency errors and so forth

What version of the product are you using? On what operating system?

 git clone blah

Please provide any additional information below.

 The attached diff fixes problems with building/importing the ussdgateway project

Original issue reported on code.google.com by [email protected] on 13 Mar 2012 at 2:51

Attachments:

Every new request gets IllegalStateException when calling EventsSerializeFactory.deserialize once previous request fails.

Every new request gets IllegalStateException when calling 
EventsSerializeFactory.deserialize once previous request fails. 
Factory should reset the XMLObjectReader in finally block so if error is 
thrown, still it resets the XMLObjectReader.

2012-07-05 09:54:59,746 302617347 ERROR 
[org.apache.catalina.core.ContainerBase] (http-10.199.7.20-8080-102:) 
Servlet.service() for servlet TestServlet threw exception
java.lang.IllegalStateException: Reader not closed or reset
        at javolution.xml.XMLObjectReader.setInput(XMLObjectReader.java:152)
        at org.mobicents.ussdgateway.EventsSerializeFactory.deserialize(EventsSerializeFactory.java:64)
        at com.mtnn.nwg.npd.vas.mobiussd.handler.TestServlet.doPost(TestServlet.java:167)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Thread.java:595)


Original issue reported on code.google.com by [email protected] on 5 Jul 2012 at 9:02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.