From: Anton R. <ant...@gm...> - 2016-12-20 11:06:32
|
Hi, BTW, RAR cannot be generated by a client, it is always sent by a server, and the client replies with RAA. For your task I'd consider using <default> section http://gull.sourceforge.net/doc/core.html#scen_default Just an example: <default> <receive channel="channel-1"> <command name="DWR"></command> <action> <store name="HopByHop" entity="HbH-id"> </store> <store name="EndToEnd" entity="EtE-id"> </store> </action> </receive> <send channel="channel-1"> <action> <restore name="HopByHop" entity="HbH-id"> </restore> <restore name="EndToEnd" entity="EtE-id"> </restore> </action> <command name="DWA"> <avp name="Result-Code" value="2001"> </avp> <avp name="Origin-Host" value="server.name"> </avp> <avp name="Origin-Realm" value="server.realm"> </avp> </command> </send> </default> <default> <receive channel="channel-1"> <command name="DPR"></command> <action> <store name="HopByHop" entity="HbH-id"> </store> <store name="EndToEnd" entity="EtE-id"> </store> </action> </receive> <send channel="channel-1"> <action> <restore name="HopByHop" entity="HbH-id"> </restore> <restore name="EndToEnd" entity="EtE-id"> </restore> </action> <command name="DPA"> <avp name="Result-Code" value="2001"> </avp> <avp name="Origin-Host" value="server.name"> </avp> <avp name="Origin-Realm" value="server.realm"> </avp> </command> </send> </default> Regards, Anton 2016-12-20 12:19 GMT+03:00 SUDHAKAR REDDY GAJJALA < SUD...@ca...>: > Hi, > > I am working on Seagull where my client and Server are running in a > different servers. I have created a scenario file with the below scenario > > > > Client Server > > > > CER CEA > > CCR-I CCA-I > > CCR-U CCA-U > > RAR RAA > > CCR-T CCA-T > > > > My scenario file is in the above order. Due to some requirements, I had my > Seagull server to respond with the particular response instead of going > sequentially. > > > > Is there a way seagull identify the request and send response based on the > request.. I mean to say when server receives CCR-U , it should respond with > CCA-U. for some other subscriber, if it receives CCR-T , seagull should > respond with CCA-T message. > > > > Any help is appreciated. > > > > Thanks, > > Sudhakar > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > Gull-users mailing list > Gul...@li... > https://lists.sourceforge.net/lists/listinfo/gull-users > > |