Hi
Im trying to install DIAMETER (CLIENT & SERVER) in a single machine
with different JBOSS servers. By changing the The example.properties
file
Client Side example.properties
# Act as "client" or "server" (default: server)
example.mode=client
# The AS IP Address, Port and Realm (default: 127.0.0.1 / 1812 /
mobicents.org)
destination.ip=172.16.6.106
destination.port=3868
destination.realm=
mobicents.org
# The Remote IP Address, Port and Realm (default: 127.0.0.1 / 3868 /
mobicents.org)
origin.ip=127.0.0.1
origin.port=21812
origin.realm=
mobicents.org
----------------------------------------------------------------------------------------------------------------------
Server Side example.properties
# Act as "client" or "server" (default: server)
example.mode=server
# The AS IP Address, Port and Realm (default: 127.0.0.1 / 1812 /
mobicents.org)
origin.ip=172.16.6.106
origin.port=3868
origin.realm=
mobicents.org
# The Remote IP Address, Port and Realm (default: 127.0.0.1 / 3868 /
mobicents.org)
destination.ip=127.0.0.1
destination.port=21812
destination.realm=
mobicents.org
-----------------------------------------------------------------------------------------------------------------------
After starting the Both JBOSS Servers im getting the Out put as.
CLIENT SIDE:
-----------------------
11:56:55,518 INFO [ServiceManagementImpl] Activated
ServiceID[name=DiameterBaseExampleService,vendor=org.mobicents,version=1.0]
11:56:55,622 INFO [DiameterBaseExampleSbb]
################################################################################
11:56:55,622 INFO [DiameterBaseExampleSbb] ### D I A M E T E R E X
A M P L E A P P L I C A T I O N :: S T A R T E D ##
11:56:55,623 INFO [DiameterBaseExampleSbb]
################################################################################
11:56:55,623 INFO [DiameterBaseExampleSbb] Connected to 0 peers.
11:56:55,626 INFO [DiameterBaseExampleSbb] Diameter Base Example ::
Initialized in ENT mode.
11:57:25,632 INFO [DiameterBaseResourceAdaptor] Activity started
[Diameter Session ID[127.0.0.1;308;2980499801]]
11:57:25,638 INFO [DiameterBaseExampleSbb] Creating Accounting-
Request...
11:57:25,641 INFO [DiameterBaseExampleSbb] Created Accounting-Request
[
+----------------------------------- HEADER
----------------------------------+
| Version.................1
| Message-Length..........0
| Command-Flags...........R[true] P[true] E[false] T[false]
| Command-Code............271
| Application-Id..........19302
| Hop-By-Hop Identifier...0
| End-To-End Identifier...0
+------------------------------------ AVPs
-----------------------------------+
| AVP: Code[260] VendorID[0] Value[<Grouped>]
Flags[M=true;E=false;V=false]
| AVP: Code[266] VendorID[0] Value[193]
Flags[M=true;E=false;V=false]
| AVP: Code[259] VendorID[0] Value[19302]
Flags[M=true;E=false;V=false]
| AVP: Code[263] VendorID[0] Value[127.0.0.1;308;2980499801]
Flags[M=true;E=false;V=false]
| AVP: Code[264] VendorID[0] Value[127.0.0.1]
Flags[M=true;E=false;V=false]
| AVP: Code[296] VendorID[0] Value[
mobicents.org]
Flags[M=true;E=false;V=false]
| AVP: Code[293] VendorID[0] Value[
172.16.6.106:3868]
Flags[M=true;E=false;V=false]
| AVP: Code[283] VendorID[0] Value[
mobicents.org]
Flags[M=true;E=false;V=false]
| AVP: Code[553] VendorID[193] Value[<Grouped>]
Flags[M=true;E=false;V=true]
| AVP: Code[555] VendorID[193] Value[0] Flags[M=true;E=false;V=true]
| AVP: Code[554] VendorID[193] Value[00001000]
Flags[M=true;E=false;V=true]
| AVP: Code[606] VendorID[193] Value[<Grouped>]
Flags[M=true;E=false;V=true]
| AVP: Code[611] VendorID[193] Value[2] Flags[M=true;E=false;V=true]
| AVP: Code[612] VendorID[193] Value[<Grouped>]
Flags[M=true;E=false;V=true]
| AVP: Code[617] VendorID[193] Value[10]
Flags[M=true;E=false;V=true]
| AVP: Code[485] VendorID[0] Value[0] Flags[M=true;E=false;V=false]
| AVP: Code[480] VendorID[0] Value[1] Flags[M=true;E=false;V=false]
| AVP: Code[615] VendorID[193] Value[0] Flags[M=true;E=false;V=true]
| AVP: Code[607] VendorID[193] Value[<Grouped>]
Flags[M=true;E=false;V=true]
| AVP: Code[608] VendorID[193] Value[0] Flags[M=true;E=false;V=true]
| AVP: Code[609] VendorID[193] Value[510]
Flags[M=true;E=false;V=true]
| AVP: Code[607] VendorID[193] Value[<Grouped>]
Flags[M=true;E=false;V=true]
| AVP: Code[608] VendorID[193] Value[14]
Flags[M=true;E=false;V=true]
| AVP: Code[609] VendorID[193] Value[20]
Flags[M=true;E=false;V=true]
+-----------------------------------------------------------------------------
+
]
11:57:25,641 INFO [DiameterBaseExampleSbb] Sending Accounting-
Request...
11:57:25,642 INFO [AccountingSessionFactory] Diameter Base
AccountingSessionFactory :: stateChanged ::
source[org.jdiameter.client.impl.app.acc.ClientAccSessionImpl@f4d3fddf] ::
oldState[IDLE], newState[PENDING_EVENT]
11:57:25,642 INFO [AccountingSessionFactory] Diameter Base
AccountingSessionFactory :: stateChanged ::
source[org.jdiameter.client.impl.app.acc.ClientAccSessionImpl@f4d3fddf] ::
oldState[PENDING_EVENT], newState[IDLE]
11:57:25,643 INFO [AccSessionFactoryImpl] failedSendRecord ::
appSession[org.jdiameter.client.impl.app.acc.ClientAccSessionImpl@f4d3fddf],
Request[MessageImpl{commandCode=271, flags=192}]
11:57:25,644 INFO [DiameterBaseExampleSbb] Sent Accounting-Request
SERVER SIDE
-----------------------
11:46:49,805 INFO [DiameterBaseResourceAdaptor] Diameter Base RA ::
Successfully initialized stack.
11:46:49,806 INFO [DiameterBaseResourceAdaptor]
DiameterBaseResourceAdaptor -- running in LOCAL mode.
11:46:49,881 INFO [DiameterCCAResourceAdaptor] Activating Diameter
CCA RA Entity
11:46:49,882 INFO [DiameterStackMultiplexer] Diameter Stack Mux ::
Registering 1 applications.
11:46:49,882 INFO [DiameterStackMultiplexer] Diameter Stack Mux ::
Adding Listener for [AppId [Vendor-Id:0; Auth-Application-Id:4; Acct-
Application-Id:0]].
11:46:49,884 INFO [DiameterCCAResourceAdaptor] Diameter CCA RA ::
Successfully initialized stack.
11:46:49,884 INFO [DiameterCCAResourceAdaptor] DiameterCCA -- running
in local mode.
11:46:50,081 INFO [DiameterBaseExampleSbb]
################################################################################
11:46:50,101 INFO [DiameterBaseExampleSbb] ### D I A M E T E R E X
A M P L E A P P L I C A T I O N :: S T A R T E D ##
11:46:50,102 INFO [DiameterBaseExampleSbb]
################################################################################
11:46:50,108 INFO [DiameterBaseExampleSbb] Connected to 0 peers.
11:46:50,113 INFO [DiameterBaseExampleSbb] Diameter Base Example ::
Initialized in SERVER mode.
But my problem is CLIENT REQUEST is not landing on the SERVER. (Not
DIsplaying Anything).
Im not able to analyze the problem,
Can anybody help me to resolve this.
~SATISH.