Question

messaging for multiple DNIS

  • 5 January 2022
  • 1 reply
  • 235 views

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.



1 reply

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").

Reply