We receive CDR (call data records) from all of our carriers in the form of...
- users telephone number
- dialled number
- date
- time
- duration
The problem we have is applying a dialling code to each dialled number e.g.
*Dialled Numbers
00441179638249 - this would UK BRISTOL
00442476511212 - this would UK COVENTRY
*Dialling Codes Extract...
"00441271","44","UK BARNSTAPLE"
"00441273","44","UK BRIGHTON"
"00441274","44","UK BRADFORD"
"00441275","44","UK BRISTOL"
"0044247","44","UK COVENTRY"
"0044117",44","UK BRISTOL"
"001242","103","BAHAMAS"
"001246","104","BARBADOS"
"001248","1","USA"
"001250","2","CANADA"
Is there a way of assigning a dialling code to each number using PHP coding?
Yours
Russell