<br><div class="gmail_quote">On Tue, Oct 30, 2012 at 12:15 AM, Darin Iv <span dir="ltr">&lt;<a href="mailto:adariniv@gmail.com" target="_blank">adariniv@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>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="text-indent:0px;letter-spacing:normal;color:rgb(34,34,34);font:13px arial,sans-serif;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px">Cant we have same extension in different context?</span></div>


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


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

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

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

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

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

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

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

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

<span style="text-indent:0px;letter-spacing:normal;color:rgb(69,69,69);font:12px Arial,Helvetica,sans-serif;text-transform:none;white-space:normal;display:inline!important;float:none;word-spacing:0px">Extensions: 101,102,103,104 etc.<span> </span></span></div>
</blockquote><div><br></div><div>There are multiple ways to do this.  One way is the &quot;Local&quot; dial.  We have done this for companies who are different entities but want to do 3-digit dial.</div><div><br></div><div>
Dial(Local/101@company_a#extensions,25)</div><div><br></div><div>Where we assume you have a context like:</div><div><br></div><div>[company_a#extensions]</div><div><br></div><div>exten =&gt; 101,1,Dial(SIP/company_a.${EXTEN},25)</div>
<div><br></div><div>Another way is to simply do an include for the other company&#39;s extension context.  However that requires that you not duplicate the extension numbers between the contexts/companies.</div><div><br></div>
<div><br></div></div>-- <br><div>Carlos Alvarez</div><div>TelEvolve</div><div>602-889-3003</div><div><br></div><br>