Dear friends,<br><br>I am wondering if there is any efficient way of extract the country code, area code, and local code into 3 different variables from one DNID that can look like 001630233-4333 or 0086213345333?<br><br>International code can be 011, or 00.<br>
National code can be 0 or 1<br>Country code can have 2 or 3 digits<br>Area code can have 2 or 3 digits<br>Local num can be 7-10 digits<br><br>Is there anyway to break this down efficiently in the dialplan or AGI?<br><br>Any comment will be greatly appreciated.<br>
<br>Thanks,<br>Mark<br>