Re: [mobicents-public] Mobicents USSD gateway and examples

1,615 views
Skip to first unread message

Bartosz Baranowski

unread,
Jun 27, 2011, 6:06:35 AM6/27/11
to mobicent...@googlegroups.com
Hi.

See inline.
Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


On Mon, Jun 27, 2011 at 10:41 AM, okeweka <oke...@gmail.com> wrote:
Hello everyone,

I need to setup a USSD Gateway and build a USSD application. At the
moment I do not have SIGTRAN setup nor do I have any SS7 boards
(dialogic etc.) The company I work for wants to see a proof of concept
before we decide how best to proceed. Therefore I was hoping to
connect to a USSD simulator for the purpose of testing and demoing

What kind of simulator you have?
 
before we move to buy any hardware or extra resources. I downloaded
"mobicents-jainslee-2.4.0.FINAL-jboss-5.1.0.GA.rar" for this purpose.
I've setup the JBoss server, with the MAP RA deployed and have the SS7
stack and service installed. I also have the ea of jdk7 installed
properly on Windows. But I don't know how to continue. My questions
specifically are...

1). Do I need RHEL5 to properly run the setup or is windows okay?
SCTP wont work on windows and this is M3UA protocol used for transport. 
2). Does jainslee version I installed come with the Ussd-gateway
preinstalled or is it a separate download?
No, only stack come in "extra" in JSLEE binary.
if so, 3.) How do I connect my USSD application to said gateway?

Right now USSD GW supports SIP as transport protocol, that is, from one side it talks over MAP, on the other,proxies USSD data over SIP(to reach AS, for instance USSD example)
 
4.) Does mobicents have a simulator that I can download for testing
the applications response?
No, ATM its outdated, we are planning to update it so it can work with latest stack.
5.) Is there a link to a ussd example for mobicents?
There is one in examples section of source. 

Any response will be greatly appreciated.


and 

okeweka

unread,
Jun 28, 2011, 6:24:37 PM6/28/11
to mobicents-public
Thanks Bartosz for the prompt reply! I started on the installation but
I ran into an issue using Maven-3

I tried to get the server and example via svn and I think I've gotten
them. However building the project with mvn install has given me some
errors for both.

For the ussd-gateway:

[WARNING] The POM for org.mobicents.tools:sip-balancer-jar:jar:
1.0.4.FINAL is in
valid, transitive dependencies (if any) will not be available, enable
debug logg
ing for more details
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] USSD Gateway SIP Sbb .............................. FAILURE
[20.129s]
[INFO] USSD Gateway Parent Sbb ........................... SKIPPED
[INFO] ussdgateway-services-DU ........................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22.912s
[INFO] Finished at: Tue Jun 28 23:07:56 WAT 2011
[INFO] Final Memory: 16M/146M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ussdgateway-sip-sbb: Could
not resolve
dependencies for project org.mobicents.applications.ussd:ussdgateway-
sip-sbb:ja
r:1.0.0.BETA1-SNAPSHOT: Failed to collect dependencies for
[org.mobicents.applic
ations.ussd:ussdgateway-library:jar:1.0.0.BETA1-SNAPSHOT (compile),
org.mobicent
s.resources:mobicents-slee-ra-map-ratype:jar:2.1.2.FINAL (compile),
org.mobicent
s.resources:sip11-ratype:jar:2.2.0.FINAL (compile)]: Failed to read
artifact des
criptor for jpl-pattern:jpl-pattern:jar:1.0: Could not transfer
artifact jpl-pat
tern:jpl-pattern:pom:1.0 from/to jboss (http://repository.jboss.org/
maven2): Acc
ess denied to: http://repository.jboss.org/maven2/jpl-pattern/jpl-pattern/1.0/jp
l-pattern-1.0.pom -> [Help 1]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Also when trying to Build the Ussd Example I've gotten the following
error:

[INFO] Scanning for projects...
[WARNING] The POM for org.mobicents.tools:maven-library-plugin:jar:$
{mobicents.t
ools.mavenplugin.library.version} is missing, no dependency
information availabl
e
[WARNING] The POM for org.mobicents.tools:maven-du-plugin:jar:$
{mobicents.tools.
mavenplugin.du.version} is missing, no dependency information
available
[ERROR] The build could not read 2 projects -> [Help 1]
[ERROR]
[ERROR] The project org.mobicents.examples.ussd:ussdexample-library:
2.1.0-SNAP
SHOT (C:\Users\Osarume\Desktop\mobicents\servers\jain-slee\examples
\ussd\library
\pom.xml) has 3 errors
[ERROR] Unresolveable build extension: Plugin
org.mobicents.tools:maven-libr
ary-plugin:${mobicents.tools.mavenplugin.library.version} or one of
its dependen
cies could not be resolved: Failure to find org.mobicents.tools:maven-
library-pl
ugin:jar:${mobicents.tools.mavenplugin.library.version} in https://repository.jb
oss.org/nexus/content/groups/public/ was cached in the local
repository, resolut
ion will not be reattempted until the update interval of jboss-public-
repository
-group has elapsed or updates are forced -> [Help 2]
[ERROR] Unknown packaging: jainslee-library @ line 7, column 13
[ERROR] 'build.plugins.plugin.version' for
org.mobicents.tools:maven-library
-plugin must be a valid version but is '$
{mobicents.tools.mavenplugin.library.ve
rsion}'. @ line 52, column 14
[ERROR]
[ERROR] The project org.mobicents.examples.ussd:ussd-example-DU:
2.1.0-SNAPSHOT
(C:\Users\Osarume\Desktop\mobicents\servers\jain-slee\examples\ussd\du
\pom.xml)
has 2 errors
[ERROR] Unresolveable build extension: Plugin
org.mobicents.tools:maven-du-p
lugin:${mobicents.tools.mavenplugin.du.version} or one of its
dependencies could
not be resolved: Failure to find org.mobicents.tools:maven-du-
plugin:jar:${mobi
cents.tools.mavenplugin.du.version} in https://repository.jboss.org/nexus/conten
t/groups/public/ was cached in the local repository, resolution will
not be reat
tempted until the update interval of jboss-public-repository-group has
elapsed o
r updates are forced -> [Help 2]
[ERROR] 'build.plugins.plugin.version' for
org.mobicents.tools:maven-du-plug
in must be a valid version but is '$
{mobicents.tools.mavenplugin.du.version}'. @
line 33, column 14
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
onException


Note that I have not built any other part of the Mobicents Trunk. For
the USSD example, If I could at least get access to the document
explaining how it runs would be good enough for me.

Thanks again for the help!

- Osarume

okeweka

unread,
Jul 5, 2011, 12:09:57 PM7/5/11
to mobicents-public
Hello all,

I am still having trouble installing the USSD gateway.
I have the jain-slee JBOSS server set. all my variables set and my
development environment set as referred here
"http://community.jboss.org/wiki/
MobicentsJAINSLEEDevelopmentEnvironmentSetup#Adding_M2_REPO_Variable_to_Eclipse"

I checked out the code anonymously from the trunk.
I've deployed the sip11 and map RA's to the JBOSS server then I
attempted to run maven install with maven-2.2.1 in the ussdgateway
folder.

After running for a bit, it hits Build Failure at Compile time.

I've been searching for awhile to resolve the error but I can't figure
it out. Any help will be appreciated

[INFO] 44 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[50,4
2] error: package org.mobicents.protocols.ss7.map.api does not exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[51,4
2] error: package org.mobicents.protocols.ss7.map.api does not exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[52,4
2] error: package org.mobicents.protocols.ss7.map.api does not exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[53,4
2] error: package org.mobicents.protocols.ss7.map.api does not exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[54,4
9] error: package org.mobicents.protocols.ss7.map.api.dialog does not
exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[55,6
4] error: package
org.mobicents.protocols.ss7.map.api.service.supplementary does
not exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[56,6
4] error: package
org.mobicents.protocols.ss7.map.api.service.supplementary does
not exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[57,6
4] error: package
org.mobicents.protocols.ss7.map.api.service.supplementary does
not exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[58,6
4] error: package
org.mobicents.protocols.ss7.map.api.service.supplementary does
not exist
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[59,3
8] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[60,3
8] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[61,3
8] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[62,3
8] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[63,3
8] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[64,3
8] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[65,3
8] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[103,
9] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[104,
9] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[120,
3] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[220,
37] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[289,
31] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[296,
28] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[302,
28] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[311,
31] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[321,
35] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[331,
27] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[340,
28] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[470,
9] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[229,
2] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[230,
2] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[240,
3] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[246,
12] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[471,
2] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[476,
27] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[477,
12] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[541,
18] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[685,
2] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[693,
5] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[697,
11] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[708,
2] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[717,
5] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[729,
11] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[737,
2] error: cannot find symbol
\Documents and Settings\openiyi\Desktop\Mobicents-read-only
\applications\ussdgat
eway\slee\sip-sbb\src\main\java\org\mobicents\ussdgateway\slee
\SipSbb.java:[743,
11] error: cannot find symbol

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3 minutes 35 seconds
[INFO] Finished at: Wed Jul 06 03:11:30 MAGST 2011
[INFO] Final Memory: 41M/98M
[INFO]
------------------------------------------------------------------------

Bartosz Baranowski

unread,
Jul 5, 2011, 12:29:17 PM7/5/11
to mobicent...@googlegroups.com
Hi Okaweka.
Sorry for late reply, we have been a bit occupied recently, more than usually.
Will check that in the morning as I will have to check setup of USSD GW and example
.
Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


okeweka

unread,
Jul 6, 2011, 3:41:21 AM7/6/11
to mobicents-public
Thanks for the reply Bartosz, I figured you guys were busy.
I'll continue working through my errors as I wait patiently.

Cheers,

- Osarume Eweka

okeweka

unread,
Jul 27, 2011, 3:38:27 AM7/27/11
to mobicents-public
I got the gateway working on Windows but I wanted to try and run the
simulator through it to test my work. I checked out the ss7 protocols
from the repository and the key protocols m3ua and map are giving me
issues on the "mvn install" command.

For m3ua, 2 of 69 tests fail. I'm still new to the environment and
don't know how to go about solving the issue. I installed lksctp
(supposedly correctly) as a side note.
Below is what showed in the command prompt
<code>
Tests in error:

testSockets(org.mobicents.protocols.ss7.m3ua.impl.sctp.M3UATransferTest)
testSingleAspInAs(org.mobicents.protocols.ss7.m3ua.impl.GatewayTest)

Tests run: 69, Failures: 0, Errors: 2, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to /root/mobicents-read-only/protocols/ss7/m3ua/impl/
target/surefire-reports for the individual test results.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 36 seconds
[INFO] Finished at: Sat Jul 23 09:10:45 WAT 2011
[INFO] Final Memory: 36M/86M
[INFO]
------------------------------------------------------------------------
</code>

The error thrown is "java.net.SocketException: Protocol not supported"
for both tests.

okeweka

unread,
Jul 27, 2011, 3:43:57 AM7/27/11
to mobicents-public
As for map, I have no idea what the cause of the error is. Any ideas?

<code>

could not parse error message: symbol: method
setLocalOperationCode(long)
location: variable oc of type OperationCode
/root/mobicents-read-only/protocols/ss7/map/map-impl/src/main/java/org/
mobicents/protocols/ss7/map/service/supplementary/
MAPDialogSupplementaryImpl.java:136: error: no suitable method found
for createOperationCode()
OperationCode oc = TcapFactory.createOperationCode();
^

method TcapFactory.createOperationCode(int,AsnInputStream) is not
applicable
(actual and formal argument lists differ in length)
method TcapFactory.createOperationCode(boolean,Long) is not
applicable
(actual and formal argument lists differ in length)
/root/mobicents-read-only/protocols/ss7/map/map-impl/src/main/java/org/
mobicents/protocols/ss7/map/service/supplementary/
MAPDialogSupplementaryImpl.java:[137,4] error: cannot find symbol

could not parse error message: symbol: method
setLocalOperationCode(long)
location: variable oc of type OperationCode
/root/mobicents-read-only/protocols/ss7/map/map-impl/src/main/java/org/
mobicents/protocols/ss7/map/service/supplementary/
MAPDialogSupplementaryImpl.java:175: error: no suitable method found
for createOperationCode()
OperationCode oc =
TcapFactory.createOperationCode();
^

method TcapFactory.createOperationCode(int,AsnInputStream) is not
applicable
(actual and formal argument lists differ in length)
method TcapFactory.createOperationCode(boolean,Long) is not
applicable
(actual and formal argument lists differ in length)
/root/mobicents-read-only/protocols/ss7/map/map-impl/src/main/java/org/
mobicents/protocols/ss7/map/service/supplementary/
MAPDialogSupplementaryImpl.java:[176,5] error: cannot find symbol

could not parse error message: symbol: method
setLocalOperationCode(long)
location: variable oc of type OperationCode
/root/mobicents-read-only/protocols/ss7/map/map-impl/src/main/java/org/
mobicents/protocols/ss7/map/service/supplementary/
MAPDialogSupplementaryImpl.java:221: error: no suitable method found
for createOperationCode()
OperationCode oc = TcapFactory.createOperationCode();
^

method TcapFactory.createOperationCode(int,AsnInputStream) is not
applicable
(actual and formal argument lists differ in length)
method TcapFactory.createOperationCode(boolean,Long) is not
applicable
(actual and formal argument lists differ in length)
/root/mobicents-read-only/protocols/ss7/map/map-impl/src/main/java/org/
mobicents/protocols/ss7/map/service/supplementary/
MAPDialogSupplementaryImpl.java:[222,4] error: cannot find symbol

could not parse error message: symbol: method
setLocalOperationCode(long)
location: variable oc of type OperationCode
/root/mobicents-read-only/protocols/ss7/map/map-impl/src/main/java/org/
mobicents/protocols/ss7/map/service/lsm/MAPServiceLsmImpl.java:105:
error: cannot find symbol
Long ocValue = oc.getLocalOperationCode();
^


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 10 seconds
[INFO] Finished at: Sat Jul 23 09:43:52 WAT 2011
[INFO] Final Memory: 31M/85M
[INFO]
------------------------------------------------------------------------

</code>

Any help would be great.

okeweka

unread,
Jul 27, 2011, 3:45:42 AM7/27/11
to mobicents-public
P.S: I forgot to mention, the last two posts are about RHEL5 instanced
on VMWare.

Ngwenya

unread,
Jul 27, 2011, 4:00:42 AM7/27/11
to mobicents-public
Hi Okeweka !

Can you help me with the USSD gateway setup, because i've followed
every necessary step
and i always get these errors:

When i try *mvn clean* the result i get is:

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mobicents USSD Gateway Parent ..................... SUCCESS
[0.312s]
[INFO] USSD Gateway Domain Object ........................ SUCCESS
[0.079s]
[INFO] USSD Gateway Rules Service ........................ SUCCESS
[3.140s]
[INFO] USSD Gateway SLEE JAXB Pojo ....................... SUCCESS
[0.219s]
[INFO] USSD Gateway SLEE ................................. SUCCESS
[0.016s]
[INFO] USSD Gateway SLEE Library ......................... SUCCESS
[0.078s]
[INFO] USSD Gateway SIP Sbb .............................. SUCCESS
[0.000s]
[INFO] USSD Gateway Parent Sbb ........................... SUCCESS
[0.015s]
[INFO] ussdgateway-services-DU ........................... FAILURE
[9.157s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15.594s
[INFO] Finished at: Wed Jul 13 13:47:50 GMT+02:00 2011
[INFO] Final Memory: 8M/15M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ussdgateway-services-DU:
Could not
res
olve dependencies for project
org.mobicents.applications.ussd:ussdgateway-servic
es-DU:jar:1.0.0.BETA1-SNAPSHOT: Failed to collect dependencies for
[org.mobicent
s.applications.ussd:ussdgateway-library:jar:1.0.0.BETA1-SNAPSHOT
(compile),
org.
mobicents.applications.ussd:ussdgateway-parent-sbb:jar:1.0.0.BETA1-
SNAPSHOT
(com
pile),
org.mobicents.applications.ussd:ussdgateway-sip-sbb:jar:1.0.0.BETA1-
SNAPS
HOT (compile)]: Failed to read artifact descriptor for
jpl-pattern:jpl-pattern:j
ar:1.0: Could not transfer artifact jpl-pattern:jpl-pattern:pom:1.0
from/to
repo
sitory.jboss.org (http://repository.jboss.org/maven2): Access denied
to:
http://
repository.jboss.org/maven2/jpl-pattern/jpl-pattern/1.0/jpl-
pattern-1.0.pom
-> [
Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e
swit
ch.
[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
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the
command

[ERROR] mvn<goals> -rf :ussdgateway-services-DU...



When i try *mvn install *the result i get is:

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mobicents USSD Gateway Parent ..................... SUCCESS
[3.750s]
[INFO] USSD Gateway Domain Object ........................ SUCCESS
[14.797s]
[INFO] USSD Gateway Rules Service ........................ SUCCESS
[2:24.469s]
[INFO] USSD Gateway SLEE JAXB Pojo ....................... SUCCESS
[15.500s]
[INFO] USSD Gateway SLEE ................................. SUCCESS
[0.422s]
[INFO] USSD Gateway SLEE Library ......................... SUCCESS
[6.781s]
[INFO] USSD Gateway SIP Sbb .............................. FAILURE
[16.109s]
[INFO] USSD Gateway Parent Sbb ........................... SKIPPED
[INFO] ussdgateway-services-DU ........................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:28.547s
[INFO] Finished at: Wed Jul 13 15:58:06 GMT+02:00 2011
[INFO] Final Memory: 14M/37M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ussdgateway-sip-sbb: Could
not
resolve
dependencies for project
org.mobicents.applications.ussd:ussdgateway-sip-sbb:ja
r:1.0.0.BETA1-SNAPSHOT: Failed to collect dependencies for
[org.mobicents.applic
ations.ussd:ussdgateway-library:jar:1.0.0.BETA1-SNAPSHOT (compile),
org.mobicent
s.resources:mobicents-slee-ra-map-ratype:jar:1.0.0-SNAPSHOT (compile),
org.mobic
ents.resources:sip11-ratype:jar:2.4.1.FINAL (compile)]: Failed to read
artifact
descriptor for jpl-pattern:jpl-pattern:jar:1.0: Could not transfer
artifact
jpl-
pattern:jpl-pattern:pom:1.0 from/to repository.jboss.org
(http://repository.jbos
s.org/maven2): Access denied to:
http://repository.jboss.org/maven2/jpl-pattern/
jpl-pattern/1.0/jpl-pattern-1.0.pom -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with
the -e
swit
ch.
[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
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with
the
command

[ERROR] mvn<goals> -rf :ussdgateway-sip-sbb


Can someone you help me?

--
Yaka. Ngwenya

Yaka Ngwenya

unread,
Jul 27, 2011, 3:46:02 AM7/27/11
to mobicent...@googlegroups.com
Hi Okeweka !

Can you help me with the USSD gateway setup, because i've followed every necessary step 
and i always get these errors:

When i try *mvn clean* the result i get is:

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mobicents USSD Gateway Parent ..................... SUCCESS [0.312s]
[INFO] USSD Gateway Domain Object ........................ SUCCESS [0.079s]
[INFO] USSD Gateway Rules Service ........................ SUCCESS [3.140s]
[INFO] USSD Gateway SLEE JAXB Pojo ....................... SUCCESS [0.219s]
[INFO] USSD Gateway SLEE ................................. SUCCESS [0.016s]
[INFO] USSD Gateway SLEE Library ......................... SUCCESS [0.078s]
[INFO] USSD Gateway SIP Sbb .............................. SUCCESS [0.000s]

[INFO] USSD Gateway Parent Sbb ........................... SUCCESS [0.015s]
[INFO] ussdgateway-services-DU ........................... FAILURE [9.157s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15.594s

[INFO] Finished at: Wed Jul 13 13:47:50 GMT+02:00 2011
[INFO] Final Memory: 8M/15M
[INFO]
------------------------------------------------------------------------

[ERROR] Failed to execute goal on project ussdgateway-services-DU: Could not
res
olve dependencies for project
org.mobicents.applications.ussd:ussdgateway-servic
es-DU:jar:1.0.0.BETA1-SNAPSHOT: Failed to collect dependencies for
[org.mobicent

s.applications.ussd:ussdgateway-library:jar:1.0.0.BETA1-SNAPSHOT (compile),
org.
mobicents.applications.ussd:ussdgateway-parent-sbb:jar:1.0.0.BETA1-SNAPSHOT
(com
pile),
org.mobicents.applications.ussd:ussdgateway-sip-sbb:jar:1.0.0.BETA1-SNAPS
HOT (compile)]: Failed to read artifact descriptor for
jpl-pattern:jpl-pattern:j
ar:1.0: Could not transfer artifact jpl-pattern:jpl-pattern:pom:1.0 from/to
repo
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[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
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn<goals>  -rf :ussdgateway-services-DU...



When i try *mvn install *the result i get is:

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Mobicents USSD Gateway Parent ..................... SUCCESS [3.750s]
[INFO] USSD Gateway Domain Object ........................ SUCCESS [14.797s]
[INFO] USSD Gateway Rules Service ........................ SUCCESS
[2:24.469s]
[INFO] USSD Gateway SLEE JAXB Pojo ....................... SUCCESS [15.500s]
[INFO] USSD Gateway SLEE ................................. SUCCESS [0.422s]
[INFO] USSD Gateway SLEE Library ......................... SUCCESS [6.781s]
[INFO] USSD Gateway SIP Sbb .............................. FAILURE [16.109s]

[INFO] USSD Gateway Parent Sbb ........................... SKIPPED
[INFO] ussdgateway-services-DU ........................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3:28.547s

[INFO] Finished at: Wed Jul 13 15:58:06 GMT+02:00 2011
[INFO] Final Memory: 14M/37M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ussdgateway-sip-sbb: Could not
resolve
 dependencies for project
org.mobicents.applications.ussd:ussdgateway-sip-sbb:ja

r:1.0.0.BETA1-SNAPSHOT: Failed to collect dependencies for
[org.mobicents.applic
ations.ussd:ussdgateway-library:jar:1.0.0.BETA1-SNAPSHOT (compile),
org.mobicent
s.resources:mobicents-slee-ra-map-ratype:jar:1.0.0-SNAPSHOT (compile),
org.mobic
ents.resources:sip11-ratype:jar:2.4.1.FINAL (compile)]: Failed to read
artifact
descriptor for jpl-pattern:jpl-pattern:jar:1.0: Could not transfer artifact
jpl-

pattern:jpl-pattern:pom:1.0 from/to repository.jboss.org
(http://repository.jbos
s.org/maven2): Access denied to:

http://repository.jboss.org/maven2/jpl-pattern/
jpl-pattern/1.0/jpl-pattern-1.0.pom ->  [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
swit
ch.
[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
rea
d the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command

[ERROR]   mvn<goals>  -rf :ussdgateway-sip-sbb


Can someone you help me?

--
Yaka. Ngwenya

Bartosz Baranowski

unread,
Jul 27, 2011, 4:20:34 AM7/27/11
to mobicent...@googlegroups.com
Yaka

You have wrong entries in your repositories part in mvn config:

descriptor for jpl-pattern:jpl-pattern:jar:1.0: Could not transfer artifact
jpl-
pattern:jpl-pattern:pom:1.0 from/to repository.jboss.org
 

(http://repository.jbos
 

s.org/maven2
 
): Access denied to:




This repository is down for quite some time(some providers may have its mirror though, mine did so I was able to browse it...)


Now update settings.xml with something like:

<repositories>
        <repository>
          <id>jboss-public-repository-group</id>
          <name>JBoss Public Maven Repository Group</name>
          <layout>default</layout>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </snapshots>
        </repository>
      </repositories>

      <pluginRepositories>
        <pluginRepository>
          <id>jboss-public-repository-group</id>
          <name>JBoss Public Maven Repository Group</name>
          <layout>default</layout>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </releases>
          <snapshots>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </snapshots>
        </pluginRepository>
      </pluginRepositories>


Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


Bartosz Baranowski

unread,
Jul 27, 2011, 4:21:16 AM7/27/11
to mobicent...@googlegroups.com
okaweka could you please ensure you have fresh snapshot? TCAP + ASN part has changed recently.

Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


Ngwenya

unread,
Jul 27, 2011, 4:46:05 AM7/27/11
to mobicents-public
Thanks for the fast reply i had already done that bu it still didn'
work.

So now i updated my ussdgateway with the latest version in th trunk
and now i get a new error
from the http-client-sbb:

[ERROR] 'dependencies.dependency.version' for
org.mobicents.resources:http-clien
t-ratype:jar must be a valid version but is '$
{mobicents.resources.http-client.v
ersion}'. @ line 29, column 13.

okeweka

unread,
Jul 27, 2011, 8:53:48 AM7/27/11
to mobicents-public
Hi Ngwenya,
How I solved my issue then was to manually search for the dependencies
and install them to the mvn repo using the provided mvn command. I
honestly stumbled on fixing my issue trying many things.

The gateway now has gotten updated with a http sbb I believe to demo
its support for routing through http. Doing a svn update and mvn
install I fail at the http-client part. It couldn't download the http-
client-sbb.jar (maybe it wasn't updated in the repo?) While you wait
for an official reply, you can try to manually browse the repo for the
jar and install it manually.

Bartosz Baranowski

unread,
Jul 27, 2011, 8:56:37 AM7/27/11
to mobicent...@googlegroups.com
Update poms in ussd gw. Push jboss nexus into repositories in settings.xml. 

Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


okeweka

unread,
Jul 27, 2011, 9:08:10 AM7/27/11
to mobicents-public
Hi Bartosz,

ASN + TCAP are completely update (according to my svn command-line
tool). But I still run into the same errors. Any recommendations?

Bartosz Baranowski

unread,
Jul 27, 2011, 9:36:59 AM7/27/11
to mobicent...@googlegroups.com
Sorry missed this mail. You wont be able to run on windows - Win does not support SCTP iirc.

Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


okeweka

unread,
Jul 27, 2011, 9:37:26 AM7/27/11
to mobicents-public
Hi Bartosz,

I updated the poms in the ussd gateway and it installed properly with
no issue.
Thanks for all the help and attention on the issue Bartosz!

Bartosz Baranowski

unread,
Jul 27, 2011, 9:41:24 AM7/27/11
to mobicent...@googlegroups.com
Not sure, I dont get those. On windows version of OpenJDK there is difference in class name in SCTP packages, but this seems to be different problem - try to compile everything from scratch, that is:

1. remove protocols pacakge from .m2
2. compile ASN and STREAM modules
3. compile everything from ss7.


Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


okeweka

unread,
Jul 28, 2011, 6:52:53 AM7/28/11
to mobicents-public
Alright that solution worked for me. Everything built successfully. No
more protocol test errors. Thanks again Bartosz!

Yaka Ngwenya

unread,
Aug 2, 2011, 8:57:58 AM8/2/11
to mobicent...@googlegroups.com, nlauc...@afrisis.net, eca...@afrisis.ne
Hi again, 
I've replaced every jboss repository with the new one, try downloading the jar's manually
But i still have some jar's missing and the jboss snapshot repository is not working, when i try 
mvn clean i get the following error:


[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ussdgateway-services-DU 1.0.0.BETA1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.031s
[INFO] Finished at: Tue Aug 02 14:50:09 GMT+02:00 2011
[INFO] Final Memory: 9M/17M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ussdgateway-services-DU: Could not res
olve dependencies for project org.mobicents.applications.ussd:ussdgateway-servic
es-DU:jar:1.0.0.BETA1-SNAPSHOT: The following artifacts could not be resolved: o
rg.mobicents.applications.ussd:ussdgateway-parent-sbb:jar:1.0.0.BETA1-SNAPSHOT,
org.mobicents.applications.ussd:ussdgateway-http-client-sbb:jar:1.0.0.BETA1-SNAP
SHOT, org.mobicents.applications.ussd:ussdgateway-sip-sbb:jar:1.0.0.BETA1-SNAPSH
OT: Could not find artifact org.mobicents.applications.ussd:ussdgateway-parent-s
bb:jar:1.0.0.BETA1-SNAPSHOT in jboss-snapshots-repository (http://snapshots.jbos
s.org/maven2/) -> [Help 1]


Best Regards

--
Ngwenya
Tel: +258 82 53 66 986

Yaka Ngwenya

unread,
Aug 2, 2011, 8:58:54 AM8/2/11
to mobicent...@googlegroups.com, nlauc...@afrisis.net, eca...@afrisis.net

okeweka

unread,
Aug 3, 2011, 4:32:01 AM8/3/11
to mobicents-public
Hi Ngwenya

I had a similar error to that one. Try checking out and mvn install
the "sip11" and the "http-client" resource adapter from source. Then
update or checkout a new ussdgateway from source and mvn install. See
if that helps.

Yaka Ngwenya

unread,
Aug 5, 2011, 4:37:47 AM8/5/11
to mobicent...@googlegroups.com
Hi, 

Thanks for the help, i did what you advised and it worked.
Can you give me any hints on how to create ussd applications and test them?

Thanks again


Ngwenya

Bartosz Baranowski

unread,
Aug 5, 2011, 4:55:02 AM8/5/11
to mobicent...@googlegroups.com
Check examples in JSLEE source, there is simple USSD app there.

Bartosz Baranowski
JBoss R & D
==================================
Word of criticism meant to improve is always step forward.


Reply all
Reply to author
Forward
0 new messages