JSLEE Discussions
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
OCS Simulator
Forum Index » Sentinel VoLTE
Author Message
chaitrak


Joined: 17/10/2016 22:25:32
Messages: 17
Offline

How to integrate OCS Simulator (Diameter RO) with Sentinel VoLTE image?
It seems default diameter is getting started while starting hss.

Did following changes in Sentinel VoLTE image:
1) OCS Simulator Change
/home/rhino/opencloud/simulators/rhino-connectivity/diameter-2.7.0.4/simulators/ocs-simulator/config/DiameterConfig.xml
<profile name="server" action="create">
<attribute-value name="product">OCDiameter</attribute-value>
<attribute-value name="version">1</attribute-value>
<attribute-value name="productVendorId">19808</attribute-value>
<attribute-value name="applicationVendorId">0</attribute-value>
<attribute-value name="applicationId">0</attribute-value>
<attribute-value name="host">diameterserver</attribute-value>
<attribute-value name="realm">opencloud</attribute-value>
<attribute-value name="listenAddress">sentinel-volte</attribute-value>
<attribute-value name="port">4868</attribute-value>
<attribute-value name="transports">tcp</attribute-value>
<attribute-value name="enableMultiNodeConfig">false</attribute-value>
<attribute-value name="allowUnknownPeers">true</attribute-value>
<attribute-value name="peerConnectAtStartup">false</attribute-value>
<attribute-value name="useTLS">false</attribute-value>
<attribute-value name="action">LOCAL</attribute-value>
<attribute-value name="peerPort">-1</attribute-value>
</profile>
2) REM Profile Change

DiameterConfig Profile (DiameterRoOcsProfile)
PeerAddress sentinel-volte
PeerHost diameterserver
PeerPort 4868
PeerTable

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE peer-table PUBLIC "-//Open Cloud Ltd.//DTD Diameter Peer Table Configuration 1.1.0//EN"
"http://www.opencloud.com/dtd/diameter-peer-table-1.1.0.dtd">
<peer-table>
<peer connectAtStartup="true">
<uri>aaa://diameterserver:4868;transport=tcp</uri>
<address>sentinel-volte</address>
<option>
<option-name>TCP_NODELAY</option-name>
<option-type>java.lang.Boolean</option-type>
<option-value>true</option-value>
</option>
</peer>
</peer-table>
3) Created Accounts in /home/rhino/opencloud/simulators/rhino-connectivity/diameter-2.7.0.4/simulators/ocs-simulator/config/accounts.xml

<billing-simulator-accounts>

<!-- HSS Data-->
<account>
<msisdn>sip:+886555110337@opencloud.com</msisdn>
<balance>300</balance>
</account>
<account>
<msisdn>sip:+886555110425@opencloud.com</msisdn>
<balance>400</balance>
</account>
<account>
<msisdn>sip:+886555111425@opencloud.com</msisdn>
<balance>500</balance>
</account>
<account>
<msisdn>sip:+886555112425@opencloud.com</msisdn>
<balance>600</balance>
</account>

</billing-simulator-accounts>
 Filename rhino.2301.log [Disk] Download
 Description Attaching Rihino log
 Filesize 3076 Kbytes
 Downloaded:  2 time(s)

This message was edited 2 times. Last update was at 24/01/2017 02:23:14

syeoman


Joined: 20/03/2012 14:34:28
Messages: 10
Offline

Hi there,

After changing the peer connection details in the Profile, you need to bounce the diameterro-ra so it recognises the changes.

In REM navigate to the diameterro-ra entity, click on "edit configuration" and then save. Then restart diameterro RA on the SLEE-Management page.

If this doesn't solve the problem, then please enable debug tracing on the diameterro-ra ("settracerlevel resourceadaptorentity diameterro-0 root Finest") and send us a new log.

regards
Steve
chaitrak


Joined: 17/10/2016 22:25:32
Messages: 17
Offline

Thanks Steve. bounced diameterro-o RA and sharing the rhino and ocs simulator log.
Can you help to understand how the charging rates working here and what kind of information is required to view rates are being applied to originator and terminator.
Do we have user guide on how OCS simulator works, what are the steps required to determine rate group, a party prefix, b party prefix from any customized SIP Feature?

Sharing diameterra-0 RA details:
Resource Adaptor Entity "diameterro-0"

Link Names
sentinel-diameterro

Configuration Properties
3GPPVersion
V820
BaseMessageApplicationID
0
CertificateKeyStore
(empty string)
CertificateKeyStorePassword
(empty string)
CipherSuites
(empty string)
ConfigurationProfile
DiameterConfig/DiameterRoOcsProfile
ConfigurationProfilePollTime
0
ConnectTimeout
30000
ExtendedTransportConfiguration
(empty string)
ExtensionAvpSet
DiameterExtensions/Charging
ExtensionAvpSetPollTime
0
ExtensionMessages
true
FireToServiceID
(empty string)
ForceReconnectAfterDPR
true
IOClientWorkers
0
IOServerWorkers
0
Quirks
(empty string)
ReconnectDelay
5000
RequestTimeout
2000
SSLSessionTimeout
0
ServiceContextId
session@opencloud.com
SessionTimeout
780000
SupportedVendorIds
(empty string)
ThreadPoolSize
0
TrustKeyStore
(empty string)
TrustKeyStorePassword
(empty string)
WatchdogTimeout
30000
WorkQueueSize
0
[Rhino] max_activities
0
[Rhino] replicate_activities
none
 Filename simulator.2401.log [Disk] Download
 Description OCS Simulator log
 Filesize 147 Kbytes
 Downloaded:  1 time(s)

 Filename rhino.2401.log [Disk] Download
 Description Rhino Log
 Filesize 3088 Kbytes
 Downloaded:  2 time(s)

This message was edited 1 time. Last update was at 25/01/2017 00:56:43

syeoman


Joined: 20/03/2012 14:34:28
Messages: 10
Offline

Hi there,

There is some documentation about the OCS simulator here:

https://docs.opencloud.com/ocdoc/books/diameter/2.7.0/diameter-simulators-guide/diameter-ocs-simulator.html

Refer to the VoLTE docs here for details of the charging AVPs:

https://docs.opencloud.com/ocdoc/books/sentinel-volte-documentation/2.6.0/sentinel-volte-administration-guide/charging-information/ro-interface-avps/index.html

Looking at your rhino log I see that the DoNotChargeSipSession feature is enabled. That suggests you installed VoLTE with offline charging? To use RO (OCS) charging you need to run the installer again, selecting ro for the charging option.

cheers
Steve
chaitrak


Joined: 17/10/2016 22:25:32
Messages: 17
Offline

Thanks Steve. It helped to enable diameter RO online charging. Airtime and cost is being calculated and call flow is working. :)

Can you help me to understand more on OCS Simulator - Rating (home/rhino/opencloud/simulators/rhino-connectivity/diameter-2.7.0.4/simulators/ocs-simulator/config/rates.xml)?
There are 2 sections - prefix-rates, rating-group-rates?

How the OCS simulator recognizes rating group applies to orignator/terminator?
How OCS simulator recognizes whether rate to be picked from prefix-rates or from rating-group-rates?

I mean, whether diameter client has to set certain parameters while executing any sip feature?
I would like to set the rating group dynamically from new sip feature so that OCS simulator apply the rate accordingly.
 Filename simulator.2501.log [Disk] Download
 Description OCS Simulator log
 Filesize 30352 Kbytes
 Downloaded:  0 time(s)

 Filename rhino.2501.log [Disk] Download
 Description rhino log
 Filesize 13778 Kbytes
 Downloaded:  0 time(s)

This message was edited 1 time. Last update was at 25/01/2017 22:18:14

chaitrak


Joined: 17/10/2016 22:25:32
Messages: 17
Offline

it seems we need to define diameter AVP for Multiple-Services-Credit-Control - Rating-Group
can you confirm where we can define Multiple-Services-Credit-Control - Rating-Group AVP?
syeoman


Joined: 20/03/2012 14:34:28
Messages: 10
Offline

Hi,

The OCS simulator is a legacy tool. It's not really intended to be extensible. If it doesn't do what you need, you're better off using the scenario-simulator to create your own OCS simulator.

The diameter RO schema in the scenario simulator has support for the Multiple-Services-Credit-Control AVP you're interested in. You can make your own scenario file to behave the way you need to test your service. Docs are here:

https://docs.opencloud.com/ocdoc/books/scenario-simulator/2.3.0/scenario-simulator-home/

Have a look at the ~/diameter-examples/ro-server folder for some example scenarios that use the Multiple-Services-Credit-Control AVP.

cheers
Steve

 
Forum Index » Sentinel VoLTE
Go to:   
Powered by JForum 2.1.8 © JForum Team