Examples

The format of the response differs depending on whether the group="y" attribute is specified.

If group="y" is NOT specified, then each routing entity that was found is displayed with its destination values.

If group="y" is specified, then the result response includes an optional Account ID value (if it exists), all MSISDN and IMSI values for that subscriber, and one set of destination values (all routing entities within a subscriber have the same destination values).

Read Routing Entities (not subscribers)

This example reads IMSI and MSISDN routing entities and displays their destination values. It does not matter if any of the routing entities are assigned to a subscriber because the same result will occur.

Request:
<readSubscriber ent=”subscriberRouting” ns=”dsr” id=”101”>
  <imsi>111111111100001</imsi>
  <imsi>111111111100002</imsi>
  <msisdn>8004605500</msisdn>
</readSubscriber>
Response:
<readSubscriberResp>
  <res error=”0” affected=”3”/>
  <rset>
    <imsi imsi="111111111100001"> 
      <ltehss>LTE_HSS_4</ltehss>
      <aaa>AAA_4</aaa>
    </imsi>
    <imsi imsi="111111111100002"> 
     <ltehss>LTE_HSS_4</ltehss>
     <aaa>AAA_4</aaa>
    </imsi>
    <msisdn msisdn="8004605500"> 
     <ltehss>LTE_HSS_4</ltehss>
     <aaa>AAA_4</aaa>
    </msisdn>
  </rset>
</readSubscriberResp>

Read Routing Entities with Not Found MSISDN/IMSI Values

This example reads IMSI and MSISDN routing entities and displays their destination values. In this example, one MSISDN and one IMSI value do not exist, so the response returns the two values that do exist. The same result will occur if any of the routing entities are assigned to a subscriber.

Request:
<readSubscriber ent=”subscriberRouting” ns=”dsr” id=”102”>
  <imsi>777777777777777</imsi>
  <imsi>111111111100002</imsi>
  <msisdn>8004605500</msisdn>
  <msisdn>88888888888888</msisdn>
</readSubscriber>
Response:
<readSubscriberResp>
  <res error=”0” affected=”2”/>
  <rset>
    <imsi imsi="111111111100002">
     <ltehss>LTE_HSS_4</ltehss>
     <aaa>AAA_4</aaa>
    </imsi>
    <msisdn msisdn="8004605500"> 
     <ltehss>LTE_HSS_4</ltehss>
     <aaa>AAA_4</aaa>
    </msisdn>
  </rset>
</readSubscriberResp>

Read Subscriber (success)

This example reads a subscriber and displays all of the subscriber data. Any of the subscriber Account ID, MSISDN or IMSI values can be specified. In this example, the MSISDN value is specified.

Request:
<readSubscriber ent=”subscriberRouting” ns=”dsr” id=”103” group=”y”>
    <msisdn>8004605500</msisdn>
</readSubscriber>
Response:
<readSubscriberResp>
    <res error=”0” affected=”1”/>
    <rset>
      <subscriber>
        <accountId>80044400001234567890111112</accountId>
        <imsi>"111111111100001></imsi>
        <imsi>111111111100002</imsi>
        <msisdn>8004605500</msisdn>
        <ltehss>LTE_HSS_4</ltehss>
        <aaa>AAA_4</aaa>
      </subscriber>
    </rset>
</readSubscriberResp>

Read Subscriber Fails for Stand-alone Routing Entity

This example attempts to read a subscriber. The request fails because the specified MSISDN value is for a stand-alone routing entity.

Request:
<readSubscriber ent=”subscriberRouting” ns=”dsr” id=”1041” group=”y”>
  <msisdn>8004605503</msisdn>
</readSubscriber>
Response:
<readSubscriberResp>
  <res error=”2022” affected=”0” description=”subscriber not found”/>
</readSubscriberResp>