Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contents

Table of Contents

...

Figure 1 AppSource Dynamics 365 Channel Integration Framework

Image RemovedImage Added

Figure 2 Agree to Terms

...

Fill in a name, for example Voice for Dynamics 365 for the app registration.

All the other settings can be left as default. Choose Register.

Image RemovedImage Added

Figure 5 Register an Application

...

  • Right-click on DeploymentPackage.dll and verify that the file is not blocked. If it is, unblock and then apply. Otherwise, might an error message might occur during the deployment (no solution found).

  • Then run PackageDeployer.exe and go through the standard wizard.

  • Wizard will guide the user through all the needed steps for installation.

Image RemovedImage Added

Figure 13 Package Deployer Wizard

...

Figure 27 Active Channel Providers

Image RemovedImage Added

Figure 28 Voice Channel Provider Configuration

...

Note:Users mobile number needs to be saved to User form in Dynamics 365 for all users that are going to need their phonecalls to be synced from mobile to Dynamics 365. By default calls that are classified as Work calls (Call information Privacy setting in Voice Center side) are synchronized. Unclassified and Private calls are not Synced to D365.

Anchor
_Toc134179493
_Toc134179493
1.5.4 Callbacks

...

  • Go to form customizations, then target form

  • Select the field properties for the field.

  • Choose Controls tab and add a new control, choose Channel Communication Control.

  • Select the radio buttons to Channel Communication Control

Image RemovedImage Added

Figure 38 Channel Communication Control

...

The API has to accept data in JSON format according to the following schema:

{

  "type""object",
  "properties": {
    "anum": {
      "type""string"
    },
    "bnum": {
      "type""string"
    }
  }
}

Example payload:

{

  "anum""+35850454564", // phone number of caller
  "bnum""+35840675644" // phone number of pool the call is in at the moment
}

Business logic will then find the caller in Dynamics CRM based anum and determine the needed action. Phone numbers have to be saved to CRM in the correct format, with no spaces or other characters, and starting with international calling prefix (plus sign). If phone numbers happen to be saved to CRM in local format then by removing first few (3-4) characters of anum, the rest can be matched to CRM data using contains comparison.

...

When the phone number of target queue has been determined by the business logic, it is returned as an HTTP response.

Example payload:

{

  "InitialTarget""+35853445657", // phone number of target queue or agent
}

Things to notice:

  • If no redirection has to be done (e.g. customer not found) then HTTP 204 No Content response must be returned

  • Returning the same bnum from the request as InitialTarget is forbidden because it would cause an infinite loop in Enreach cloud. In such a case returning HTTP 204 is recommended.

...

Anchor
_Toc134179506
_Toc134179506
1.8. Test Voice for Dynamics 365 functionality

If everything was set up correctly, you should see the Voice for Dynamics 365 sidebar in the configured applications. Inbound& outbound calls, automatic phone call activity creation, Click-toDial and callback handling (if configured) are now available for the end users.

...

Figure 40 Voice for Dynamics 365, Customer Service Workspace (CIF2) (On the left side of Dynamics 365 UI)

...

Figure 41 Voice for Dynamics 365 Model Driven App (CIF1) (on the right side of Dynamics 365 UI)

1

I