Dear friends, 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?
International code can be 011, or 00. National code can be 0 or 1 Country code can have 2 or 3 digits Area code can have 2 or 3 digits Local num can be 7-10 digits Is there anyway to break this down efficiently in the dialplan or AGI? Any comment will be greatly appreciated. Thanks, Mark
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users