<action application="set" data="hangup_after_bridge=true"/>
<action application="enum" data="1$1"/>
<action application="bridge" data="${enum_auto_route}"/>
- <action application="bridge" data="sofia/gateway/$${default_gateway}/011$1"/>
+ <action application="bridge" data="sofia/gateway/${default_gateway}/011$1"/>
</condition>
</extension>
<action application="set" data="hangup_after_bridge=true"/>
<action application="enum" data="1$1"/>
<action application="bridge" data="${enum_auto_route}"/>
- <action application="bridge" data="sofia/gateway/$${default_gateway}/1$1"/>
+ <action application="bridge" data="sofia/gateway/${default_gateway}/1$1"/>
</condition>
</extension>
<action application="set" data="hangup_after_bridge=true"/>
<action application="enum" data="1$1"/>
<action application="bridge" data="${enum_auto_route}"/>
- <action application="bridge" data="sofia/gateway/$${default_gateway}/1${default_area_code}$1"/>
+ <action application="bridge" data="sofia/gateway/${default_gateway}/1${default_area_code}$1"/>
</condition>
</extension>
-->
<extension name="FCC_Services">
<condition field="^([4689]11)$">
- <action application="bridge" data="sofia/gateway/$${default_gateway}/$1"/>
+ <action application="bridge" data="sofia/gateway/${default_gateway}/$1"/>
</condition>
</extension>
</context>
<extension name="Localized_Dialplan">
<condition field="${numbering_plan}" expression="^[[:alnum:]]+$"/>
+ <condition field="${default_gateway}" expression="[[:alnum:]]"/>
<condition field="destination_number" expression="^([[:alnum:]]+)$">
<action application="transfer" data="$1 XML ${numbering_plan}-Numbering-Plan"/>
</condition>
<variables>
<!--all variables here will be set on all inbound calls that originate from this user -->
<variable name="testing" value="this"/>
+
+ <!-- limit the max number of outgoing calls for this user -->
+ <!--<variable name="max_calls" value="2"/>-->
+
+ <!-- send presence information if FS is configured to do so -->
+ <!--<variable name="presence_id" value="1000@$${domain}"/>-->
+
+ <!-- set these to take advantage of a dialplan localized to this user -->
+ <!--<variable name="numbering_plan" value="US"/>-->
+ <!--<variable name="default_area_code" value="434"/>-->
+ <!--<variable name="default_gateway" value="asterlink.com"/>-->
+
<!--<variable name="sip-force-contact" value="nat-connectile-dysfunction"/>-->
<!--<variable name="sip-force-expires" value="10"/>-->
<!--<variable name="sip-register-gateway" value="cluecon.com"/>-->
<!--<param name="vm-mailto" value="me@mydomain.com"/>-->
<!--<param name="vm-email-all-messages" value="true"/>-->
</params>
- <variables>
- <variable name="numbering_plan" value="US"/>
- <variable name="default_area_code" value="434"/>
- <variable name="max_calls" value="2"/>
- <variable name="presence_id" value="1001@$${domain}"/>
- </variables>
</user>
<!-- authless users and mailboxes -->