verify and validate incoming call digit

I need help,

I am creating a flow inside Architect, where I need to validate the first number, where if this number is validated, the flow will be closed!

example: call in => +55 41 "9" 8888-8888
I need to validate the number in quotation marks
I already have the input (to add the "+55"), but I do not know how to make the comparison exclusively of the digit in question!

thank you in advance for your help!

Gabriel Galbieri
Curitba - Brazil

Gabriel,

You'll need to use a Decision block and a custom expression with the Substring function to look at that precise digit in the Call.ANI or Call.DNIS. Here is a screenshot of the idea:

1 Like

294/5000

perfect Crespino, I was able to validate the exact number, but I have a somewhat atypical demand !!!
Is it possible to receive a call from a stream, and that stream store the source number and in the flow itself end the call and return the call to this source number?

I think I could explain !!

I'm sorry but I don't think I understand what you mean by "receive a call from a stream".

The way I'm interpreting your request is that you maybe have an inbound VoIP call that somehow contains a real number (maybe in a header). Then in the Architect flow you would retrieve that number and "transfer" the original VoIP call to the PSTN number. Is that what you are trying to do?

I will try to explain, in Brazil, all mobile phones start with the digit 9, so the initial question of the validation of a particular digit !!
but now the second step would be to receive this interaction and after this validation, is it possible to create within this stream an option to store the source number, terminate the interaction and the stream itself redial within 30 seconds for that same number ??

I know that the platform has a Callbak option configurable within the service queue, but this request came very unusual for development, did some tests and could not follow this flow!

would there be any way to do this process by Architect?

You can create callbacks in architect. See https://help.mypurecloud.com/articles/create-callback-data-action/

Hi tim.smith!

What I need is to do this whole process without involving a queue !!
and by the link you gave me I have already implemented in other flow !!in other flow !!

You can't create a callback without putting it in a queue. Even if you were to build an integration to add a number to an outbound call list, campaigns are associated with a queue.

My question is exactly this, is there any other way without attaching to a queue?

You can't create a callback without putting it in a queue.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.