How to compare two values in HMR
I have an issue where I need to know if the calling party and the called party are in the same country.
The easiest way I think to do this is to take the first two characters of the calling and called party and see if they match. For example you would know a call is completely in the US if both numbers started with +1.
I figured out how to extract all the data I need, but I have not figured out how to do a comparison and return a boolean response.
Does anyone have any ideas for this one?