Skip to main content

Diameter RA: life-cycle of Sh Activity

3 replies [Last post]
sskhirid
Offline
Joined: 2005-09-22
Points: 0

Hello All,

Just one question on the Diameter RA activities life-cyle. On receiving a User Data Request the RA creates an new Sh activity corresponding to the Sh Session. When it sends the User Data Answer, the activity should die.
But what about the Subscribe Notification? Does the Sh activity die after receiving the SNA or does the Sh activity remain until a following SNR with Subs-Re-Type set to UNSUBSCRIBE is sent ?
The second solution allows to send the PNR on the same SBB that the one which has sent the SNR, i.e., to correlate the PNR with the first SNR.
What is the implementation in the Diameter RA ?

Thanks a lot !

Sabri.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
david_ferry
Offline
Joined: 2006-05-07
Points: 0

In OpenCloud's Diameter Sh API .. there are two activities types relevant to the question.

There is one which is for "one shot" or "transaction" activities, i.e. the activity ends when a response arrives, and then there is a "dialog" or "session" activities where the activity is around for a while (and several related updates are done on the activity).

The first case is the ShClientActivity, the second is the ShClientSubscriptionActivity.

The Javadoc for Sh is here:
http://www.opencloud.com/products/rhino-kit/diameter/docs/api/diameter-r...

Some socialisation of the APIs have been done outside of OpenCloud. The page for that is here:
http://wiki.java.net/bin/view/Communications/JSLEEDiameterShResourceAdap...

Message was edited by: david_ferry

sskhirid
Offline
Joined: 2005-09-22
Points: 0

Last question. I have not found in the TS.29329 neither in TS 29328 a word about that. Does the Push notification request have to provide the same session ID as the session ID sent in the subscribe notification request ? My question is can we rely on the session ID to correlate PNR to SBB who have previously subscribed to notifications ?

Sabri.

baranowb
Offline
Joined: 2006-01-09
Points: 0

I think yes. Its similar to SUBSCRIBE in SIP.