onairphone
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
onairphone [24.04.2013 09:27] – angelegt admin | onairphone [09.04.2021 12:07] (current) – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====Howto OnAirPhone==== | + | ====HowTo OnAirPhone==== |
+ | |||
+ | <WRAP center round todo 100%> | ||
+ | This software is early alpha and has known [[OnAirPhone Issues|Issues]] \\ | ||
+ | Moreover, it is currently not being actively developed due to lack of time. | ||
+ | </ | ||
+ | |||
+ | {{ : | ||
get the source: | get the source: | ||
+ | git clone git:// | ||
- | git clone git://rc5.de/ | + | install some packages: (list may be incomplete) |
+ | * python | ||
+ | * python-qt4 | ||
+ | * pyqt4-dev-tools | ||
+ | * yate | ||
+ | * yateadmin | ||
+ | * tcl8.5 (or similar) | ||
+ | * tcllib | ||
+ | * blink (sip softphone client) | ||
- | First you have to call " | + | First you have to call " |
- | but that's only needed once in a while when you make changes to the qt-resource or ui files. | + | In the git tree there is a subdir called " |
- | The makefile uses the tool " | + | |
- | In the git tree there is a subdir called " | + | |
- | 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). | + | You may 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: | If you have a connection to yate it should give you some output like this: | ||
< | < | ||
- | debian: | + | debian: |
Yate OAP Server 0.1 | Yate OAP Server 0.1 | ||
* reading config | * reading config | ||
Line 21: | Line 35: | ||
- Handled Number: | - Handled Number: | ||
- Handled Number: | - Handled Number: | ||
- | - Line Mode: | ||
- Device: | - Device: | ||
- Device: | - Device: | ||
Line 29: | Line 42: | ||
</ | </ | ||
- | Then you have to start the com_server.py on a machine | + | {{ : |
- | com_server.py reads it's config directly from the yateconnector.tcl. | + | Then you have to start the com_server.py on a machine |
+ | The com_server.py reads it's config directly from the yateconnector.tcl. | ||
So the basic idea is: | So the basic idea is: | ||
- | yate <-> yateconnector.tcl <-> com_server.py <-> multiple instances of oapscreener.py on multiple PCs | ||
- | Hope that get' | + | [yate] <-> [yateconnector.tcl] <-> [com_server.py] <-> [multiple instances of oapscreener.py on multiple PCs] |
- | I will also add yate regexroute.conf config | + | |
+ | ====yate config snippets==== | ||
+ | |||
+ | yate extmodule.conf: | ||
+ | < | ||
+ | [listener tcp] | ||
+ | ; For each socket listener there should be a section starting with the | ||
+ | ; " | ||
+ | ; type: keyword: Type of socket | ||
+ | type=tcp | ||
+ | ; addr: string: IP address to bind the TCP socket to | ||
+ | addr=127.0.0.1 | ||
+ | ; port: int: TCP port to bind to, must be positive | ||
+ | port=5039 | ||
+ | </ | ||
+ | |||
+ | |||
+ | yate regexroute.conf config | ||
+ | < | ||
+ | [default] | ||
+ | ; studio internal | ||
+ | ^628$=park/ | ||
+ | |||
+ | ; studio hotline | ||
+ | ^111$=park/ | ||
+ | |||
+ | ; dialout to fritzbox for every number starting with a 0 | ||
+ | ^0\(.*\)$=sip/ | ||
+ | </ | ||
+ | |||
+ | modules.list (minimum of needed modules) (maybe incomplete) | ||
+ | < | ||
+ | extmodule.yate | ||
+ | msgsniff.yate | ||
+ | tonedetect.yate | ||
+ | rmanager.yate | ||
+ | pbxassist.yate | ||
+ | sipfeatures.yate | ||
+ | register.yate | ||
+ | regfile.yate | ||
+ | park.yate | ||
+ | users.yate | ||
+ | lateroute.yate | ||
+ | regexroute.yate | ||
+ | callgen.yate | ||
+ | moh.yate | ||
+ | callfork.yate | ||
+ | pbx.yate | ||
+ | tonegen.yate | ||
+ | ysipchan.yate | ||
+ | </ | ||
+ | |||
+ | regfile.conf | ||
+ | < | ||
+ | ; some extensions | ||
+ | [100] | ||
+ | password=secret123 | ||
+ | [101] | ||
+ | password=secret123 | ||
+ | [102] | ||
+ | password=secret123 | ||
+ | [105] | ||
+ | password=secret123 | ||
+ | </ |
onairphone.1366795642.txt.gz · Last modified: 24.04.2013 09:27 by admin