JSLEE Discussions
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
rhino-connectivity MAP example
Forum Index » JAIN SLEE Discussions
Author Message
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Dear all,
Kindly please somebody help me to understand how USSD client/server communicate with USSD backend simulator (in the rhino-connectivity package).
I need to know about a full communication between MAP user and ussd as well (Dialog, request, Indication, Conf. etc.)
Is there any full implementation of USSD available?

Brs,
Farokh

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Hi Farokh,

The source code of the USSD example is included in the IN Connectivity Pack (/rhino-connectivity/in/incc/examples/src/com/opencloud/slee/services/map/in/example/ussd/). Have a look at the source code to understand the flow of events. Both the client and the server are implemented as JSLEE services and two MAP resources adaptor entities are created in Rhino to communicate with the backend.

The article How do I use OpenCloud tools to test IN applications? is also a good reference point to understand the testing/deployment methodology.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Hi Bsd,

Many thanks for your response.
I started Rhino, started BE sim, activated server, activated Client for USSD. And I got no Error (s).
Now I need to see messages in between. There must be some INFO output etc.
How can I see messages are gone through?

Awaiting for your reply.

Brs,
Farokh


Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Please have a look here.

We read all the messages. Please do not double post.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Many thanks Bruno,
it was great. Actually I did the same trace for Server as well.
One more thing here, I just see only one message communicated between client and server (ProcessUnstructuredSsRequest).
what happened to the other messages?



Rds,
Farokh

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Farokh,

The example is described in the README file:
When the client service is started the client will send one of the corresponding request messages, controllable by the serviceType property in the sbb-jar.xml for the service.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Hi Bruno,
I did not catch your point.
what is specific in here to choose request by client:
<event event-direction="Receive" initial-event="False">
<event-name>UnstructuredSsRequestConfEvent</event-name>
<event-type-ref>
<event-type-name>com.opencloud.slee.resources.map.in.operation.UnstructuredSsRequestConf</ev
ent-type-name>
<event-type-vendor>OpenCloud</event-type-vendor>
<event-type-version>3.0</event-type-version>
</event-type-ref>
</event>

<event event-direction="Receive" initial-event="False">
<event-name>UnstructuredSsNotifyConfEvent</event-name>
<event-type-ref>
<event-type-name>com.opencloud.slee.resources.map.in.operation.UnstructuredSsNotifyConf</eve
nt-type-name>
<event-type-vendor>OpenCloud</event-type-vendor>
<event-type-version>3.0</event-type-version>
</event-type-ref>
</event>

Please advise.
Regards,
Farokh

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

The README file explains the scenario. The client logic originates in only one event. Review the README and the source code of the client.

In the sbb-jar.xml you can find the mentioned environment entry:
<env-entry>
<description>The networkUnstructuredSs message to test: ProcessUnstructuredSsRequest, UnstructuredSsRequest, UnstructuredSsNotify</description>
<env-entry-name>requestType</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>ProcessUnstructuredSsRequest</env-entry-value>
</env-entry>

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

How can I define the other requests?

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Did you reviewed the README file and the source code of the client?

Try changing the value of the environment entry to "UnstructuredSsRequest" for example...

You can find more information about environment entries on section 6.13.1.1.2 of the JSLEE 1.1 specification.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Thanks Bruno I will.
Some other questions here:
1) In a reality, I mean with SignalWare ss7 card, what is the real scenario (s). which one (client or Server) is MAP-user?
I am looking for an application to receive USSD request, pass the request to other system as xml. receive the response on xml and send it back to the card.

Regards,
Farokh

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Hi Farokh,

You should carefully review and understand the USSD architectures before you start your developing.

The USSD provides interaction between a GSM node MSC, VLR, or HLR and the MS. If the USSD service node is an MSC, then the USSD messages are exchanged through the mobile and the MSC. If the service node is a VLR or HLR, then the messages are exchanged through mobile-MSC-VLR or mobile-MSC-VLR-HLR.

In the precious scenario the user can use his service when roaming to another country. However the HLR is expensive to modify, maintain and test, and may not have extra processing power required to handle services. Thus, a reasonable solution is to introduce a USSD gateway that connects to an application server. The USSD gateway connects to HLR using GSM MAP and to application servers by TCP IP. (Wireless and Mobile All-IP Networks, Yi-Bing Lin, Ai-Chun Pang)

When the subscriber issues a request encoded in a USSD string, the MS sends it to the HLR via SS7. The HLR routes the USSD message directly to the USSD gateway (Signalware) without any interpretation.
The Signalware translates the USSD format and sends the query to the application server (Rhino). Rhino then returns the results to the MS for display.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
farokh.bakhtiarikish@atnetwork.co.za


Joined: 25/09/2008 21:55:19
Messages: 25
Offline

Many thanks BSD,
In your client/server ussd scenario, which one acting as HLR and which one acting as Rhino?



Rds,
Farokh

Rds,
Farokh
bsd

[Avatar]

Joined: 22/03/2008 00:37:15
Messages: 355
Location: Cambridge, UK
Offline

Subscribers (clients) are requesting a service through the HLR. Rhino is the application server so is acting as the server.

Bruno Duarte
Technical Consultant
OpenCloud
[Email] [WWW]
s_yadegari


Joined: 27/06/2010 21:33:43
Messages: 1
Offline

dears
As a VAS provider how has SMPP connection to the MNO's SMSC, is it possible benefit from connection of SMSC and USSD GW of mobile operators and promote USSD based services?
or if we have to just connect to the USSD GW/application server as 3rd party what will be the scenariou of service from our side and MS side?

i appriciate your kind info
 
Forum Index » JAIN SLEE Discussions
Go to:   
Powered by JForum 2.1.8 © JForum Team