bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] Virtual macro files, what are they, and how they fit int


From: David Sugar
Subject: [Bayonne-devel] Virtual macro files, what are they, and how they fit into the bayonne application library
Date: Mon, 08 Aug 2005 21:21:33 -0400
User-agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711)

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.

Attachment: dyfet.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]