F. Configuration Templates
Configuration files such as sip.conf
, iax.conf
, and so on can have hundreds of entries; such files are difficult to maintain.
Take a typical sip.conf
, for example:
There is another way. Asterisk offers the little-known support for templates! Using a template, our sip.conf
would look like this instead:
This is particularly useful when you have groups or classes of stations with very similar characteristics; that is, in cases where it isn’t possible to put all the common parameters in the [general]
section. Even in this ...
Get Practical Asterisk 1.4 and 1.6: From Beginner to Expert now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.