Author: trixter Date: Mon Dec 17 20:36:10 2007 New Revision: 6852 Added: freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nanpa.xml Removed: freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.us.xml Log: Name change since NANPA is 18 or so countries not just 1 Added: freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nanpa.xml ============================================================================== --- (empty file) +++ freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nanpa.xml Mon Dec 17 20:36:10 2007 @@ -0,0 +1,25 @@ +<!-- include this in the USER DIRECTORY variables section --> + +<!-- this is the default gateway to send calls to if enum fails --> +<variable name="default_gateway" value="asterlink.com"/> + +<!-- the country code, only numeric --> +<variablename="default_country_code" value="1"/> + +<!-- variable for international dialing --> +<variable name="default_international_prefix" value="011"/> + +<!-- variable for local prefix/area code --> +<variablename="default_local_prefix" value="800"/> + +<!-- What matches international dialing --> +<variable name="default_international_regexp" value="^${international_prefix}(\d+)$"/> + +<!-- What matches a domestic out of area call --> +<variable name="default_domestic_regexp" value="^1?([2-9]\d{2}[2-9]\d{6})$"/> + +<!-- What matches a local same area call --> +<variable name="default_local_regexp" value="^([2-9]\d{6})$"/> + +<!-- What is dialed for direct routed stuff like emergency numbers --> +<variable name="default_emergency_number" value="^\d11$"/>