Author: trixter Date: Fri Dec 21 00:55:07 2007 New Revision: 6938 Modified: freeswitch/trunk/scripts/contrib/trixter/dialplan/README freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nanpa.xml freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nl.xml freeswitch/trunk/scripts/contrib/trixter/dialplan/localized.dialplan.xml Log: added a provider dialing prefix since some providers make you dial for example 011 before an e164 number, now you can do that just fine Modified: freeswitch/trunk/scripts/contrib/trixter/dialplan/README ============================================================================== --- freeswitch/trunk/scripts/contrib/trixter/dialplan/README (original) +++ freeswitch/trunk/scripts/contrib/trixter/dialplan/README Fri Dec 21 00:55:07 2007 @@ -75,6 +75,12 @@ and regexps. Due to the way variables are used you should not attempt to use a regexp unless it is indicated that it is a regexp. +<!-- +TYPE: static +anything that gets sent before the E.164 formatted number to the provider +If you dont need anything leave it blank +--> +<variable name="dial_prefix" value=""/> <!-- TYPE: static Modified: freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nanpa.xml ============================================================================== --- freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nanpa.xml (original) +++ freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nanpa.xml Fri Dec 21 00:55:07 2007 @@ -1,5 +1,8 @@ <!-- include this in the USER DIRECTORY variables section --> +<!-- anything we need to send to the provider before we send the number --> +<variable name="dial_prefix" value=""/> + <!-- do we use enum? --> <variable name="use_enum" value="true"/> Modified: freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nl.xml ============================================================================== --- freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nl.xml (original) +++ freeswitch/trunk/scripts/contrib/trixter/dialplan/dialplan.nl.xml Fri Dec 21 00:55:07 2007 @@ -1,5 +1,8 @@ <!-- include this in the USER DIRECTORY variables section --> +<!-- anything we need to send to the provider before we send the number --> +<variable name="dial_prefix" value=""/> + <!-- do we use enum? --> <variable name="use_enum" value="true"/> Modified: freeswitch/trunk/scripts/contrib/trixter/dialplan/localized.dialplan.xml ============================================================================== --- freeswitch/trunk/scripts/contrib/trixter/dialplan/localized.dialplan.xml (original) +++ freeswitch/trunk/scripts/contrib/trixter/dialplan/localized.dialplan.xml Fri Dec 21 00:55:07 2007 @@ -52,7 +52,7 @@ <action application="bridge" data="${enum_auto_route}"/> </condition> <condition> - <action application="bridge" data="sofia/gateway/${default_gateway}/${e164number}"/> + <action application="bridge" data="sofia/gateway/${dial_prefix}${default_gateway}/${e164number}"/> </condition> </extension>