<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Another note, you need to setup the DNS. Use your own domain, not the <a href="http://company-a.org">company-a.org</a>.</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Lloyd</div><div class="gmail_extra"><div><font face="verdana, sans-serif"><div><span style="font-family:arial"><div><font face="verdana, sans-serif" color="#cc6600" size="1"><b><br></b></font></div></span></div></font></div>
<br><div class="gmail_quote">On Sun, Sep 21, 2014 at 9:10 PM, Vik Killa <span dir="ltr">&lt;<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.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 dir="ltr"><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">Ahmed,</b><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><br></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><br></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">You are probably configuring your sip client wrong.</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">Make sure you set the outbound proxy of your SIP client to your FS and the SIP Client&#39;s domain to </b><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><a href="http://company-a.org" target="_blank">company-a.org</a></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><br></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">like:<br>outbound-proxy: 192.168.0.11</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">domain: </b><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><a href="http://company-a.org" target="_blank">company-a.org</a></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">user: 1000 (or </b><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">1000@</b><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><a href="http://company-a.org" target="_blank">company-a.org</a>) </b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">password: 1234</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><br></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">it all depends on your SIP client, what client are you using?</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">Also, i would leave the group name as &#39;default&#39; like below:</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><br></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">2-company-a.org.xml:</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><span class=""><div style="margin:0px">root@:/usr/local/freeswitch/conf/directory# cat company-a.org.xml </div><div style="margin:0px">&lt;include&gt;</div><div style="margin:0px">  &lt;!--the domain or ip (the right hand side of the @ in the addr--&gt;</div><div style="margin:0px">  &lt;domain name=&quot;<b><a href="http://company-a.org/" target="_blank">company-a.org</a></b>&quot;&gt;</div><div style="margin:0px">    &lt;params&gt;</div><div style="margin:0px">      &lt;param name=&quot;dial-string&quot; value=&quot;{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}&quot;/&gt;</div><div style="margin:0px">    &lt;/params&gt;</div><div style="margin:0px;min-height:13px"><br></div><div style="margin:0px">    &lt;variables&gt;</div><div style="margin:0px">      &lt;variable name=&quot;record_stereo&quot; value=&quot;true&quot;/&gt;</div><div style="margin:0px">      &lt;variable name=&quot;default_gateway&quot; value=&quot;$${default_provider}&quot;/&gt;</div><div style="margin:0px">      &lt;variable name=&quot;default_areacode&quot; value=&quot;$${default_areacode}&quot;/&gt;</div><div style="margin:0px">      &lt;variable name=&quot;transfer_fallback_extension&quot; value=&quot;operator&quot;/&gt;</div><div style="margin:0px">      &lt;variable name=&quot;user_context&quot; value=&quot;<a href="http://company-a.org/" target="_blank">company-a.org</a>&quot;/&gt;</div><div style="margin:0px">    &lt;/variables&gt;</div><div style="margin:0px;min-height:13px"><br></div><div style="margin:0px">    &lt;groups&gt;</div></span><div style="margin:0px">&lt;!--      &lt;group name=&quot;<b><a href="http://company-a.org/" target="_blank">company-a.org</a></b>&quot;&gt; --&gt;</div><div style="margin:0px">      &lt;group name=&quot;<b><a href="http://company-a.org/" target="_blank">d</a>efault</b>&quot;&gt;<br></div><span class=""><div style="margin:0px">        &lt;users&gt;</div><div style="margin:0px">          &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;<b><a href="http://company-a.org/*.xml" target="_blank">company-a.org/*.xml</a></b>&quot;/&gt;</div><div style="margin:0px">        &lt;/users&gt;</div><div style="margin:0px">      &lt;/group&gt;</div><div style="margin:0px;min-height:13px"><br></div><div style="margin:0px">    &lt;/groups&gt;</div><div style="margin:0px;min-height:13px"><br></div><div style="margin:0px">  &lt;/domain&gt;</div><div style="margin:0px">&lt;/include&gt;</div><div style="margin:0px"><br></div><div style="margin:0px"><br></div></span><div style="margin:0px">Thanks</div><span class="HOEnZb"><font color="#888888"><div style="margin:0px">/V</div></font></span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Sep 21, 2014 at 5:24 PM, Ahmed Habiba <span dir="ltr">&lt;<a href="mailto:ahabiba@gmail.com" target="_blank">ahabiba@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word"><div style="margin:0px"><b><font color="#7f7f7f">I’ve go </font></b><font color="#7f7f7f"><b>through the book however I was not able to identify the issue, my configuration is as below:</b></font></div><div style="margin:0px"><font color="#7f7f7f"><b><br></b></font></div><div style="margin:0px"><font color="#7f7f7f"><b>1-Directory folder as below:</b></font></div><div style="margin:0px"><font color="#7f7f7f"><b><br></b></font></div><div style="margin:0px"><div style="margin:0px;font-size:11px;font-family:Menlo">root@:/usr/local/freeswitch/conf/directory# ls -ltr</div><div style="margin:0px;font-size:11px;font-family:Menlo">total 16</div><div style="margin:0px;font-size:11px;font-family:Menlo">-rw-r--r-- 1 root root 2925 Aug 27 12:17 default.xml</div><div style="margin:0px;font-size:11px;font-family:Menlo">drwxr-xr-x 2 root root 4096 Sep 19 20:47 <span style="color:#5330e1"><b>default</b></span></div><div style="margin:0px;font-size:11px;font-family:Menlo">-rw-r--r-- 1 root root  835 Sep 20 16:27 company-a.org.xml</div><div style="margin:0px;font-size:11px;font-family:Menlo">drwxr-xr-x 2 root root 4096 Sep 20 16:50 <span style="color:#5330e1"><b><a href="http://company-a.org" target="_blank">company-a.org</a></b></span></div><div style="margin:0px;font-size:11px;font-family:Menlo"><span style="color:#5330e1"><b><br></b></span></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">2-company-a.org.xml:</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><div style="margin:0px">root@:/usr/local/freeswitch/conf/directory# cat company-a.org.xml </div><div style="margin:0px">&lt;include&gt;</div><div style="margin:0px">  &lt;!--the domain or ip (the right hand side of the @ in the addr--&gt;</div><div style="margin:0px">  &lt;domain name=&quot;<b><a href="http://company-a.org" target="_blank">company-a.org</a></b>&quot;&gt;</div><div style="margin:0px">    &lt;params&gt;</div><div style="margin:0px">      &lt;param name=&quot;dial-string&quot; value=&quot;{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}&quot;/&gt;</div><div style="margin:0px">    &lt;/params&gt;</div><div style="margin:0px;min-height:13px"><br></div><div style="margin:0px">    &lt;variables&gt;</div><div style="margin:0px">      &lt;variable name=&quot;record_stereo&quot; value=&quot;true&quot;/&gt;</div><div style="margin:0px">      &lt;variable name=&quot;default_gateway&quot; value=&quot;$${default_provider}&quot;/&gt;</div><div style="margin:0px">      &lt;variable name=&quot;default_areacode&quot; value=&quot;$${default_areacode}&quot;/&gt;</div><div style="margin:0px">      &lt;variable name=&quot;transfer_fallback_extension&quot; value=&quot;operator&quot;/&gt;</div><div style="margin:0px">      &lt;variable name=&quot;user_context&quot; value=&quot;<a href="http://company-a.org" target="_blank">company-a.org</a>&quot;/&gt;</div><div style="margin:0px">    &lt;/variables&gt;</div><div style="margin:0px;min-height:13px"><br></div><div style="margin:0px">    &lt;groups&gt;</div><div style="margin:0px">      &lt;group name=&quot;<b><a href="http://company-a.org" target="_blank">company-a.org</a></b>&quot;&gt;</div><div style="margin:0px">        &lt;users&gt;</div><div style="margin:0px">          &lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;<b><a href="http://company-a.org/*.xml" target="_blank">company-a.org/*.xml</a></b>&quot;/&gt;</div><div style="margin:0px">        &lt;/users&gt;</div><div style="margin:0px">      &lt;/group&gt;</div><div style="margin:0px;min-height:13px"><br></div><div style="margin:0px">    &lt;/groups&gt;</div><div style="margin:0px;min-height:13px"><br></div><div style="margin:0px">  &lt;/domain&gt;</div><div style="margin:0px">&lt;/include&gt;</div><div style="margin:0px"><br></div><div style="margin:0px">3<b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">-company-a.org.xml:</b></div><div style="margin:0px"><div style="margin:0px">root@:/usr/local/freeswitch/conf/directory# ls -l <a href="http://company-a.org" target="_blank">company-a.org</a></div><div style="margin:0px">total 100</div><div style="margin:0px">-rw-r--r-- 1 root root  851 Sep 20 16:50 1000.xml</div><div style="margin:0px">-rw-r--r-- 1 root root  751 Aug 27 12:17 1001.xml</div><div style="margin:0px">-rw-r--r-- 1 root root  751 Aug 27 12:17 1002.xml</div><div style="margin:0px">-rw-r--r-- 1 root root  751 Aug 27 12:17 1003.xml</div><div style="margin:0px">-rw-r--r-- 1 root root  751 Aug 27 12:17 1004.xml</div><div style="margin:0px">-rw-r--r-- 1 root root  751 Aug 27 12:17 1005.xml</div><div style="margin:0px">-rw-r--r-- 1 root root  751 Aug 27 12:17 1006.xml</div><div><br></div><div>4- in internal.xml I commented the below lines:</div><div><div style="margin:0px">root@openerp:/usr/local/freeswitch/conf/sip_profiles# vi internal.xml</div></div><div><br></div><div><div style="margin:0px;color:rgb(83,48,225)"><span style="color:#000000">    </span>&lt;!--all inbound reg will look in this domain for the users --&gt;</div><div style="margin:0px;color:rgb(83,48,225)"><span style="color:#000000">    </span>&lt;!--&lt;param name=&quot;force-register-domain&quot; value=&quot;$${domain}&quot;/&gt;--&gt;</div><div style="margin:0px;color:rgb(83,48,225)"><span style="color:#000000">    </span>&lt;!--force the domain in subscriptions to this value --&gt;</div><div style="margin:0px;color:rgb(83,48,225)"><span style="color:#000000">    </span>&lt;!--&lt;param name=&quot;force-subscription-domain&quot; value=&quot;$${domain}&quot;/&gt;--&gt;</div><div style="margin:0px;color:rgb(83,48,225)"><span style="color:#000000">    </span>&lt;!--all inbound reg will stored in the db using this domain --&gt;</div><div style="margin:0px;color:rgb(83,48,225)"><span style="color:#000000">    </span>&lt;!--&lt;param name=&quot;force-register-db-domain&quot; value=&quot;$${domain}&quot;/&gt;--&gt;</div></div><div><br></div></div><div>5-In zoiper client I use 1000@<b><a href="http://company-a.org" target="_blank">company-a.org</a> as a user name instead of 1000.</b></div><div><b><br></b></div><div><b>and finally I still getting </b>SIP/2.0 403 Forbidden</div></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><br></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">Your help is always appreciated.</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><br></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">Thanks in advance,</b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px"><br></b></div><div style="margin:0px;font-size:11px;font-family:Menlo"><b style="color:rgb(127,127,127);font-family:Helvetica;font-size:12px">Ahmed Habiba.</b></div></div><div style="margin:0px"><span style="color:rgb(127,127,127)"><b><br></b></span></div><div style="margin:0px"><span style="color:rgb(127,127,127)"><b>From: </b></span>Stanislav Sinyagin &lt;<a href="mailto:ssinyagin@gmail.com" style="color:rgb(149,79,114)" target="_blank">ssinyagin@gmail.com</a>&gt;<br></div><span><div style="margin:0px"><span style="color:rgb(127,127,127)"><b>Subject: </b></span><b>Re: [Freeswitch-users] Multi Tenant (Company), User unable to register ( SIP/2.0 403 Forbidden)</b><br></div></span><div style="margin:0px"><span style="color:rgb(127,127,127)"><b>Date: </b></span>September 21, 2014 at 11:37:10 PM GMT+3<br></div><span><div style="margin:0px"><span style="color:rgb(127,127,127)"><b>To: </b></span>FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color:rgb(149,79,114)" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br></div></span><div style="margin:0px"><span style="color:rgb(127,127,127)"><b>Reply-To: </b></span>FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color:rgb(149,79,114)" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br></div><span><br><br><p dir="ltr">Have you read the freeswitch book? It gives answers to most questions.<br>Also you haven&#39;t given a clue how your configuration looks like, so what kind of help do you expect?</p><p dir="ltr">Of course you can easily find someone who can set up your server for money... Although the book is usually enough.<br></p><div class="gmail_quote">On Sep 21, 2014 9:36 PM, &quot;Ahmed habiba&quot; &lt;<a href="mailto:ahabiba@gmail.com" style="color:rgb(149,79,114)" target="_blank">ahabiba@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><p dir="ltr">What would be the extra value of FusionPBX if I&#39;m not able to use the back-end manual configuration.</p><p dir="ltr">Your kind help will be appreciated.</p><p dir="ltr">Thanks,</p><p dir="ltr">Ahmed Habiba. <br>-------------------------------------<br>From: Luis Daniel Lucio Quiroz &lt;<a href="mailto:luis.daniel.lucio@gmail.com" style="color:rgb(149,79,114)" target="_blank">luis.daniel.lucio@gmail.com</a>&gt;<br>To: FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color:rgb(149,79,114)" target="_blank">freeswitch-users@lists.freeswitch.org</a>&gt;<br>Cc: <br>Date: Sat, 20 Sep 2014 18:33:38 -0400<br>Subject: Re: [Freeswitch-users] Multi Tenant (Company), User unable to register ( SIP/2.0 403 Forbidden)<br>Have you consider to use FusionPBX?</p><p dir="ltr">On Sep 20, 2014 5:36 PM, &quot;Ahmed Habiba&quot; &lt;<a href="mailto:ahabiba@gmail.com" style="color:rgb(149,79,114)" target="_blank">ahabiba@gmail.com</a>&gt; wrote:<br>Hello Everybody,</p><p dir="ltr">I’ve been trying to configure FreeSWITCH in multi tenant mode however I always get “403 Forbidden” during user registration, I use the same tutorial on wiki as is with name and paramters &quot;<a href="https://wiki.freeswitch.org/wiki/Multiple_Companies" style="color:rgb(149,79,114)" target="_blank">https://wiki.freeswitch.org/wiki/Multiple_Companies</a>” with consideration that my network scenario is as below:</p><p dir="ltr">[FreeSWITCH(real IP)]&lt;———&gt;[Internet]&lt;———&gt;[NAT]&lt;———&gt;[Client]</p><p dir="ltr">Your kind help will be appreciated.</p><p dir="ltr">Thanks and Best Regards,</p><p dir="ltr">Ahmed Habiba.</p></blockquote></div></span></div><br></div></div><span class="">_________________________________________________________________________<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-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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></span></blockquote></div><br></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-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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></div>