Go to primary content
Oracle® Communications Diameter Signaling Router Subscriber Database Server Provisioning Interface
Release 8.3
E93213
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

Examples

Read NAI Routing Entities

This example successfully reads three NAI routing entities.

Request:
<readSubscriberNai ent=”subscriberRouting” ns=”dsr” id=”101”>
  <host>oracle.com</host>
  <user>John.Smith</user>
  <user>Jane.Doe</user>
  <user>Mike.Jones</user>
</readSubscriberNai>
Response:
<readSubscriberNaiResp id=”101”>
  <res error=”0” affected=”3”/>
    <rset>
      <nai host=”oracle.com" user=”John.Smith”> 
        <imshss>IMS_HSS_1</imshss>
        <ltehss>LTE_HSS_1</ltehss>
        <aaa>AAA_Texas</aaa>
      </nai>
      <nai host=”oracle.com" user=”Jane.Doe”> 
        <imshss>IMS_HSS_1</imshss>
        <ltehss>LTE_HSS_4</ltehss>
        <pcrf>PCRF_Ohio</pcrf>
        <aaa>AAA_Texas</aaa>
      </nai>
      <nai host=”oracle.com" user=”Mike.Jones”> 
        <imshss>IMS_HSS_1</imshss>
        <ltehss>LTE_HSS_4</ltehss>
        <pcrf>PCRF_Ohio</pcrf>
        <aaa>AAA_Texas</aaa>
      </nai>
    </rset>
</readSubscriberNaiResp>

Read NAI Routing Entities

This example successfully reads two NAI routing entities. Other NAI values are not found

Request:
<readSubscriberNai ent=”subscriberRouting” ns=”dsr” id=”102”>
  <host>oracle.com</host>
  <user>John.Smith</user>
  <user>Ann.Jones</user>
  <user>Jane.Doe</user>
  <user>Mike.Jackson</user>
</readSubscriberNai>
Response:
<readSubscriberNaiResp id=”102”>
  <res error=”0” affected=”2”/>
    <rset>
      <nai host=”oracle.com" user=”John.Smith”> 
        <imshss>IMS_HSS_1</imshss>
        <ltehss>LTE_HSS_1</ltehss>
        <aaa>AAA_Texas</aaa>
      </nai>
      <nai host="oracle.com" user=”Jane.Doe”> 
        <imshss>IMS_HSS_1</imshss>
        <ltehss>LTE_HSS_4</ltehss>
        <pcrf>PCRF_Ohio</pcrf>
        <aaa>AAA_Texas</aaa>
      </nai>
    </rset>
</readSubscriberNaiResp>

Read NAI Routing Entities (Failure)

This example fails because no NAI subscribers are found.

Request:
<readSubscriberNai ent=”subscriberRouting” ns=”dsr” id=”103”>
  <host>oracle.com</host>
  <user>Kevin.Smith</user>
  <user>John.Doe</user>
</readSubscriberNai>
Response:
<readSubscriberNaiResp id=”103”>
  <res error=”2009” affected=”0” description=”nai not found” />
</readSubscriberNaiResp>