Tommy_Braes | 2021-12-14 09:14:41 UTC | #1
Hi,
Following up on my other post "CX as Code on ORG with GC1 (Purecloud 1) licenses". I'm using CX as Code tool to pull all data from an existing ORG and import it into a new ORG.
When using the genesyscloudtfexport resource, what is the resource_type to pull the extension pools?
In my particular case, there are some groups that have calls enabled using an internal extension. When I import the data in ORG2 that I pulled from ORG1, the groups are imported but they don't have calls enabled. I think this is because the extension pools didn't get migrated?
thx,
Tommy
Tommy_Braes | 2021-12-14 09:47:11 UTC | #2
FYI.
original ORG group settings:
new ORG after import: Calls are not enabled and group phone number error. Call route type and parameters are not exported/imported.
 |
 |
John_Carnell | 2021-12-14 13:29:30 UTC | #3
Hi Tommy,
We do not currently have extension pools as an available resource through CX as Code. We would need to try and reproduce this in our lab, but I suspect that is why your group numbers are not going enabled. I am going to chat with my product manager about getting extension pools on the backlog of work. However, I can make a commitment on a timeline.
What you could do in the meantime is use a script to create the extension pools before you create the groups. In terraform you could use
resource "null_resource" "deploy_archy_flow" {
depends_on = [
//make sure you put dependences in here to ensure that this is called before you create the groups.
]
provisioner "local-exec" {
command = " script call here"
}
}
The APIs you can use to create the extensions can be found here:
https://developer.genesys.cloud/api/rest/v2/telephonyprovidersedge/
Thanks, John Carnell Manager, Developer Engagement
Tommy_Braes | 2021-12-14 14:08:06 UTC | #4
John,
Awesome. Thx for the info!
rgds,
Tommy
Ebenezer_Osei | 2021-12-14 14:19:47 UTC | #7
This post was migrated from the old Developer Forum.
ref: 12945