Creating private extensions - possible?


I have an * box that routes calls for 3 different companies.

However, two of the companies want the SAME extension number (i.e. both companies want their reception desk to be ext 100)

Ideally what I want is to be able to group SIP devices into their own dialplans.

i.e I can have the following sip devices:-




whereas the company A sip devices can only call extensions within a “company_a” context within the dialplan? likewise with company_b

is this at present possible and if so how do you do it?

I’m not very good at explaining things, so i hope i have not just totally confused everyone!

Yes, it’s possible. It’s a standard sort of configuration really. However, there’s no point just telling you how to do it, because if you don’t know how to do such a basic thing, you don’t know enough about Asterisk to be able to administer the system anyway. So you’re going to have to do some reading and find out for yourself along the way.

Start with … +Telephony

And read through the masses of docs at

thanks for the info.

there are however more tactful ways of saying im still a newbie!

Well, yeah, maybe. However, i think it’s best to be blunt with things like this - after all, i don’t know what you’re getting yourself into. I wouldn’t like to see you set up a pbx that is crucial to some company and have the whole thing disintegrate around your ears and lose the company lots of money (or, perhaps, three companies in this case) - and you get the blame. All because you didn’t realise you didn’t know enough to be doing what you were trying to do.

Anyway, there’s nothing wrong with being a newbie - none of us were born knowing this stuff! :wink: