.. _analogue_line_SCCP_data_export:

Analogue Line SCCP Data Export
------------------------------


.. _19.3.4-PB5|EKB-8547:
.. _21.2|EKB-8547:


Filename:  ``<YYYY-MM-DD_HHMM>_analogue_line_sccp.json.gz``

Layout:

.. tabularcolumns:: |p{3cm}|p{9cm}|p{2cm}|p{1.5cm}|


+-------------------------+---------------------------------------------------------------------+-----------+---------+
| ELEMENT                 | DESCRIPTION AND SOURCE FIELD                                        | DATA TYPE | VERSION |
+=========================+=====================================================================+===========+=========+
| provider_name           | Name of the Provider                                                | string    | v2      |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| reseller_name           | Name of the Reseller                                                | string    | v2      |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| customer_name           | name of the customer                                                | string    | v1      |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| division_name           | Intermediate Node (e.g Division                                     | string    | v1      |
|                         | or other node)                                                      |           |         |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| location_name           | Site Name                                                           | string    | v1      |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| hierarchy               | The full hierarchy path for the                                     | string    | v1      |
|                         | item being exported                                                 |           |         |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| usernames               | List of users assigned to the                                       | Array of  | v1      |
|                         | analog port                                                         | strings   |         |
|                         |                                                                     |           |         |
|                         | device/cucm/User.userid                                             |           |         |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| gateway                 | name of the gateway that the                                        | string    | v1      |
|                         | port is on                                                          |           |         |
|                         |                                                                     |           |         |
|                         | device/cucm/GatewaySccpEndpoints.domainName                         |           |         |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| port_number             | gateway port for this                                               | string    | v1      |
|                         | configuration                                                       |           |         |
|                         |                                                                     |           |         |
|                         | device/cucm/GatewaySccpEndpoints.endpoint.index                     |           |         |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
|                         | the type of port for this                                           |           |         |
| port_type               | gateway (typically FXS for                                          | string    | v1      |
|                         | analog)                                                             |           |         |
|                         |                                                                     |           |         |
|                         | device/cucm/GatewaySccpEndpoints.endpoint.product                   |           |         |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
| description             | description of the gateway                                          | string    | v1      |
|                         |                                                                     |           |         |
|                         | device/cucm/GatewaySccpEndpoints.endpoint.description               |           |         |
+-------------------------+---------------------------------------------------------------------+-----------+---------+
|                         | Array of E164 numbers and                                           |           |         |
| E164Members             | ranges assigned to ``pilot_number``                                 | string    | v4      |
|                         | in the case of N-1 mapped lines                                     |           |         |
+-------------------------+---------------------------------------------------------------------+-----------+---------+



* ELEMENT: cucm_dn

  * DESCRIPTION: Internal Number assigned to the device profile (as configured in the PBX)
  * SOURCE FIELD: device/cucm/GatewaySccpEndpoints.endpoint.lines.line.0.dirn.pattern
  * DATA TYPE: string
  * VERSION: v1

* ELEMENT: E164

  * DESCRIPTION: External Number (E164 number) assigned to the device profile
  * SOURCE FIELD: device/cucm/GatewaySccpEndpoints.endpoint.lines.line.0.dirn.pattern
  * DATA TYPE: string
  * VERSION: v1

* ELEMENT: E164Members.e164_number

  * DESCRIPTION: E164 number in the case of N-1 mapped lines
  * DATA TYPE: string
  * VERSION: v4

* ELEMENT: E164Members.e164_range

  * DESCRIPTION: E164 range of ``E164Members.e164_number`` in the case of N-1 mapped lines
  * DATA TYPE: string
  * VERSION: v4


Example


::

   
   [
   {
     "division_name": "Intermed1", 
     "usernames": [
       "test_userid"
     ], 
     "location_name": "Site1", 
     "description": "AN202AAAA202000", 
     "port_number": 0, 
     "hierarchy": "sys.48D13080D77F.Prov1.Resel1.Cust1.Intermed1.Intermed1_1.Site1", 
     "gateway": "SKIGW202AAAA202", 
     "E164": "test_e164", 
     "port_type": "Analog Phone", 
     "reseller_name": "Resel1", 
     "provider_name": "Prov1", 
     "cucm_dn": "\\+155545", 
     "customer_name": "Cust1"
   }
   ]
