I am new to Asterisk, and we are looking at it as a solution to allow a virtual office system for several users at once.
The setup would be that each user has their own phone number but all phone numbers go to the same incoming line.
I was looking through the Asterisk documentation and I didn’t see an easy way of doing the following:
Setting up a system whereby the person calling is directed to a different extension or menu based on the number that they dialed, given that there are several numbers that go to the same line.
Does anyone out there know of a fast solution for this using the existing scripts that Asterisk uses or would we end up having to develop a custom module using an API to accomplish this.
Is there a variable in the configuration scripting that corresponds to what number you dialed?
[quote=“benJoseph”]I was looking through the Asterisk documentation and I didn’t see an easy way of doing the following:
Setting up a system whereby the person calling is directed to a different extension or menu based on the number that they dialed, given that there are several numbers that go to the same line.[/quote]
What Asterisk documentation did you read? If you haven’t read this Asterisk: The Future of Telephony, 2nd Edition (click to download) e-book, give it a try.
Don’t need any custom module, a well configured dialplan could be enough, depending mainly on how much you want each virtual pbx isolated from the others; I built a virtual pbx based on Asterisk for live and registered services used by our customers, one virtual pbx per customer and I just setup the dialplan without any custom modules.
Yes it is, EXTEN is the variable you’re looking for, please be sure to read it as one the first priorities of the context where you manage the incoming calls, as this information could be overwritten depending on what the dialplan does.