<div>Its depends on your incoming trunks. You can define different context to different trunks and your DID/extension will be called as per dialplan in that parituclar context of trunk.</div><div><br><br> </div><div class="gmail_quote">
On Tue, Oct 30, 2012 at 12:57 PM, Henk Dick <span dir="ltr">&lt;<a href="mailto:henk@osocoms.com" target="_blank">henk@osocoms.com</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Yes, you can do this.  You should point
      the trunks to the right context and done.<br>
      <br>
      Op 30-10-2012 8:15, Darin Iv schreef:<br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div>Hi all,</div>
      <div> </div>
      <div>I need to configure DIDs for different companies and they
        should reach on different extension with different context. <span style="font:13px/normal arial,sans-serif;color:rgb(34,34,34);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Cant
          we have same extension in different context?</span></div>
      <div><span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal"></span> </div>

      <div><span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">This
          is what we we want</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Company
          A:<span> </span></span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Context
          Company_A</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">IVR
          Company A</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Extensions:
          101,102,103,104 etc.<span> </span></span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Company
          B:</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Context
          Company_B</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">IVR
          Company B</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Extensions:
          101,102,103,104 etc.<span> </span></span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Company
          C:</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Context
          Company_C</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">IVR
          Company<span> </span></span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Extensions:
          101,102,103,104 etc.<span> </span></span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Company
          D:</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Context
          Company_D</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">IVR
          Company D</span><br style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;font-size-adjust:none;font-stretch:normal">

        <span style="font:12px/normal Arial,Helvetica,sans-serif;color:rgb(69,69,69);text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;float:none;display:inline!important;white-space:normal;font-size-adjust:none;font-stretch:normal">Extensions:
          101,102,103,104 etc.<span> </span></span></div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Bharat Lalcheta<br>