<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#CCCCCC" text="#000000">
    I am no expert so I could be wrong but:<br>
    <br>
    First your outbound is no registered (NOREG) so that is most likely
    going to prevent outgoing call<br>
    <br>
    Also you refer to default_gateway in your dialplan....what value is
    it set to? Check vars.xmls<br>
    <br>
    I normally use directly the name of my gateway instead of using
    variable (might not be the best way though )<br>
    <br>
    <br>
    <br>
    But you have the <br>
    <div class="moz-cite-prefix">On 13-05-19 11:39 PM, Mike Hendrie
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAFSdFFC35oBRvjDKrJ9FhsrrYZbpcFnZUWbxaHXRxo7wV=4hfQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Thank you for your response. &nbsp;Per your request here
        is the result of the&nbsp;<span
          style="font-family:arial,sans-serif;font-size:13px">sofia
          status command:</span>
        <div><br>
        </div>
        <div>
          <div>freeswitch@internal&gt; sofia status</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Name &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Type &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Data &nbsp; &nbsp; &nbsp;State</div>
          <div>=================================================================================================</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10.1.1.5 &nbsp; &nbsp; &nbsp; &nbsp; alias &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; internal &nbsp; &nbsp; &nbsp;ALIASED</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;internal &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a
              moz-do-not-send="true"
              href="http://sip:mod_sofia@10.1.1.5:5060">sip:mod_sofia@10.1.1.5:5060</a>
            &nbsp; &nbsp; &nbsp;RUNNING (0)</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;external &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a
              moz-do-not-send="true"
              href="http://sip:mod_sofia@10.1.1.5:5080">sip:mod_sofia@10.1.1.5:5080</a>
            &nbsp; &nbsp; &nbsp;RUNNING (0)</div>
          <div>&nbsp; &nbsp; external::<a moz-do-not-send="true"
              href="http://example.com">example.com</a> &nbsp; &nbsp; &nbsp; gateway &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
              href="mailto:sip%3Ajoeuser@example.com">sip:joeuser@example.com</a>
            &nbsp; &nbsp; &nbsp;NOREG</div>
          <div>external::BatCave-inbound &nbsp; &nbsp; &nbsp;gateway &nbsp; &nbsp;
            &nbsp;<a class="moz-txt-link-abbreviated" href="mailto:sip:J0k3R!@BacCave.hole.Xom">sip:J0k3R!@BacCave.hole.Xom</a> &nbsp; &nbsp; &nbsp;REGED</div>
          <div>external::BatCat-outbound &nbsp; &nbsp; gateway &nbsp; &nbsp;
            &nbsp;<a class="moz-txt-link-abbreviated" href="mailto:sip:J0k3R!@BacCave.hole.Xom">sip:J0k3R!@BacCave.hole.Xom</a>&nbsp;&nbsp; &nbsp; &nbsp;NOREG</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GothamCity.xom &nbsp; &nbsp; &nbsp; &nbsp; alias &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; internal &nbsp; &nbsp; &nbsp;ALIASED</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; internal-ipv6 &nbsp; &nbsp; &nbsp; profile &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            sip:mod_sofia@[::1]:5060 &nbsp; &nbsp; &nbsp;RUNNING (0)</div>
          <div>=================================================================================================</div>
          <div>3 profiles 2 aliases</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>==========================================<br>
        </div>
        <div style="">/usr/local/freeswitch/conf/dialplan/default/GothamCity.xom.xml<br>
        </div>
        <div style=""><br>
        </div>
        <div style="">
          <div>&lt;!-- <a moz-do-not-send="true"
              href="http://wiki.freeswitch.org/wiki/Dialplan_XML">http://wiki.freeswitch.org/wiki/Dialplan_XML</a>
            --&gt;</div>
          <div>&lt;include&gt;</div>
          <div>&nbsp; &lt;context name="GothamCity.xom"&gt;</div>
          <div>&nbsp; &nbsp;&lt;extension name="vitel-inbound"&gt;</div>
          <div>&nbsp; &nbsp; &nbsp;&lt;condition field="destination_number"
            expression=""&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;action application="transfer" data="1000 XML
            default"/&gt;</div>
          <div>&nbsp; &nbsp; &nbsp;&lt;/condition&gt;</div>
          <div>&nbsp; &nbsp; &lt;/extension&gt;</div>
          <div>==========================================</div>
          <div>
            <div style=""><br>
            </div>
            <div style="">
              <div>&nbsp;/usr/local/freeswitch/conf/dialplan/default/GothamCity.xom.xml</div>
              <div><br>
              </div>
            </div>
            <div>&lt;include&gt;</div>
            <div><br>
            </div>
            <div>&nbsp; &lt;extension name="<a moz-do-not-send="true"
                href="http://local.example.com">local.example.com</a>"&gt;</div>
            <div>&nbsp; &nbsp; &lt;condition field="${toll_allow}"
              expression="local"/&gt;</div>
            <div>&nbsp; &nbsp; &lt;condition field="destination_number"
              expression="^(\d{7})$"&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="set"
              data="effective_caller_id_number=${outbound_caller_id_number}"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="set"
              data="effective_caller_id_name=${outbound_caller_id_name}"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="bridge"
              data="sofia/gateway/${default_gateway}/1${default_areacode}$1"/&gt;</div>
            <div>&nbsp; &nbsp; &lt;/condition&gt;</div>
            <div>&nbsp; &lt;/extension&gt;</div>
            <div><br>
            </div>
            <div>&nbsp; &lt;extension name="<a moz-do-not-send="true"
                href="http://domestic.example.com">domestic.example.com</a>"&gt;</div>
            <div>&nbsp; &nbsp; &lt;condition field="${toll_allow}"
              expression="domestic"/&gt;</div>
            <div>&nbsp; &nbsp; &lt;condition field="destination_number"
              expression="^(\d{11})$"&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="set"
              data="effective_caller_id_number=${outbound_caller_id_number}"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="set"
              data="effective_caller_id_name=${outbound_caller_id_name}"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="bridge"
              data="sofia/gateway/${default_gateway}/$1"/&gt;</div>
            <div>&nbsp; &nbsp; &lt;/condition&gt;</div>
            <div>&nbsp; &lt;/extension&gt;</div>
            <div><br>
            </div>
            <div>&nbsp; &lt;extension name="<a moz-do-not-send="true"
                href="http://international.example.com">international.example.com</a>"&gt;</div>
            <div>&nbsp; &nbsp; &lt;condition field="${toll_allow}"
              expression="international"/&gt;</div>
            <div>&nbsp; &nbsp; &lt;condition field="destination_number"
              expression="^(011\d+)$"&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="set"
              data="effective_caller_id_number=${outbound_caller_id_number}"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="set"
              data="effective_caller_id_name=${outbound_caller_id_name}"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &lt;action application="bridge"
              data="sofia/gateway/${default_gateway}/$1"/&gt;</div>
            <div>&nbsp; &nbsp; &lt;/condition&gt;</div>
            <div>&nbsp; &lt;/extension&gt;</div>
            <div><br>
            </div>
            <div>&lt;/include&gt;</div>
          </div>
          <div>
            <div><br>
            </div>
            <div>==========================================</div>
          </div>
          <div>/usr/local/freeswitch/conf/sip_profiles/external/vitelity.xml<br>
          </div>
          <div><br>
          </div>
          <div>
            <div>&lt;include&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;gateway name="BatCave-outbound"&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// account username *required*
              ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="username" value="Joker"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// auth realm: *optional* same as
              gateway name, if blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="realm"
              value="BatCave-outbound"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// account password *required*
              ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="password" value="2F@ce"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// extension for inbound calls:
              *optional* same as username, if blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="extension"
              value="default"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// proxy host: *optional* same as
              realm, if blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="proxy" value="<a
                moz-do-not-send="true"
                href="http://outbound1.BatCave.net">outbound1.BatCave.net</a>"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// expire in seconds: *optional*
              3600, if blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="expire-seconds"
              value="600"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// register: *optional* true, if
              blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="register" value="false"
              /&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/gateway&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/include&gt;</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;include&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;gateway name="BatCave-inbound"&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// account username *required*
              ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="username" value="Joker"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// auth realm: *optional* same as
              gateway name, if blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="realm"
              value="BatCave-inbound"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// account password *required* (do
              not include allow=all) ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="password" value="2F@ce"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// extension for inbound calls:
              *optional* same as username, if blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="extension"
              value="default"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// proxy host: *optional* same as
              realm, if blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="proxy"
              value="Yup.Not.REAL.Port"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// expire in seconds: *optional*
              3600, if blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="expire-seconds"
              value="600"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="context"
              value="inbound"/&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!--/// register: *optional* true, if
              blank ///--&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name="register" value="true" /&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/gateway&gt;</div>
            <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/include&gt;</div>
          </div>
          <div><br>
          </div>
          <div>
            <div>==========================================</div>
          </div>
        </div>
        <div>/usr/local/freeswitch/conf/directory/GothamCity.xom/1000.xml</div>
        <div>&nbsp;</div>
        <div>
          <div>&lt;include&gt;</div>
          <div>&nbsp; &lt;user id="1000"&gt;</div>
          <div>&nbsp; &nbsp; &lt;params&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &lt;param name="password"
            value="$${default_password}"/&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &lt;param name="vm-password" value="1000"/&gt;</div>
          <div>&nbsp; &nbsp; &lt;/params&gt;</div>
          <div>&nbsp; &nbsp; &lt;variables&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &lt;variable name="toll_allow"
            value="domestic,international,local"/&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &lt;variable name="accountcode" value="1000"/&gt;</div>
          <div>&nbsp; &nbsp; &nbsp;&lt;!-- &lt;variable name="user_context"
            value="default"/&gt;--&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &lt;variable name="effective_caller_id_name"
            value="Extension 1000"/&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &lt;variable name="effective_caller_id_number"
            value="1000"/&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &lt;variable name="outbound_caller_id_name"
            value="$${outbound_caller_name}"/&gt;</div>
          <div>
            &nbsp; &nbsp; &nbsp; &lt;variable name="outbound_caller_id_number"
            value="$${outbound_caller_id}"/&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &lt;variable name="callgroup"
            value="techsupport"/&gt;</div>
          <div>&nbsp; &nbsp; &lt;/variables&gt;</div>
          <div>&nbsp; &lt;/user&gt;</div>
          <div>&lt;/include&gt;</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>
            <div>==========================================</div>
          </div>
        </div>
        <div class="gmail_extra"><br>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>