Note This sample script is for updating the XCAP server configuration when carrying out post install instructions for Sentinel VoLTE.

It includes:

  1. a Diameter Realm of ims.mncXXX.mncYYY.3gppnetwork.org,

  2. two peers, hss1.ims.mncXXX.mncYYY.3gppnetwork.org, and hss2.ims.mncXXX.mncYYY.3gppnetwork.org

Requests without the Destination Host AVP are load balanced between the two peers. TCP is used as the transport protocol.

For further information regarding Diameter configuration please refer to: Configuring Diameter Resource Adaptors

<exported-profile-data table="VolteHssDiameterConfiguration">
    <attributes>
        <attribute-desc name="productVendorId" type="long" serialised="false"/>
        <attribute-desc name="applicationVendorId" type="long" serialised="false"/>
        <attribute-desc name="host" type="java.lang.String" serialised="false"/>
        <attribute-desc name="applicationId" type="long" serialised="false"/>
        <attribute-desc name="realm" type="java.lang.String" serialised="false"/>
        <attribute-desc name="peerTable" type="java.lang.String" serialised="false"/>
        <attribute-desc name="realmTable" type="java.lang.String" serialised="false"/>
        <attribute-desc name="product" type="java.lang.String" serialised="false"/>
        <attribute-desc name="version" type="int" serialised="false"/>
        <attribute-desc name="enableMultiNodeConfig" type="boolean" serialised="false"/>
        <attribute-desc name="nodeIDs" type="int[]" serialised="false"/>
        <attribute-desc name="perNodeHosts" type="java.lang.String[]" serialised="false"/>
        <attribute-desc name="perNodeListenAddresses" type="java.lang.String[]" serialised="false"/>
        <attribute-desc name="perNodePorts" type="int[]" serialised="false"/>
        <attribute-desc name="perNodeSecondaryAddresses" type="java.lang.String[]" serialised="false"/>
    </attributes>
    <profile name="xcapserver" action="create">
        <attribute-value name="productVendorId">19808</attribute-value>
        <attribute-value name="applicationVendorId">10415</attribute-value>
        <attribute-value name="host">xcapserver</attribute-value>
        <attribute-value name="applicationId">16777217</attribute-value>
        <attribute-value name="realm">ims.mncXXX.mccYYY.3gppnetwork.org</attribute-value>
        <attribute-value name="peerTable">
            <![CDATA[<?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>
                        <default-options>
                            <option>
                                <option-name>TCP_NODELAY</option-name>
                                <option-type>java.lang.Boolean</option-type>
                                <option-value>true</option-value>
                            </option>
                        </default-options>
                        <peer connectAtStartup="true">
                            <!--
                              Note that the XXX and YYY portions mncXXX and mccYYY
                               are expected to change to your network's
                               MNC and MCC value respectively
                             -->
                            <uri>aaa://hss1.ims.mncXXX.mccYYY.3gppnetwork.org:3888;transport=tcp</uri>
                            <!-- address only needed if the URI does not resolve -->
                            <address>192.168.1.111</address>
                            <option>
                                <option-name>TCP_NODELAY</option-name>
                                <option-type>java.lang.Boolean</option-type>
                                <option-value>false</option-value>
                            </option>
                        </peer>
                        <peer connectAtStartup="true">
                            <uri>aaa://hss2.ims.mncXXX.mccYYY.3gppnetwork.org:3888;transport=tcp</uri>
                            <address>192.168.1.222</address>
                            <option>
                                <option-name>TCP_NODELAY</option-name>
                                <option-type>java.lang.Boolean</option-type>
                                <option-value>false</option-value>
                            </option>
                         </peer>
                     </peer-table>]]>
        </attribute-value>
        <attribute-value name="realmTable">
        <![CDATA[<?xml version="1.0" encoding="UTF-8"?>
                 <!DOCTYPE realm-table PUBLIC "-//Open Cloud Ltd.//DTD Diameter Realm Table Configuration 1.0//EN"
                 "http://www.opencloud.com/dtd/diameter-realm-table-1.0.dtd">
                 <realm-table>

                     <realm>
                         <realm-name>ims.mncXXX.mccYYY.3gppnetwork.org</realm-name>
                             <application-route>
                                 <application>
                                     <application-id>16777217</application-id> <!-- Diameter Sh -->
                                     <vendor-id>10415</vendor-id> <!-- optional, default is zero
                                                                       3GPP is 10415 -->
                                 </application>
                                 <action>LOCAL</action>
                                 <peer-ref>
                                     <hostname>hss1.ims.mncXXX.mccYYY.3gppnetwork.org</hostname>
                                     <metric>1</metric>
                                 </peer-ref>
                                 <peer-ref>
                                     <hostname>hss2.ims.mncXXX.mccYYY.3gppnetwork.org</hostname>
                                     <metric>1</metric>
                                 </peer-ref>

                             </application-route>
                     </realm>
                 </realm-table>]]>
        </attribute-value>
        <attribute-value name="product">OpenCloud Diameter</attribute-value>
        <attribute-value name="version">1</attribute-value>
        <attribute-value name="enableMultiNodeConfig">false</attribute-value>
        <attribute-value name="nodeIDs" content-type="null"/>
        <attribute-value name="perNodeHosts" content-type="null"/>
        <attribute-value name="perNodeListenAddresses" content-type="null"/>
        <attribute-value name="perNodePorts" content-type="null"/>
        <attribute-value name="perNodeSecondaryAddresses" content-type="null"/>
    </profile>
</exported-profile-data>
Previous page Next page
Sentinel VoLTE Public Version 2.8.0