<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><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">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;"><include></div><div style="margin: 0px;"> <!--the domain or ip (the right hand side of the @ in the addr--></div><div style="margin: 0px;"> <domain name="<b><a href="http://company-a.org">company-a.org</a></b>"></div><div style="margin: 0px;"> <params></div><div style="margin: 0px;"> <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/></div><div style="margin: 0px;"> </params></div><div style="margin: 0px; min-height: 13px;"><br></div><div style="margin: 0px;"> <variables></div><div style="margin: 0px;"> <variable name="record_stereo" value="true"/></div><div style="margin: 0px;"> <variable name="default_gateway" value="$${default_provider}"/></div><div style="margin: 0px;"> <variable name="default_areacode" value="$${default_areacode}"/></div><div style="margin: 0px;"> <variable name="transfer_fallback_extension" value="operator"/></div><div style="margin: 0px;"> <variable name="user_context" value="<a href="http://company-a.org">company-a.org</a>"/></div><div style="margin: 0px;"> </variables></div><div style="margin: 0px; min-height: 13px;"><br></div><div style="margin: 0px;"> <groups></div><div style="margin: 0px;"> <group name="<b><a href="http://company-a.org">company-a.org</a></b>"></div><div style="margin: 0px;"> <users></div><div style="margin: 0px;"> <X-PRE-PROCESS cmd="include" data="<b><a href="http://company-a.org/*.xml">company-a.org/*.xml</a></b>"/></div><div style="margin: 0px;"> </users></div><div style="margin: 0px;"> </group></div><div style="margin: 0px; min-height: 13px;"><br></div><div style="margin: 0px;"> </groups></div><div style="margin: 0px; min-height: 13px;"><br></div><div style="margin: 0px;"> </domain></div><div style="margin: 0px;"></include></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">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><!--all inbound reg will look in this domain for the users --></div><div style="margin: 0px; color: rgb(83, 48, 225);"><span style="color: #000000"> </span><!--<param name="force-register-domain" value="$${domain}"/>--></div><div style="margin: 0px; color: rgb(83, 48, 225);"><span style="color: #000000"> </span><!--force the domain in subscriptions to this value --></div><div style="margin: 0px; color: rgb(83, 48, 225);"><span style="color: #000000"> </span><!--<param name="force-subscription-domain" value="$${domain}"/>--></div><div style="margin: 0px; color: rgb(83, 48, 225);"><span style="color: #000000"> </span><!--all inbound reg will stored in the db using this domain --></div><div style="margin: 0px; color: rgb(83, 48, 225);"><span style="color: #000000"> </span><!--<param name="force-register-db-domain" value="$${domain}"/>--></div></div><div><br></div></div><div>5-In zoiper client I use 1000@<b><a href="http://company-a.org">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 <<a href="mailto:ssinyagin@gmail.com" style="color: rgb(149, 79, 114);">ssinyagin@gmail.com</a>><br></div><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><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><div style="margin: 0px;"><span style="color: rgb(127, 127, 127);"><b>To: </b></span>FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: rgb(149, 79, 114);">freeswitch-users@lists.freeswitch.org</a>><br></div><div style="margin: 0px;"><span style="color: rgb(127, 127, 127);"><b>Reply-To: </b></span>FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" style="color: rgb(149, 79, 114);">freeswitch-users@lists.freeswitch.org</a>><br></div><br><br><p dir="ltr">Have you read the freeswitch book? It gives answers to most questions.<br>Also you haven'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, "Ahmed habiba" <<a href="mailto:ahabiba@gmail.com" style="color: rgb(149, 79, 114);">ahabiba@gmail.com</a>> 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; position: static; z-index: auto;"><p dir="ltr">What would be the extra value of FusionPBX if I'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 <<a href="mailto:luis.daniel.lucio@gmail.com" target="_blank" style="color: rgb(149, 79, 114);">luis.daniel.lucio@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" style="color: rgb(149, 79, 114);">freeswitch-users@lists.freeswitch.org</a>><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, "Ahmed Habiba" <<a href="mailto:ahabiba@gmail.com" target="_blank" style="color: rgb(149, 79, 114);">ahabiba@gmail.com</a>> 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 "<a href="https://wiki.freeswitch.org/wiki/Multiple_Companies" target="_blank" style="color: rgb(149, 79, 114);">https://wiki.freeswitch.org/wiki/Multiple_Companies</a>” with consideration that my network scenario is as below:</p><p dir="ltr">[FreeSWITCH(real IP)]<———>[Internet]<———>[NAT]<———>[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></body></html>