Thxs Alex,
Made changes as suggested, still no luck
Is there some log generated by Ericson? May be I can post that here just to make sure that its configured correctly
18:32:21,431 INFO [DiameterBaseExampleSbb] sbbActivate invoked.
18:32:21,431 INFO [DiameterBaseExampleSbb] sbbLoad invoked.
18:32:21,467 INFO [DiameterBaseResourceAdaptor] Activity started [Diameter Session ID[127.0.0.1;296;3309421843]]
18:32:21,484 INFO [DiameterBaseExampleSbb] Creating Custom Message...
18:32:21,495 DEBUG [DiameterBaseExampleSbb] Created Custom Message[
+----------------------------------- HEADER ----------------------------------+
| Version.................1
| Message-Length..........0
| Command-Flags...........R[true] P[true] E[false] T[false]
| Command-Code............271
| Application-Id..........3
| Hop-By-Hop Identifier...0
| End-To-End Identifier...0
+------------------------------------ AVPs -----------------------------------+
| AVP: Code[259] VendorID[0] Value[3] Flags[M=true;E=false;V=false]
| AVP: Code[263] VendorID[0] Value[127.0.0.1;296;
3309421843] Flags[M=true;E=false;V=false]
| 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=true;V=false]
| AVP: Code[259] VendorID[0] Value[19302] Flags[M=true;E=true;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[
127.0.0.1:21812] 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]
+-----------------------------------------------------------------------------+
]
18:32:21,496 DEBUG [DiameterBaseExampleSbb] Sending Custom Message...
18:32:21,496 DEBUG [DiameterBaseResourceAdaptor] Diameter Base RA :: getActivityHandle :: activity[org.mobicents.slee.resource.diameter.base.AccountingClientSessionActivityImpl@1b445c4].
18:32:21,502 INFO [AccountingSessionFactory] Diameter Base AccountingSessionFactory :: stateChanged :: oldState[IDLE], newState[PENDING_EVENT]
18:32:21,506 DEBUG [PeerTableImpl] Send request MessageImpl{commandCode=271, flags=192} [destHost=
127.0.0.1:21812; destRealm=
mobicents.org]
18:32:21,506 DEBUG [RouterImpl] DestHost=
127.0.0.1:21812, DestRealm=
mobicents.org18:32:21,507 DEBUG [RouterImpl] Peer by destination host avp [host=
127.0.0.1:21812,peer=null] has no valid connection
18:32:21,507 DEBUG [RouterImpl] Realm
mobicents.org has avaliable following peers [] from list [127.0.0.1]
18:32:21,507 DEBUG [ClientAccSessionImpl] Failed to send ACR.
org.jdiameter.api.RouteException: Can not find valid connection to peer[
127.0.0.1:21812] in realm[
mobicents.org]
at org.jdiameter.client.impl.router.RouterImpl.getPeer(RouterImpl.java:293)
at org.jdiameter.client.impl.controller.PeerTableImpl.sendMessage(PeerTableImpl.java:179)
at org.jdiameter.client.impl.StackImpl.sendMessage(StackImpl.java:329)
at org.jdiameter.client.impl.BaseSessionImpl.genericSend(BaseSessionImpl.java:95)
at org.jdiameter.client.impl.BaseSessionImpl.genericSend(BaseSessionImpl.java:65)
at org.jdiameter.client.impl.SessionImpl.send(SessionImpl.java:40)
at org.jdiameter.client.impl.app.acc.ClientAccSessionImpl.sendAccountRequest(ClientAccSessionImpl.java:104)
at org.mobicents.slee.resource.diameter.base.AccountingClientSessionActivityImpl.sendAccountRequest(AccountingClientSessionActivityImpl.java:60)
at org.mobicents.slee.examples.diameter.DiameterBaseExampleSbb.sendAccountingRequest(DiameterBaseExampleSbb.java:414)
at org.mobicents.slee.examples.diameter.DiameterBaseExampleSbb.onTimerEvent(DiameterBaseExampleSbb.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEntityImpl.java:655)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.routeQueuedEvent(EventRoutingTaskImpl.java:337)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run(EventRoutingTaskImpl.java:103)
at org.mobicents.slee.runtime.eventrouter.EventRouterExecutorImpl$EventRoutingTaskStatsCollector.run(EventRouterExecutorImpl.java:51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
18:32:21,507 INFO [AccountingSessionFactory] Diameter Base AccountingSessionFactory :: stateChanged :: oldState[PENDING_EVENT], newState[IDLE]
18:32:21,508 DEBUG [DiameterBaseResourceAdaptor] Diameter Base RA :: getActivity :: handle[Diameter Session ID[127.0.0.1;296;3309421843]].
18:32:21,508 DEBUG [PeerTableImpl] Send request MessageImpl{commandCode=271, flags=192} [destHost=
127.0.0.1:21812; destRealm=
mobicents.org]
18:32:21,508 DEBUG [RouterImpl] DestHost=
127.0.0.1:21812, DestRealm=
mobicents.org
18:32:21,508 DEBUG [RouterImpl] Peer by destination host avp [host=
127.0.0.1:21812,peer=null] has no valid connection
18:32:21,508 DEBUG [RouterImpl] Realm
mobicents.org has avaliable following peers [] from list [127.0.0.1]
18:32:21,508 DEBUG [ClientAccSessionImpl] can not send buffered message
org.jdiameter.api.RouteException: Can not find valid connection to peer[
127.0.0.1:21812] in realm[
mobicents.org]
at org.jdiameter.client.impl.router.RouterImpl.getPeer(RouterImpl.java:293)
at org.jdiameter.client.impl.controller.PeerTableImpl.sendMessage(PeerTableImpl.java:179)
at org.jdiameter.client.impl.StackImpl.sendMessage(StackImpl.java:329)
at org.jdiameter.client.impl.BaseSessionImpl.genericSend(BaseSessionImpl.java:95)
at org.jdiameter.client.impl.BaseSessionImpl.genericSend(BaseSessionImpl.java:65)
at org.jdiameter.client.impl.SessionImpl.send(SessionImpl.java:40)
at org.jdiameter.client.impl.app.acc.ClientAccSessionImpl.handleEvent(ClientAccSessionImpl.java:414)
at org.jdiameter.client.impl.app.acc.ClientAccSessionImpl.sendAccountRequest(ClientAccSessionImpl.java:112)
at org.mobicents.slee.resource.diameter.base.AccountingClientSessionActivityImpl.sendAccountRequest(AccountingClientSessionActivityImpl.java:60)
at org.mobicents.slee.examples.diameter.DiameterBaseExampleSbb.sendAccountingRequest(DiameterBaseExampleSbb.java:414)
at org.mobicents.slee.examples.diameter.DiameterBaseExampleSbb.onTimerEvent(DiameterBaseExampleSbb.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mobicents.slee.runtime.sbbentity.SbbEntityImpl.invokeEventHandler(SbbEntityImpl.java:655)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.routeQueuedEvent(EventRoutingTaskImpl.java:337)
at org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTaskImpl.run(EventRoutingTaskImpl.java:103)
at org.mobicents.slee.runtime.eventrouter.EventRouterExecutorImpl$EventRoutingTaskStatsCollector.run(EventRouterExecutorImpl.java:51)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
18:32:21,512 INFO [DiameterBaseExampleSbb] Sent Custom Message[
+----------------------------------- HEADER ----------------------------------+
| Version.................1
| Message-Length..........0
| Command-Flags...........R[true] P[true] E[false] T[false]
| Command-Code............271
| Application-Id..........3
| Hop-By-Hop Identifier...0
| End-To-End Identifier...0
+------------------------------------ AVPs -----------------------------------+
| AVP: Code[263] VendorID[0] Value[127.0.0.1;296;
3309421843] Flags[M=true;E=false;V=false]
| AVP: Code[259] VendorID[0] Value[3] Flags[M=true;E=false;V=false]
| 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=true;V=false]
| AVP: Code[259] VendorID[0] Value[19302] Flags[M=true;E=true;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[
127.0.0.1:21812] 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]
+-----------------------------------------------------------------------------+