<div dir="ltr">Thank you for your response. Per your request here is the result of the <span style="font-family:arial,sans-serif;font-size:13px">sofia status command:</span><div><br></div><div><div>freeswitch@internal> sofia status</div>
<div> Name Type Data State</div><div>=================================================================================================</div><div> 10.1.1.5 alias internal ALIASED</div>
<div> internal profile <a href="http://sip:mod_sofia@10.1.1.5:5060">sip:mod_sofia@10.1.1.5:5060</a> RUNNING (0)</div><div> external profile <a href="http://sip:mod_sofia@10.1.1.5:5080">sip:mod_sofia@10.1.1.5:5080</a> RUNNING (0)</div>
<div> external::<a href="http://example.com">example.com</a> gateway <a href="mailto:sip%3Ajoeuser@example.com">sip:joeuser@example.com</a> NOREG</div><div>external::BatCave-inbound gateway sip:J0k3R!@BacCave.hole.Xom REGED</div>
<div>external::BatCat-outbound gateway sip:J0k3R!@BacCave.hole.Xom NOREG</div><div> GothamCity.xom alias internal ALIASED</div><div> internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)</div>
<div>=================================================================================================</div><div>3 profiles 2 aliases</div></div><div><br></div><div><br></div><div>==========================================<br>
</div><div><div></div></div><div style>/usr/local/freeswitch/conf/dialplan/default/GothamCity.xom.xml<br></div><div style><br></div><div style><div><!-- <a href="http://wiki.freeswitch.org/wiki/Dialplan_XML">http://wiki.freeswitch.org/wiki/Dialplan_XML</a> --></div>
<div><include></div><div> <context name="GothamCity.xom"></div><div> <extension name="vitel-inbound"></div><div> <condition field="destination_number" expression=""></div>
<div> <action application="transfer" data="1000 XML default"/></div><div> </condition></div><div> </extension></div><div>==========================================</div>
<div><div style><br></div><div style><div> /usr/local/freeswitch/conf/dialplan/default/GothamCity.xom.xml</div><div><br></div></div><div><include></div><div><br></div><div> <extension name="<a href="http://local.example.com">local.example.com</a>"></div>
<div> <condition field="${toll_allow}" expression="local"/></div><div> <condition field="destination_number" expression="^(\d{7})$"></div><div> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/></div>
<div> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/></div><div> <action application="bridge" data="sofia/gateway/${default_gateway}/1${default_areacode}$1"/></div>
<div> </condition></div><div> </extension></div><div><br></div><div> <extension name="<a href="http://domestic.example.com">domestic.example.com</a>"></div><div> <condition field="${toll_allow}" expression="domestic"/></div>
<div> <condition field="destination_number" expression="^(\d{11})$"></div><div> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/></div>
<div> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/></div><div> <action application="bridge" data="sofia/gateway/${default_gateway}/$1"/></div>
<div> </condition></div><div> </extension></div><div><br></div><div> <extension name="<a href="http://international.example.com">international.example.com</a>"></div><div> <condition field="${toll_allow}" expression="international"/></div>
<div> <condition field="destination_number" expression="^(011\d+)$"></div><div> <action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/></div>
<div> <action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/></div><div> <action application="bridge" data="sofia/gateway/${default_gateway}/$1"/></div>
<div> </condition></div><div> </extension></div><div><br></div><div></include></div></div><div><div><br></div><div>==========================================</div><div></div></div><div>/usr/local/freeswitch/conf/sip_profiles/external/vitelity.xml<br>
</div><div><br></div><div><div><include></div><div> <gateway name="BatCave-outbound"></div><div> <!--/// account username *required* ///--></div><div> <param name="username" value="Joker"/></div>
<div> <!--/// auth realm: *optional* same as gateway name, if blank ///--></div><div> <param name="realm" value="BatCave-outbound"/></div><div> <!--/// account password *required* ///--></div>
<div> <param name="password" value="2F@ce"/></div><div> <!--/// extension for inbound calls: *optional* same as username, if blank ///--></div><div> <param name="extension" value="default"/></div>
<div> <!--/// proxy host: *optional* same as realm, if blank ///--></div><div> <param name="proxy" value="<a href="http://outbound1.BatCave.net">outbound1.BatCave.net</a>"/></div>
<div> <!--/// expire in seconds: *optional* 3600, if blank ///--></div><div> <param name="expire-seconds" value="600"/></div><div> <!--/// register: *optional* true, if blank ///--></div>
<div> <param name="register" value="false" /></div><div> </gateway></div><div> </include></div><div><br></div><div><br></div><div> <include></div>
<div> <gateway name="BatCave-inbound"></div><div> <!--/// account username *required* ///--></div><div> <param name="username" value="Joker"/></div>
<div> <!--/// auth realm: *optional* same as gateway name, if blank ///--></div><div> <param name="realm" value="BatCave-inbound"/></div><div> <!--/// account password *required* (do not include allow=all) ///--></div>
<div> <param name="password" value="2F@ce"/></div><div> <!--/// extension for inbound calls: *optional* same as username, if blank ///--></div><div> <param name="extension" value="default"/></div>
<div> <!--/// proxy host: *optional* same as realm, if blank ///--></div><div> <param name="proxy" value="Yup.Not.REAL.Port"/></div><div> <!--/// expire in seconds: *optional* 3600, if blank ///--></div>
<div> <param name="expire-seconds" value="600"/></div><div> <param name="context" value="inbound"/></div><div> <!--/// register: *optional* true, if blank ///--></div>
<div> <param name="register" value="true" /></div><div> </gateway></div><div> </include></div></div><div><br></div><div><div>==========================================</div>
<div></div></div></div><div>/usr/local/freeswitch/conf/directory/GothamCity.xom/1000.xml</div><div> </div><div><div><include></div><div> <user id="1000"></div><div> <params></div><div> <param name="password" value="$${default_password}"/></div>
<div> <param name="vm-password" value="1000"/></div><div> </params></div><div> <variables></div><div> <variable name="toll_allow" value="domestic,international,local"/></div>
<div> <variable name="accountcode" value="1000"/></div><div> <!-- <variable name="user_context" value="default"/>--></div><div> <variable name="effective_caller_id_name" value="Extension 1000"/></div>
<div> <variable name="effective_caller_id_number" value="1000"/></div><div> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/></div><div>
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/></div><div> <variable name="callgroup" value="techsupport"/></div><div> </variables></div>
<div> </user></div><div></include></div></div><div><br></div><div><div><div>==========================================</div><div></div></div></div><div class="gmail_extra"><br><br></div></div>