<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Ryan,<br>
    <br>
    I see this:<br>
    <br>
    2011-12-19 12:28:30.388149 [DEBUG] sofia.c:1736 Launching worker
    thread for external<br>
    2011-12-19 12:28:30.388202 [ERR] sofia.c:2490 ERROR: password param
    is REQUIRED!<br>
    <br>
    This could actually be from your "example.com" gateway, it is indeed
    an error relating to gateway defs.<br>
    <br>
    I suggest you delete that gateway or move it to example.com.noload
    (or the like). It could be stopping your proper gateway from
    loading. I'm sure you don't need it anyway.<br>
    <br>
    Also check, if you've edited your external.xml file that you haven't
    got messed up tags before the include of external/*.xml.<br>
    <br>
    Cheers<br>
    <br>
    Alex<br>
    <br>
    On 19/12/11 20:38, Ryan Watkins wrote:
    <blockquote
cite="mid:44E5C0A9D48A3246966A4AE04692014D102AA5E4@CH1PRD0604MB109.namprd06.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Here&#8217;s
            the log file&#8230; thanks again Alex and all<o:p></o:p></span></p>
        <p class="MsoNormal"><a moz-do-not-send="true"
            name="_MailEndCompose"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></a></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                Alex Crow [<a class="moz-txt-link-freetext" href="mailto:acrow@integrafin.co.uk">mailto:acrow@integrafin.co.uk</a>]
                <br>
                <b>Sent:</b> Monday, December 19, 2011 11:22 AM<br>
                <b>To:</b> FreeSWITCH Users Help<br>
                <b>Cc:</b> Ryan Watkins<br>
                <b>Subject:</b> Re: [Freeswitch-users] Issue adding a
                SIP Gateway<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal">OK, <br>
          <br>
          As long as those "funny quotes" in your last post aren't
          present in your XML file I can't see what is the problem. I
          had an issue copying dialplans from the web with these, had to
          go through and change them all by hand.<br>
          <br>
          If you shut down freeswitch, clear your logfile, and start it
          again, can you post the contents of
          /opt/freeswitch/log/freeswitch.log to the list (or to pastebin
          etc and link here).<br>
          <br>
          There must be something in the logs.<br>
          <br>
          BTW you should not need to change things in /usr/src/*, once
          you've installed that doesn't make any difference.<br>
          <br>
          Cheers<br>
          <br>
          Alex<br>
          <br>
          On 19/12/11 18:36, Ryan Watkins wrote: <o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks
            for the reply Alex,</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
            followed the example in the FreeSWITCH 1.0.6 book for iptel,
            which is as follows:</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&lt;include&gt;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;
            &lt;gateway name=&#8221;iptel&#8221;&gt;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;
            &lt;param name=&#8221;username&#8221; value=&#8221;username&#8221;/&gt; (yes, I
            supplied my iptel username in this line)</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;
            &lt;param name=&#8221;password&#8221; value=&#8221;password&#8221;/&gt; (again, I
            supplied my iptel password on this line)</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;
            &lt;param name=&#8221;realm&#8221; value=&#8221;iptel.org&#8221;/&gt;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;
            &lt;!--iptel.org requires a &#8216;proxy&#8217; parameter --&gt;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;
            &lt;param name=&#8221;proxy&#8221; value=&#8221;sip.iptel.org&#8221;/&gt;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;
            &lt;/gateway&gt;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&lt;/include&gt;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;ve
            checked the file permissions and changed them so that all
            users have rwx for the iptel.org.xml file; as well as every
            folder up to /external for both /usr/src/freeswitch and the
            /opt/freeswitch paths</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;ve
            also changed the iptel.org.xml files in those paths to the
            example that you linked from the wiki</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">However,
            I&#8217;m still getting the same result&#8230;. Any other suggestions?</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks
            again!
          </span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">
                Alex Crow [<a moz-do-not-send="true"
                  href="mailto:acrow@integrafin.co.uk">mailto:acrow@integrafin.co.uk</a>]
                <br>
                <b>Sent:</b> Sunday, December 18, 2011 2:09 AM<br>
                <b>To:</b> FreeSWITCH Users Help<br>
                <b>Cc:</b> Ryan Watkins<br>
                <b>Subject:</b> Re: [Freeswitch-users] Issue adding a
                SIP Gateway</span><o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        <p class="MsoNormal">On 16/12/11 01:05, Ryan Watkins wrote: <o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">I
            did run the&#8221; sofia profile external restart reloadxml&#8221;
            command&#8230;. It didn&#8217;t load the new gateway, so that&#8217;s why I
            tried registering the gateway specifically.
          </span><o:p></o:p></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
        <p class="MsoNormal">&nbsp;<o:p></o:p></p>
        <p class="MsoNormal"><b><br>
          </b>Ryan,<b><br>
            <br>
          </b>Did you follow this example: <a moz-do-not-send="true"
            href="http://wiki.freeswitch.org/wiki/Provider_Configuration:_iptel">
http://wiki.freeswitch.org/wiki/Provider_Configuration:_iptel</a> and
          replace the usename and password with your own?<br>
          <br>
          Check that the permissions on the new XML file allow it to be
          read by the user freeswitch is running as.<br>
          <br>
          Also double-check your closing tags on the file. This can
          cause your gateway to be skipped, hence the "invalid gateway"
          when you try to use it.<br>
          <br>
          Cheers<br>
          <br>
          Alex<br>
          <br>
          <br>
          <o:p></o:p></p>
        <pre>-- <o:p></o:p></pre>
        <pre>This message is intended only for the addressee and may contain <o:p></o:p></pre>
        <pre>confidential information.&nbsp; Unless you are that person, you may not <o:p></o:p></pre>
        <pre>disclose its contents or use it in any way and are requested to delete <o:p></o:p></pre>
        <pre>the message along with any attachments and notify us immediately. <o:p></o:p></pre>
        <pre>&nbsp;<o:p></o:p></pre>
        <pre>"Transact" is operated by Integrated Financial Arrangements plc <o:p></o:p></pre>
        <pre>Domain House, 5-7 Singer Street, London&nbsp; EC2A 4BQ <o:p></o:p></pre>
        <pre>Tel: (020) 7608 4900 Fax: (020) 7608 5300<o:p></o:p></pre>
        <pre>(Registered office: as above; Registered in England and Wales under number: 3727592) <o:p></o:p></pre>
        <pre>Authorised and regulated by the Financial Services Authority (entered on the FSA Register; number: 190856)<o:p></o:p></pre>
        <p class="MsoNormal"><br>
          -- <br>
          This message has been scanned for viruses and <br>
          dangerous content by <a moz-do-not-send="true"
            href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
          and is
          <br>
          believed to be clean. <br>
          <br>
          <br>
          <o:p></o:p></p>
        <pre>_________________________________________________________________________<o:p></o:p></pre>
        <pre>Professional FreeSWITCH Consulting Services:<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.cudatel.com">http://www.cudatel.com</a><o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>Official FreeSWITCH Sites<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><o:p></o:p></pre>
        <pre><o:p>&nbsp;</o:p></pre>
        <pre>FreeSWITCH-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><o:p></o:p></pre>
        <pre>UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><o:p></o:p></pre>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
      </div>
      <br>
      -- <br>
      This message has been scanned for viruses and
      <br>
      dangerous content by
      <a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
      and is
      <br>
      believed to be clean.
    </blockquote>
    <br>
  </body>
</html>