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

FollowMe GQL API invalid route

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 16.0.19
    • Fix Version/s: 16.0.14
    • Component/s: Follow Me
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      18.11.0
    • Distro Version:
      12.7.8-2204-1.sng7
    • Distro:
      FreePBX Distro

      Description

      There are two problems with the FollowMe GQL updateFollowMe mutation.

      1. If noAnswerDestination is not supplied and no FollowMe exists for the extension then the noAnswerDestination will default to "ext-local,,dest" which is not valid.
      2. If noAnswerDestination is set to something like "ext-local,3475,dest" the API returnsĀ Invalid Route: ext-local,3912,dest. Full example below.

      These two issues combined break the ability to provision a new FollowMe profile.

      1. Full Example
        1. GQL Mutation

      mutation{ updateFollowMe( input:

      { extensionId:"3912" enabled:true strategy: ringallv2prim ringTime:25 followMeList:"3912-700634601" noAnswerDestination: "ext-local,3912,dest" confirmCalls:false ringingMusic:"Ring" initialRingTime:7 enableCalendar:false externalCallerIdMode: default }

      ) { status message } }

        1. Result

      Array ( [errors] => Array ( [0] => Array ( [message] => Invalid Route: ext-local,3912,dest [status] => ) ) )

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                prasanthm Prasanth Mohan
                Reporter:
                jprince jprince
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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