Hi Guys,
Got some doubt with jain-slee/example/training/example1
1> I couldn't find out where it is checking whether the event is being fired by same messageID and it has to serve with the existing sbb which is being INIT by that event, and it should not create new SBB?
2> with initial event selector method
if (event instanceof MessageEvent) {
// If request event, the convergence name to callId
messageId = ((MessageEvent) event).getMessage().getId();
if (messageId.equals("110")) {
..........
there's no message id with the number 110 might be some typo error :)
when i have changed it to 100 it is serving only that event which is being fired by messageId 100. when i try with other messageId's like 101 or 102 it says.
09:58:45,795 INFO [STDOUT] onEvent of RAFrameResourceAdaptor 101 INIT
09:58:45,796 INFO [STDOUT] RAFrameResourceAdaptor.onEvent(): RAFrameRA fires event into SLEE. EventID: 16; CallID: 101; Command: INIT
09:58:45,822 INFO [STDOUT] The Message Id is 101 and this is NOT initial event
So InitialEventSelector method takes care depending on your business logic whether it has to invoke the initial event or not, right?
by setting
ies.setInitialEvent(true);
On Thu, Oct 23, 2008 at 7:06 PM, Sachin Parnami
<sachin...@gmail.com> wrote:
Hi,
Thanks for the clarification.
Second setSbbContext() it is using for the different SBB. :)
setSbbContext()----org.mobicents.slee.training.example1.BounceSbbImpl@2bd615
|
sbbCreate()
|
sbbPostCreate()
|
setSbbContext()----org.mobicents.slee.training.example1.BounceSbbImpl@150ecc7
|
sbbActivate()
|
sbbLoad()
|
sbbOnInvite()
|
sbbStore()
|
sbbPassivate()