MyPureCloud/terraform-provider-genesyscloud

creating a custom dialplan, match country codes does not work

Closed this issue · 1 comments

Hi,

I have an issue with "custom dial plans" on a "site".
I create them bij Terraform through the HCL format.
For instance, a dialplan for "europa":
image
which has "match country codes": 30, 31, 32, 33, .......

But "simulate call" shows that this list is not matching any "country code", for instance when simulating +30123456789, it shows it as "international", but this should have been "Europe".
The workaround is, in Genesys GUI, copy the "match country codes" list, remove it, paste it, and save. Then, for some reason, a simulate call does show that +30123456789 is "europa".
There is also something with "spaces" in the list, which are not in my code, in the Genesys GUI removing a space and saving the "match country codes" list, also fixes the issue.

I will also need to try with a regex instead of a "list", maybe that works from the start without any issue.

Kind regards,

Addie

Hi,

Small update, using "regex" instead of "Inter-Country" works correctly.

Kind regards,

Addie