<div dir="ltr">I have Cisco SPA5XX setup in multi-tenant mode. I used the proxy params to accomplish it, that way I did not need a FQDN to resolve. Here is an example from my prov files (192.168.0.100 is IP of FS and &#39;3.local&#39; is made up domain for a tenant)<div><br></div><div><div>&lt;Extension_1_ group=&quot;Phone/Line_Key_1&quot;&gt;1&lt;/Extension_1_&gt;</div><div>&lt;Short_Name_1_ group=&quot;Phone/Line_Key_1&quot;&gt;E. 1000&lt;/Short_Name_1_&gt;</div><div>&lt;Share_Call_Appearance_1_ group=&quot;Phone/Line_Key_1&quot;&gt;private&lt;/Share_Call_Appearance_1_&gt;</div><div>&lt;Share_Ext_1_ group=&quot;Ext_1/Share_Line_Appearance&quot;&gt;private&lt;/Share_Ext_1_&gt;</div><div>&lt;Proxy_1_ group=&quot;Ext_1/Proxy_and_Registration&quot;&gt;3.local&lt;/Proxy_1_&gt;</div><div>&lt;Outbound_Proxy_1_ group=&quot;Ext_1/Proxy_and_Registration&quot;&gt;192.168.0.100&lt;/Outbound_Proxy_1_&gt;</div><div>&lt;Use_Outbound_Proxy_1_ group=&quot;Ext_1/Proxy_and_Registration&quot;&gt;Yes&lt;/Use_Outbound_Proxy_1_&gt;</div><div>&lt;Use_OB_Proxy_In_Dialog_1_ group=&quot;Ext_1/Proxy_and_Registration&quot;&gt;Yes&lt;/Use_OB_Proxy_In_Dialog_1_&gt;</div><div>&lt;User_ID_1_ group=&quot;Ext_1/Subscriber_Information&quot;&gt;1000&lt;/User_ID_1_&gt;</div><div>&lt;Password_1_ group=&quot;Ext_1/Subscriber_Information&quot;&gt;**********&lt;/Password_1_&gt;</div><div>&lt;Use_Anonymous_With_RPID_1_ group=&quot;Ext_1/SIP_Settings&quot;&gt;No&lt;/Use_Anonymous_With_RPID_1_&gt;</div><div>&lt;Dial_Plan_1_ group=&quot;Ext_1/Dial_Plan&quot;&gt;[x*].&lt;/Dial_Plan_1_&gt;</div><div>&lt;Voice_Mail_Server_1_ ua=&quot;na&quot;&gt;1000@3.local&lt;/Voice_Mail_Server_1_&gt;</div><div>&lt;Register_Expires_1_ group=&quot;Ext_1/Proxy_and_Registration&quot;&gt;300&lt;/Register_Expires_1_&gt;</div><div>&lt;Subscription_Expires_1_ group=&quot;Ext_1/Share_Line_Appearance&quot;&gt;300&lt;/Subscription_Expires_1_&gt;</div><div>&lt;Voice_Mail_Subscribe_Interval_1_ group=&quot;Ext_1/Call_Feature_Settings&quot;&gt;300&lt;/Voice_Mail_Subscribe_Interval_1_&gt;</div><div><br></div><div><br><div><br></div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 11:40 AM, Robert Oldham <span dir="ltr">&lt;<a href="mailto:robert@oldhamtechnology.com" target="_blank">robert@oldhamtechnology.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Florent,<br>
      <br>
      I am not sure I understand which logs you mean. Logs from the
      Cisco spa 112, FreeSWITCH, the firewall, or all of the above?<br>
      <div><span class=""><br>
        Thanks,<br>
        Robert Oldham
        <hr align="left" width="40%">
         Oldham Technology<br>
         W: <a href="tel:801-877-2190%20x801" value="+18018772190" target="_blank">801-877-2190 x801</a><br>
         E: <a href="mailto:robert@oldhamtechnology.com" target="_blank">robert@oldhamtechnology.com</a><br>
         <a href="http://www.oldhamtechnology.com" target="_blank">http://www.oldhamtechnology.com</a><br>
        <br>
        <br></span><div><div class="h5">
        On 01/02/2015 12:45 AM, Florent Krieg wrote:<br>
      </div></div></div>
    </div><div><div class="h5">
    <blockquote type="cite">
      <p dir="ltr">Hello,</p>
      <p dir="ltr">What do you see in the logs?<br>
        That might be relevant to understand what it tries to do.</p>
      <p dir="ltr">Florent</p>
      <div class="gmail_quote">Le 2 janv. 2015 08:15, &quot;Robert Oldham&quot;
        &lt;<a href="mailto:robert@oldhamtechnology.com" target="_blank">robert@oldhamtechnology.com</a>&gt;
        a écrit :<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div link="blue" vlink="purple" lang="EN-US">I am registering
            to the FQDN of the domain.<br>
            <br>
            There is a NAT involved. The PBX is not behind NAT. The
            phones are behind NAT on separate network.<br>
            <br>
            Thank you,<br>
            <br>
            Robert Oldham<br>
            Oldham Technology<br>
            Phone: <a href="tel:%28801%29%20877-2190" value="+18018772190" target="_blank">(801) 877-2190</a><br>
            Email: <a href="mailto:robert@oldhamtechnology.com" target="_blank">robert@oldhamtechnology.com</a><br>
            Website: <a href="https://www.oldhamtechnology.com" target="_blank">https://www.oldhamtechnology.com</a><br>
            <br>
            <br>
            <div class="gmail_quote">On January 1, 2015 7:41:45 PM MST,
              Moishe Grunstein &lt;<a href="mailto:max@nysolutions.com" target="_blank">max@nysolutions.com</a>&gt;
              wrote:
              <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                <div>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Are
                      you registering to the FQDN of the domain?</span></p>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d">Is
                      there any NAT involved? PBX behind NAT? phones
                      behind NAT?</span></p>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"></span></p>
                  <p> </p>
                  <p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Thanks,</span></p>
                  <p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399"></span></p>
                  <p> </p>
                  <p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Moishe
                      Grunstein</span></p>
                  <p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Tornado
                      Computer Systems, Inc.</span></p>
                  <p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399"><a href="tel:212.400.7650" value="+12124007650" target="_blank">212.400.7650</a>
                      <a href="http://888.IPPBX.US" target="_blank">888.IPPBX.US</a><br>
                    </span><b><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#76923c">Service
                        Request Email:
                        <a href="mailto:support@nysolutions.com" target="_blank">support@nysolutions.com</a> </span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#333399"></span></p>
                  <p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Polycom
                      Certified VAR<br>
                      Microsoft Small Business Specialist, Cisco SMB
                      Select Certified</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#333399"></span></p>
                  <p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#1f497d;text-decoration:none"><img alt="cid:image001.jpg@01C72F94.9EE45D60" height="68" border="0" width="147"></span></a><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"></span></p>
                  <p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#c0504d">Computer
                      Networking * Managed Services * IP Video
                      Surveillance * Network Assessments * Web Solutions
                      * Voice over IP * Disaster Recovery * Network
                      Security * Site Surveys * CMS</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"></span></p>
                  <p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"></span></p>
                  <p> </p>
                  <p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
                      [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
                      <b>On Behalf Of </b>Robert Oldham<br>
                      <b>Sent:</b> Thursday, January 1, 2015 7:49 PM<br>
                      <b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
                      <b>Subject:</b> [Freeswitch-users] multi-tenant
                      registration for Cisco spa 112</span></p>
                  <p> </p>
                  <p class="MsoNormal">I am a freeswitch noob, so please
                    forgive me if my questions are not coherent with
                    proper concepts. I have made an earnest attempt to
                    find clues to my problem on the wiki and elsewhere,
                    but suspect I am asking the wrong questions.<br>
                    <br>
                    Problem:<br>
                    I cannot get a Cisco spa 112 to register properly.<br>
                    <br>
                    Context:<br>
                    I am trying to put together a proof of concept
                    multi-tenant freeswitch server. After reading the
                    book FreeSWITCH 1.2 by Anthony Minessale, I used the
                    FusionPBX install script to get freeswitch 1.4.14
                    built on a fresh Ubuntu 12.04 install. I configured
                    a domain name to point to the new server. On the
                    server I added the domain in the directory and 3
                    users/extensions along with several sip gateways.
                    The gateways work. One of the extensions has a
                    Grandstream GXP2160 registered successfully, another
                    has a Zoiper soft phone registered successfully.<br>
                    <br>
                    Details:<br>
                    I have tried to configure and get a Cisco SPA 112 to
                    register on the 3rd extension. However, it is
                    failing to register. I have watched the sip trace
                    and packet capture. Both show the same thing: the
                    Cisco SPA sends a sip register request to which
                    sofia responds with a 401 &quot;unauthorized&quot;. Then,
                    instead of sending a sip register with an
                    authorization digest as the other phones do, the
                    Cisco spa 112, sends another generic sip register
                    request, which elicits another 401 &quot;unauthorized&quot;
                    from sofia. This repeats a few times, and then the
                    spa 112 gives up, waits 40 seconds and then does it
                    all over again.<br>
                    <br>
                    I have had this device registered with an asterisk
                    server without trouble. I have reset the device to
                    factory defaults and updated the firmware, all
                    without any change.<br>
                    <br>
                    The domain name is fairly long. Don&#39;t know if that
                    might be a factor.<br>
                    <br>
                    Any clues where I might look next or tests I might
                    try for more information?<br>
                    <br>
                    Thank you,<br>
                    <br>
                    Robert Oldham<br>
                    Oldham Technology<br>
                    Phone: <a href="tel:%28801%29%20877-2190" value="+18018772190" target="_blank">(801)
                      877-2190</a><br>
                    Email: <a href="mailto:robert@oldhamtechnology.com" target="_blank">robert@oldhamtechnology.com</a><br>
                    Website: <a href="https://www.oldhamtechnology.com" target="_blank">https://www.oldhamtechnology.com</a></p>
                </div>
                <pre><hr>
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
              </blockquote>
            </div>
          </div>
          <br>
_________________________________________________________________________<br>
          Professional FreeSWITCH Consulting Services:<br>
          <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
          <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
          <br>
          Official FreeSWITCH Sites<br>
          <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
          <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
          <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
          <br>
          FreeSWITCH-users mailing list<br>
          <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>