Since the call is coming from the SBC/Carrier, not being transferred internal to P{ureCloud, then you will have to find out what format is being sent by them.
The Call.CalledAddressOriginal is what you will want to use in Architect, I presume. That is the number sent from the Carrier/SBC.
When I am setting things up, I use a Play Audio action in a Task to play the Call.CalledAddressOriginal so I can hear what is being sent to PureCloud.
In the Audio Sequence for the Play Audio, I use
Add Data and select that variable, and set it to play as a telephone number.
Then, after publishing the flow and using a call route to send a DID to that flow, I call that DID from an external phone to hear what is sent by the carrier.
------------------------------
George Ganahl CCXP, GCA
Principal Technology Consultant
Genesys
------------------------------
Original Message:
Sent: 04-26-2019 06:07
From: Charaf Eddine Chemlal
Subject: Get DNIS in Architect
I've found two variables that can help :
- Call.CalledAddress
- Call.CalledAddressOriginal
Knowing that The caller when dialing a store number, the carrier/SBC will transfer the call directly to PureCloud. In this case, which variable should I use ?
Will the Carrier/SBC change the format of the number before transferring ?
Regards,
------------------------------
Charaf Eddine Chemlal
Dimension Data France
Original Message:
Sent: 04-26-2019 05:58
From: Charaf Eddine Chemlal
Subject: Get DNIS in Architect
Hello,
I'm wondering how to get the number dialed by the calling party (DNIS) ? is there a specific function in architect ?
This number/DNIS I have to look for it in a Data Table in order to return the name of the corresponding store.
Best Regards,
#ArchitectureandDesign
#Implementation
#Integrations
------------------------------
Charaf Eddine Chemlal
Dimension Data France
------------------------------