Is there anyother way to remove country code for customer phone number

Hi,

:point_right: i am using product event (onCallCreate) for freshcaller.

And i have to retrieve data using phone number from third-party site. They haven’t stored number with country code.

I have developed app that shows details by reading (participant_type :Customer) phone number and shows data .

Here i have to use slice to remove country code and fetch data, So here i can’t do slice for every country code of phone number. So if you suggest me something for this means, It would be great!

hey @Sivaranjani_Vasudeva,

I am not sure about the question, are you implying is it difficult to slice the country code? if so in what way? storing the country codes for checking?

1 Like