<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Read the top part of kamailio.cfg (provided you are running 4.2 or
    some other recent stable series) -- you should see there some notes
    about enabling multi-domain.<br>
    <br>
    Should be like definining:<br>
    <br>
    #!define WITH_MULTIDOMAIN<br>
    <br>
    On more specific, see the parameters exported by modules and set
    use_domain to 1.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 21/12/14 20:05, Kalala Alexander
      wrote:<br>
    </div>
    <blockquote cite="mid:3074371419188703@web23o.yandex.ru" type="cite">
      <div>Yes it is...</div>
      <div><a moz-do-not-send="true"
href="http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc">http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc</a></div>
      <div> </div>
      <div>route[LOCATION] {<br>
        <br>
        #!ifdef WITH_ALIASDB<br>
        # search in DB-based aliases<br>
        alias_db_lookup("dbaliases");<br>
        #!endif<br>
        <br>
        if (!lookup("location")) {<br>
        switch ($rc) {<br>
        case -1:<br>
        case -3:<br>
        t_newtran();<br>
        t_reply("404", "Not Found");<br>
        exit;<br>
        case -2:<br>
        sl_send_reply("405", "Method Not Allowed");<br>
        exit;<br>
        }<br>
        }</div>
      <div> </div>
      <div>How to check the Multi-tenant?</div>
      <div> </div>
      <div>21.12.2014, 21:46, "Salman Zafar"
        <a class="moz-txt-link-rfc2396E" href="mailto:msalman212@gmail.com"><msalman212@gmail.com></a>:</div>
      <blockquote type="cite">
        <div>Hi,
          <div> </div>
          <div>Make sure you have logic before location lookup that
            distinguishes the multi domains and looks up with the
            caller's domain, and ofcourse you have to have multi-domain
            enabled.</div>
        </div>
        <div><br>
          <div>On Sun, Dec 21, 2014 at 11:43 PM, Kalala Alexander <span><<a
                moz-do-not-send="true" href="mailto:klistrod@yandex.ru"
                target="_blank">klistrod@yandex.ru</a>></span> wrote:<br>
            <blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc
              solid;padding-left:1ex;">
              <div>Hi,</div>
              <div> </div>
              <div>Tried to make multitent authorization by Radius, for
                instructions:<br>
                <a moz-do-not-send="true"
href="http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc"
                  target="_blank">http://kb.asipto.com/freeswitch:kamailio-3.1.x-freeswitch-1.0.6d-sbc</a></div>
              <div><br>
                But when calling subscriber <a moz-do-not-send="true"
                  href="mailto:201@domain1.com" target="_blank">201@domain1.com</a>,
                Kamailio calls to all subscribers: <a
                  moz-do-not-send="true" href="mailto:201@domain1.com"
                  target="_blank">201@domain1.com</a> and <a
                  moz-do-not-send="true" href="mailto:201@domain2.com"
                  target="_blank">201@domain2.com</a> and <a
                  moz-do-not-send="true" href="mailto:201@domain3.com"
                  target="_blank">201@domain3.com</a><br>
                <br>
                FreeSwitch the call to only one subscriber.<br>
                <br>
                What can I change?</div>
              <div> </div>
              <div><em>-- <br>
                  С уважением</em></div>
              <div><em>Инженер по телекоммуникациям </em></div>
              <div><em>Калала Александр </em></div>
              <div><em>vel: <span>375291146285</span></em></div>
              <div><em>life: <span>375256819996</span></em><em><br>
                </em></div>
              <div><em>skype: klistrod<br>
                </em></div>
              <div><em> </em></div>
              <div><em>VoIP Network Engineer<br>
                  dCAP, CCNAVoice<br>
                  Kalala Alexander</em></div>
              <div><a moz-do-not-send="true"
                  href="http://callcenters.by/" target="_blank">http://callcenters.by/</a>
                <em></em></div>
              <div><a moz-do-not-send="true" href="http://skytel.by/"
                  target="_blank">http://skytel.by/</a></div>
              <div><a moz-do-not-send="true" href="http://voiplab.by/"
                  target="_blank">http://voiplab.by/</a></div>
              <div><a moz-do-not-send="true"
                  href="http://asterisk-pbx.by/" target="_blank">http://asterisk-pbx.by/</a></div>
              <div> </div>
              <div><img moz-do-not-send="true"
                  src="http://skytel.by/images/overview/logo.png"></div>
              <div> </div>
              <div> </div>
              <div> </div>
              <div> </div>
              <div> </div>
              <br>
              _______________________________________________<br>
              SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
              mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            </blockquote>
          </div>
          <br>
          <br>
          <div> </div>
          -- <br>
          <div>
            <div><font face="'times new roman', serif">Regards</font>
              <div><font face="'times new roman', serif"><br>
                </font>
                <div><font face="'times new roman', serif">M. Salman
                    Zafar<br>
                    VoIP Professional<br>
                  </font></div>
              </div>
            </div>
          </div>
        </div>
        ,
        <p>_______________________________________________<br>
          SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
          mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></p>
      </blockquote>
      <div> </div>
      <div> </div>
      <div><em>-- <br>
          С уважением</em></div>
      <div><em>Инженер по телекоммуникациям </em></div>
      <div><em>Калала Александр </em></div>
      <div><em>vel: 375291146285</em></div>
      <div><em>life: 375256819996</em><em><br>
        </em></div>
      <div><em>skype: klistrod<br>
        </em></div>
      <div><em> </em></div>
      <div><em>VoIP Network Engineer<br>
          dCAP, CCNAVoice<br>
          Kalala Alexander</em></div>
      <div><a moz-do-not-send="true" href="http://callcenters.by/">http://callcenters.by/</a>
        <em></em></div>
      <div><a moz-do-not-send="true" href="http://skytel.by/">http://skytel.by/</a></div>
      <div><a moz-do-not-send="true" href="http://voiplab.by/">http://voiplab.by/</a></div>
      <div><a moz-do-not-send="true" href="http://asterisk-pbx.by/">http://asterisk-pbx.by/</a></div>
      <div> </div>
      <div><img moz-do-not-send="true"
          src="http://skytel.by/images/overview/logo.png"></div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>