On Tue, Oct 30, 2012 at 12:15 AM, Darin Iv <adari...@gmail.com> wrote:
> Hi all, > > I need to configure DIDs for different companies and they should reach on > different extension with different context. Cant we have same extension > in different context? > > This is what we we want > Company A: > Context Company_A > IVR Company A > Extensions: 101,102,103,104 etc. > > Company B: > Context Company_B > IVR Company B > Extensions: 101,102,103,104 etc. > There are multiple ways to do this. One way is the "Local" dial. We have done this for companies who are different entities but want to do 3-digit dial. Dial(Local/101@company_a#extensions,25) Where we assume you have a context like: [company_a#extensions] exten => 101,1,Dial(SIP/company_a.${EXTEN},25) Another way is to simply do an include for the other company's extension context. However that requires that you not duplicate the extension numbers between the contexts/companies. -- Carlos Alvarez TelEvolve 602-889-3003
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users