question

Chris Griffith avatar image
Chris Griffith asked Craig Chan answered

messaging for multiple DNIS

I am trying to create a script in studio that will play a different greeting based on the DNIS that comes in. We will have multiple Point of contacts pointing to the script and would like a greeting played based on the DNIS. Example Client 1 calls in on 800-123-4567 - Greeting 4567 will play. Client 2 calls in on 888-321-7654 - Greeting 7654 plays. I am trying not to create multiple greeting scripts just one that will play a message based off of the DNIS.


contact center
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Craig Chan avatar image
Craig Chan answered

I would think you could create a Scripting Node with conditional logic in it to first getDnis() and then based upon the DNIS, setConnection("greeting1") or setConnection("greeting2").

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys