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. Company C: Context Company_C IVR Company Extensions: 101,102,103,104 etc. Company D: Context Company_D IVR Company D Extensions: 101,102,103,104 etc. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121030/289b7ec6/attachment.htm>
Not possible to have same sip usernames. However you can create custA_user1 ==> 101 custB_user1 ==> 101 In the dialplan context. Mitul On Oct 30, 2012 12:47 PM, "Darin Iv" <adariniv at 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. > > Company C: > Context Company_C > IVR Company > Extensions: 101,102,103,104 etc. > > > Company D: > Context Company_D > IVR Company D > Extensions: 101,102,103,104 etc. > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121030/6d7d5bc1/attachment.htm>
Yes, you can do this. You should point the trunks to the right context and done. Op 30-10-2012 8:15, Darin Iv schreef:> 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. > > Company C: > Context Company_C > IVR Company > Extensions: 101,102,103,104 etc. > > > Company D: > Context Company_D > IVR Company D > Extensions: 101,102,103,104 etc. > > > -- > _____________________________________________________________________ > -- 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121030/7fa0f61b/attachment.htm>
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. On Tue, Oct 30, 2012 at 12:57 PM, Henk Dick <henk at osocoms.com> wrote:> Yes, you can do this. You should point the trunks to the right context > and done. > > Op 30-10-2012 8:15, Darin Iv schreef: > > 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. > > Company C: > Context Company_C > IVR Company > Extensions: 101,102,103,104 etc. > > > Company D: > Context Company_D > IVR Company D > Extensions: 101,102,103,104 etc. > > > -- > _____________________________________________________________________ > -- 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 > > > > -- > _____________________________________________________________________ > -- 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 >-- Bharat Lalcheta -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121030/246a77c3/attachment-0001.htm>
On Tue, Oct 30, 2012 at 12:15 AM, Darin Iv <adariniv at 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 at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121030/cbd49393/attachment.htm>