Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-23256

GraphQL API - DID Does Not Include Destination Information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 15, 16
    • Component/s: API
    • Labels:
      None
    • Sprint:
      Sprint 67, Sprint 68
    • ToDo:
    • Asterisk Version:
      16.20.0
    • Distro Version:
      15.0.17.67
    • Distro:
      FreePBX Distro
    • Module Fix Version:

      Description

      When using the GraphQL Explorer to query "allInboundRoutes" or "InboundRoutes", the response does not return the destination of the DID.  There appears to be a "DestinationConnection" attribute that seems to be designed to return this information. Exporting the DID's from the bulk handler works fine.

      I found this reference code:

      https://git.freepbx.org/projects/FREEPBX/repos/core/raw/Api/Gql/Dids.php?at=refs%2Ftags%2Frelease%2F15.0.12.16

       

      Here are screenshots of various attempts to get the destination information.

       

        Gliffy Diagrams

          Attachments

          1. allindest.png
            allindest.png
            39 kB
          2. allindest1.png
            allindest1.png
            49 kB
          3. image-2022-01-24-18-13-31-088.png
            image-2022-01-24-18-13-31-088.png
            23 kB
          4. image-2022-01-24-18-16-15-060.png
            image-2022-01-24-18-16-15-060.png
            39 kB
          5. image-2022-01-24-18-16-48-400.png
            image-2022-01-24-18-16-48-400.png
            39 kB

            Activity

              People

              • Assignee:
                prasanthm Prasanth Mohan
                Reporter:
                ejshoemaker United States
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.