<div class="im" style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">I am attempting to send this again.  The mail processor is interpreting the Asterisk commands in my message as mail processor command and bouncing the message.  That&#39;s why where is junk before many of the lines below.</div>
<div class="im" style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div class="im" style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
On Tue, Oct 30, 2012 at 12:15 AM, Darin Iv <span dir="ltr">&lt;<a href="mailto:adariniv@gmail.com" target="_blank" style="color:rgb(17,85,204)">adariniv@gmail.com</a>&gt;</span> wrote:<br><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">
<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="color:rgb(34,34,34)">Cant we have same extension in different context?</span></div>
<div><span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif"></span> </div><div><span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">This is what we we want</span><br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">Company A: </span><br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">Context Company_A</span><br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">IVR Company A</span><br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">Extensions: 101,102,103,104 etc. </span><br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">
<br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">Company B:</span><br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">Context Company_B</span><br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif"><span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">IVR Company B</span><br style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">
<span style="color:rgb(69,69,69);font-size:12px;font-family:Arial,Helvetica,sans-serif">Extensions: 101,102,103,104 etc. </span></div></blockquote><div><br></div></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
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 style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">...  Dial(Local/101@company_a#extensions,25)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Where we assume you have a context like:</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">...  [company_a#extensions]</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">...  exten =&gt; 101,1,Dial(SIP/company_a.${EXTEN},25)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">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 style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div>