Acme Packet (MOSC)

MOSC Banner

How to compare country codes

in Acme Packet (MOSC) 2 commentsAnswered

I need an HMR that compares the Country code of the from field with a stored value from Geolocation information. I am trying to determine if a call is generated in the country that the SBC is in.

For instance from Geolocation information I can set the country code of a physical device to +1. When a caller makes a call from that device, they may have a From value of +33160306053. I want to know if the from value starts with the same characters as the country code of the physical device.

This seems pretty straight forward, but once i move into APAC where there are a number of country codes that match the first 3 characters I am lost.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center