This is an old revision of the document!
Howto OnAirPhone
get the source:
git clone git://rc5.de/OnAirPhone.git
First you have to call "make" so that all the python resource and ui files are built. In the git tree there is a subdir called "yate" which has a sample config "studio1.conf" and the yateconnector.tcl.
IMHO you can just run the yateconnector.tcl on the machine where yate is running. The yateconnector should connect to the yate port 5039 which may be enabled in the yate configfile (extmodule.conf). If you have a connection to yate it should give you some output like this:
debian:~/OnAirPhone/yate$ ./yateconnector.tcl Yate OAP Server 0.1 * reading config - Service Name: Test Radio - Phone Lines: 6 - Handled Number: 111 "Local Call" - Handled Number: 628 "Studio Hotline" - Line Mode: numeric - Device: 100 OnAir Console - Device: 101 Studio 1 - Device: 102 Screener 1 - Device: 105 Test Client * ready
Then you have to start the com_server.py on a machine and configure it to connect to the yateconnector's IP. The com_server.py reads it's config directly from the yateconnector.tcl.
So the basic idea is: yate ↔ yateconnector.tcl ↔ com_server.py ↔ multiple instances of oapscreener.py on multiple PCs
I will also add yate regexroute.conf config snippets so you know how to setup the 'incoming' "Handled Numbers" in yate.