Robert Rozman
2004-Dec-11 19:32 UTC
[Asterisk-Users] Many similar contexts - can I use Macro or some other template concept ?
Hi, I'd like to make small 20 users setup with BTs. I'd like each of them to have its own context (for recording prompts, conference, ...). For them to have same extensions I should put them in separate contexts and let BT call them offhook. But these contexts are pretty similar (for instance dial to conference on 5 goes to different conf. number for each user, ...) How could I describe those contexts with some sort of template (macro probably cannot do that - but as newbie I could be wrong...) ? Are there any other ways of context templates filled with data in dialplan ? Thanks in advance, regards, Rob.
Wilson Pickett
2004-Dec-12 12:04 UTC
[Asterisk-Users] Many similar contexts - can I use Macro or some other template concept ?
> Are there any other ways of context templates filled with data in dialplan ?Rob you really should read some of the beginning material to find this stuff out. Here is a great article for the basic concepts (including what macros are for IIRC): http://www.onlamp.com/pub/a/onlamp/2003/07/03/asterisk.html Here is a site with documents that have answers to all the questions you are likely to ask in the next few days: http://asteriskdocs.org Read online or download the latest PDF and read it through a few times. That's why they spent all the time and effort writing, perfecting and putting this online. There are many, many other things you could read to get up to speed on this.