On Mon, 8 Nov 2004 15:43:10 -0500, Uma S. Pandey <[EMAIL PROTECTED]> wrote: > In Asterisk, Can we have same extension number in different contexts? > For example: > > [Context_company_1] > exten => 200,1,,, > > [context_company_2] > Exten =>200,1,.. > > [context_company_3] > Exten =>200,1,..
Sure you can. You'll need to limit callers abilities based on which company they work for. You could do this by including the contexts of the companies. For instance, lets say you have a phone in sip.conf defined. The context=basic-comp1 [basic-comp1] include => voicemail include => context_company_1 This will only allow the caller to match to extension 200 in company 1 and access to voicemail. More information about extensions.conf can be found at http://www.voip-info.org (the wiki), http://www.asteriskdocs.org (chapter 5) and http://www.google.com. HTH, Leif Madsen. http://www.asteriskdocs.org _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
