Quick look @ Online Charging in Sailfin Communication server



Wrapping up development on Online and Offline charging API in Sailfin communication server. Here is a sample that shows a charging client accessing Ericsson Charging Server.

PartOne: Initial Request in Session based online charging.

View image to look at the source.
Session Charging

PartTwo: Update and Terminate Request in Session based online charging.
The below code snippet shows how to update a charging session and terminate one. The code snippet has comments to help you understand the code.

Updating and terminating charging session

Highlights of Diameter support in Sailfin
1.Easy to use API , interfaces provided for AVP's defined in 3GPP specs and RFC's
2.Easy to query additional AVP's in a Grouped AVP.
3.Easy to add new AVP support using dictionary or annotations.
4.Ability to send messages in a synchronous or asynchronous manner(Listener support to receive asynchronous responses)
5.Interfaces defined to build messages as per 3GPP specifications.
6.Easy to build custom messages as shown in the code snippet.
7.Diameter Resource adapter.
8.Sailfin Admin console and Admin GUI support for local/remote configuration
9.TLS support.

more later....

If you have questions write to dev-AT-sailfin.dev.java-DOT-net.

Comments:

Do you have any example using Ro interface (for exchange credit control messages)?

Posted by averri on July 29, 2009 at 06:34 PM IST #

The above code snippet generates credit control messages.

Posted by Venugopal K on July 29, 2009 at 11:28 PM IST #

Hi, is the Rf interface already available on Sailfin?

Posted by Rafael on October 15, 2009 at 05:54 PM IST #

yes it is available on sailfin 2.0 as a value add, will make the javadocs available.

Posted by Venugopal K on October 16, 2009 at 04:54 AM IST #

I downloaded Sailfin v2 b31e, but could not find the diameter classes in any jar. Are they in a separated project?

Posted by Rafael on October 16, 2009 at 12:53 PM IST #

Hi Rafael,
We are planning to release Diameter as a value add for Sailfin (Sun GlassFish Communications Server) by the end of this calendar year. Diameter being a value add means, it will be available to customers with SGCS support subscription only and the code won't be open source.
If you are interested, we may be able to make it available to you under an evaluation license for free for a limited period of time. I am currently working on getting that in place.
Martin

Posted by Martin Matula on October 23, 2009 at 12:41 PM IST #

Hi Venu,
I'm in a project where we have to test the Sun Diameter Adapter, released for SGCS2.0.
I'm trying to use this code to communicate with SCAP Server, but stucking because of a problem during creation of RoSessionCharger, according to the TestServlet at the top of this page. But I get an error from Sailfin server.log related to a "null" realm.
First of all, the api I'm using (https://sailfin.dev.java.net/nonav/diameter/apidocs/index.html), is slightly different from yours, since the createSessionCharger has only two parameters (yours 3) and there isn't the CreditApplicationAVPFactory in the API. My questions are:
1) the example code has been tested in a real environment? Is there any alternative implementation I might use?
2) How to create an (application) AVPFactory? It is fundamental to be able to create "MultipleServicesCreditControl". Looking to the published API I (honestly) have a clue how to create it. Any suggestion, is more than welcome.
Thanks a lot, and congratulations for your blog. Very interesting and accurate.
Pierluigi

Posted by Pierluigi Salera on April 14, 2010 at 12:47 PM IST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

venu

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today