I did a few small changes to support "virtual" selection of macro files. This allows you to do things like "virtual tts", and, depending on the provisioning, get "tts_theta.mac", "tts_festival.mac", etc, all under the tts:: name. This could also could have been accomplished with symlinks, but that was not portable to all platforms.

Besides tts backends, the place I originally had wanted to use this for is macros for pbx integration. This is especially true for all the different analog key systems, some of which are very odd. So the macro libraries can have pbx macros for doing basic operations on each type of phone system, one can then use the config file to select the one that actually is being used. One can then use a single "virtual pbx" macro and use generic pbx::xxx commands, without having to write or hardcode values and operations specific to each different switch vendor, such as for dialing, hold, and transfer codes. Other special macros, like pbx::answer, would presumably generically deal with switches that have dtmf answer integration, like the vm ports on many common keysystems.
begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
adr:;;;;;;USA
email;internet:[EMAIL PROTECTED]
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard

_______________________________________________
Bayonne-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bayonne-devel

Reply via email to